Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.10.x] Make format generation idempotent (backport #1047) by @reimai #1052

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jun 17, 2024

Fixes

Code generated by JsMacroImpl is slightly different between compilations, the order of sealed trait's subclasses keeps changing, because they are collected into a Set in directKnownSubclasses method. I've simply changed that to a LinkedHashSet.
We're using bazel as a build tool and it's important for build to produce an exact same file for the same input, otherwise it's dependent targets are re-evaluated.

Purpose

Have better caching in bazel project using play framework.


This is an automatic backport of pull request #1047 done by Mergify.

(cherry picked from commit 27c2a35)
@mergify mergify bot merged commit 34d9b20 into 2.10.x Jun 17, 2024
19 checks passed
@mkurz mkurz deleted the mergify/bp/2.10.x/pr-1047 branch June 17, 2024 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants