-
Notifications
You must be signed in to change notification settings - Fork 27.8k
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
dart sdk roll breaks cocoon via transitive dep uuid_enhanced
#82072
Comments
The validation is complaining about a dependency. We are disabling it to allow the engine rolls to continue. Bug: flutter#82072
Cocoon depends on package |
I'm not sure how customer_testing passed on the engine roll, when I run the unit tests of the pinned cocoon version in the test registry with the dart sdk from the engine roll, the unit tests fail. |
This is the dart commit that causes this failure: https://dart.googlesource.com/sdk.git/+/3e9cdc56440bded76d8078a2567910236ad6f7b9%5E%21/#F1 Breaking change request: dart-lang/sdk#45115 cc @lrhn |
uuid_enhanced
cocoon's graphql dependency is a bit old. It looks like if graphql can be updated to at least /cc @CaseyHillers I'll try to make a PR for cocoon that just bumps the graphql dependency and link it here. |
After some investigation, the versions of |
Marking P1 since the Dart -> Engine roller is paused on this. |
The issue is the backend code isn't tested by customer_tests (which is intentional due to dart:mirrors). This looks like a breaking change, and I've also run into issues with getting the backend project onto I'll refactor the validation suite into a separate Dart project from the backend so it's not impacted by these dependencies and re-enable (fyi @christopherfujino ) |
I'm curious how you would refactor the code to a different dart project. We'd still need the proto-generated dart files, right? Are you thinking of creating a separate dart project that would generate those same dart files? |
@CaseyHillers What is the status of this? Do you need any help? |
We removed the ci_yaml builder to a check in the Cocoon backend. The CI validation is no longer bound to Dart rolls, but we'll need to ensure Cocoon deploys are green. Remaining work to tracking Cocoon being readded to customer_tests is in #82705 |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
The
validate_ci_yaml
test broke on the engine roll #82070 because a transitive dependency (uuid_enhanced
, depended on bygraphql
) extended anUnmodifiableUint8ListView
, which is no longer permitted by https://dart.googlesource.com/sdk.git/+/3e9cdc56440bded76d8078a2567910236ad6f7b9%5E%21/#F1https://ci.chromium.org/p/flutter/builders/try/Linux%20validate_ci_config/1769?
To clarify, the
validate_ci_yaml
script does not requiregraphql
; however, the cocoon service itself DOES, so landing this change would probably would lead to cocoon being unable to build with the latest Flutter. I am not sure why customer_testing did not fail.The text was updated successfully, but these errors were encountered: