-
Notifications
You must be signed in to change notification settings - Fork 655
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
Sort the type names in the list so the code gen is deterministic. #4138
Conversation
👷 Deploy request for apollo-android-docs pending review.Visit the deploys page to approve it
|
Thanks for sending this! Out of curiosity, are you seeing discrepancies only in |
I only looked at |
There's some info in the CONTRIBUTING.md. TLDR; |
The CI failed (expectedly) because the compiler tests output changed. You can update them with But it's still weird that we haven't seen any issue like this in the repo. Is there anything in your CI setup that could explain the instability? Java version, gradle parameters, anything else? |
We're looking if there was a change in CI. Not at my knowledge but we've seen similar issue with Autovalue Gson code gen. |
@martinbonnin should I also update the class |
That'd be nice, if the bug exists with Kotlin codegen there's a high chance it is in the Java codegen too. Also keeps the both codegen symmetrical so 👍 |
@@ -240,6 +240,7 @@ kotlin-responseBased-subscriptions | |||
kotlin-responseBased-enums_as_sealed 340 | |||
kotlin-responseBased-operation_id_generator 325 | |||
kotlin-responseBased-merged_include 323 | |||
kotlin-responseBased-big_query 317 | |||
kotlin-responseBased-enum_field 316 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why this line was added?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 PRs were merged in parallel:
- https://github.com/apollographql/apollo-kotlin/pull/4133/files added a test but did not update measurements (not sure why)
- 🤝 update CONTRIBUTING.md #4132 changed the format of measurements
So in the end 4132 was merged without the new test that you just added. So thank you :)
FWIW, this file is informative only. It's used to keep track of the size of codegen. It's handy to have it commited because it allows to easily bisect if there is a regression but we might as well put it in .gitignore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Fix for #4137