-
Notifications
You must be signed in to change notification settings - Fork 29.2k
[Windows] Allow overwriting the cache's Dart SDK archive license file #132669
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
Conversation
would it be more resilient to future changes if we had a more general way of doing this rather than needing to know the exactly list of files we were expecting? |
packages/flutter_tools/test/integration.shard/batch_entrypoint_test.dart
Outdated
Show resolved
Hide resolved
packages/flutter_tools/test/integration.shard/batch_entrypoint_test.dart
Outdated
Show resolved
Hide resolved
packages/flutter_tools/test/integration.shard/batch_entrypoint_test.dart
Outdated
Show resolved
Hide resolved
Summary of this Discord conversation: This fix is time sensitive as it unblocks the 3.14 beta release. A more robust solution is tracked by #132702. |
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.
LGTM
…flutter#132669) flutter/engine#43974 added a license file to the Dart SDK's ZIP archive. As a result, extracting the Dart SDK now needs to overwrite the cache's `LICENSE.dart_sdk_archive.md` file. This is a short-term solution that will be cherry-picked for the next [3.14 beta release](flutter#132267). Addresses flutter#132592. The long-term solution is tracked by flutter#132702
This is introducing test failures for the windows, linux, and mac |
…nse file" (#132773) Reverts #132669 Introduced failure on `windows/mac/linux framework_library_tests`. ``` 05:41 +7318 ~22 -1: /b/s/w/ir/x/w/flutter/packages/flutter/test/material/menu_bar_theme_test.dart: (tearDownAll) [E] Expected: leak free Actual: <Instance of 'Leaks'> Which: contains leaks: # The text is generated by leak_tracker. # For leak troubleshooting tips open: # https://github.com/dart-lang/leak_tracker/blob/main/doc/TROUBLESHOOT.md notDisposed: total: 3 objects: ValueNotifier<_OverlayEntryWidgetState?>: test: Constructor parameters override theme parameters identityHashCode: 407433615 FocusScopeNode: test: Constructor parameters override theme parameters identityHashCode: 513181650 FocusScopeNode: test: Constructor parameters override theme parameters identityHashCode: 704743556 package:matcher expect package:flutter_test/src/widget_tester.dart 458:18 expect package:leak_tracker_flutter_testing/src/leak_tracking_flutter_testing.dart 81:5 _tearDownTestingWithLeakTracking ===== asynchronous gap =========================== dart:async _CustomZone.registerBinaryCallback package:leak_tracker_flutter_testing/src/leak_tracking_flutter_testing.dart 59:9 configureLeakTrackingTearDown.<fn> ```
…flutter#132669) flutter/engine#43974 added a license file to the Dart SDK's ZIP archive. As a result, extracting the Dart SDK now needs to overwrite the cache's `LICENSE.dart_sdk_archive.md` file. This is a short-term solution that will be cherry-picked for the next [3.14 beta release](flutter#132267). Addresses flutter#132592. The long-term solution is tracked by flutter#132702
flutter/engine#43974 added a license file to the Dart SDK's ZIP archive which gets extracted to
flutter/bin/cache/LICENSE.dart_sdk_archive.md
. As a result, extracting the Dart SDK now needs to update the cache'sLICENSE.dart_sdk_archive.md
file.Windows ZIP extraction does not enable overwriting files. Thus, this change renames the cache's existing Dart SDK license file before extracting the Dart SDK archive.
This is a short-term solution that will be cherry-picked for the next 3.14 beta release. Addresses #132592.
The long-term solution is tracked by #132702
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.