Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Update package:js version constraints to ^0.7.0 and update test versions to match #54629

Merged
merged 4 commits into from
Aug 20, 2024

Conversation

srujzs
Copy link
Contributor

@srujzs srujzs commented Aug 19, 2024

This removes the dependency on dart:js and allows that library to be removed from dart2wasm. Also updates test dependencies to work with the new package:js constraints.

This removes the dependency on dart:js and allows that
library to be removed from dart2wasm.
@github-actions github-actions bot added the platform-web Code specifically for the web engine label Aug 19, 2024
Copy link
Contributor

@eyebrowsoffire eyebrowsoffire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@srujzs srujzs added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 19, 2024
@jason-simmons
Copy link
Member

When I tried this locally I needed some additional updates:

In lib/web_ui/pubspec.yaml:

test: 1.25.8
matcher: 0.12.16+1

In web_sdk/web_engine_tester/pubspec.yaml:

test: 1.25.8

@srujzs srujzs removed the autosubmit Merge PR when tree becomes green via auto submit App label Aug 19, 2024
@srujzs
Copy link
Contributor Author

srujzs commented Aug 19, 2024

Ah, that makes sense, package:test didn't upgrade their js constraints to allow 0.7.0 until 1.25.1: dart-lang/test@fe3102e.

I am little confused on the need to change matcher though. Perhaps due to the dependency override here to use an incompatible test version?

I've added a commit at any rate to include those changes. Thanks for verifying!

@jason-simmons
Copy link
Member

Yes - the new version of matcher is compatible with the test_api version used by the test: 1.25.8

(see dart-archive/matcher@7ea9047)

@srujzs srujzs changed the title Update package:js version constraints to ^0.7.0 Update package:js version constraints to ^0.7.0 and update test/matcher versions to match Aug 19, 2024
@srujzs
Copy link
Contributor Author

srujzs commented Aug 19, 2024

It looks like the PR in #54626 removes the matcher dependency anyways.

@srujzs srujzs changed the title Update package:js version constraints to ^0.7.0 and update test/matcher versions to match Update package:js version constraints to ^0.7.0 and update test versions to match Aug 19, 2024
@srujzs srujzs added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 19, 2024
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Aug 19, 2024
Copy link
Contributor

auto-submit bot commented Aug 19, 2024

auto label is removed for flutter/engine/54629, due to - The status or check suite Linux linux_host_engine has failed. Please fix the issues identified (or deflake) before re-applying this label.

@jason-simmons
Copy link
Member

I think this needs to be rebased in order to pass CI

@srujzs srujzs added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 19, 2024
@auto-submit auto-submit bot merged commit 8b692ff into flutter:main Aug 20, 2024
30 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 20, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Aug 20, 2024
…153741)

flutter/engine@86f269b...20b8a5c

2024-08-20 [email protected] Roll Fuchsia Test Scripts from -XDS8eBA0Le-zCEfW... to 2fOjXGNxdSoRSGCL7... (flutter/engine#54635)
2024-08-20 [email protected] Update package:js version constraints to ^0.7.0 and update test versions to match (flutter/engine#54629)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Buchimi pushed a commit to Buchimi/flutter that referenced this pull request Sep 2, 2024
…lutter#153741)

flutter/engine@86f269b...20b8a5c

2024-08-20 [email protected] Roll Fuchsia Test Scripts from -XDS8eBA0Le-zCEfW... to 2fOjXGNxdSoRSGCL7... (flutter/engine#54635)
2024-08-20 [email protected] Update package:js version constraints to ^0.7.0 and update test versions to match (flutter/engine#54629)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App platform-web Code specifically for the web engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants