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

reproducible builds: TASTY differences #739

Open
raboof opened this issue Jul 9, 2024 · 2 comments
Open

reproducible builds: TASTY differences #739

raboof opened this issue Jul 9, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@raboof
Copy link
Member

raboof commented Jul 9, 2024

Similar to apache/pekko-http#566

  • In pekko-connectors-google-fcm_3-1.1.0-M1-RC1.jar in org/apache/pekko/stream/connectors/google/firebase/fcm/v1/models/FcmOption (begin and and of the .tasty file)
  • In pekko-connectors-huawei-push-kit_3-1.1.0-M1-RC1.jar in org/apache/pekko/stream/connectors/huawei/pushkit/models/Response (begin and and of the .tasty file)
@raboof raboof added the bug Something isn't working label Jul 9, 2024
@raboof raboof self-assigned this Jul 9, 2024
@raboof
Copy link
Member Author

raboof commented Jul 9, 2024

OK, so interestingly FcmOption is really small, so that is a good start for a reproducer.

FcmOption has 3 @Child annotations, one for each class extending FcmOption. It seems when compiling the module after a clean, somehow references to FcmJsonSupport.scala are added to those @Child annotations in the tasty file for FcmOption (but it seems nondeterministic to which of the @Child annotations they're attached). When compiling FcmOption.scala in isolation, however (even from sbt), those references are not added at all.

Filed scala/scala3#21154

@raboof
Copy link
Member Author

raboof commented Jul 25, 2024

(looks like this missed the train for 3.3.4 but will likely be backported to LTS in 3.3.5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant