Skip to content

Conversation

@dcharkes
Copy link
Contributor

@dcharkes dcharkes commented Jan 19, 2024

Fixes #141827

Reland: https://dart-review.googlesource.com/c/sdk/+/346960 has rolled into g3, so the imports should now resolve in g3 as well.

Caution

Do NOT merge if "Google Testing" bot didn't run!

Rolls the packages from https://github.com/dart-lang/native in the native assets implementation.

Most notable we're refactoring package:native_assets_cli for build.dart use.
Therefore, all imports to that package for Flutter/Dart should be to the implementation internals that are no longer visible for build.dart writers. Hence all the import updates.

No behavior in Flutter apps should change.

This PR also updates the template to use the latests version of package:native_assets_cli which no longer exposes all the implementation details.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

@github-actions github-actions bot added platform-ios iOS applications specifically tool Affects the "flutter" command-line tool. See also t: labels. a: desktop Running on desktop labels Jan 19, 2024
@dcharkes
Copy link
Contributor Author

@christopherfujino The "Google Testing" bot again isn't running?

@christopherfujino
Copy link
Contributor

christopherfujino commented Jan 19, 2024

@christopherfujino The "Google Testing" bot again isn't running?

I chatted with Casey about this, and it appears to be broken. I am filing a bug now... b/321251334

@CaseyHillers
Copy link
Contributor

CaseyHillers commented Jan 19, 2024

\cc @Jasguerrero FYI. This is one of the PRs blocked from not having testing.

@dcharkes
Copy link
Contributor Author

dcharkes commented Jan 19, 2024

Thanks @christopherfujino!

I don't feel very comfortable hitting the submit without testing.

FYI Landing this PR is blocking: https://dart-review.googlesource.com/c/sdk/+/346761 (The cbuild shows that flutter_tools starts failing to build in g3 if we try to land that. Due to the import paths in flutter_tools not yet having changed.) So, I want to make progress on this. Please keep me updated. And if for some reason we can't test the roll with FROB is there a way for me to test it manually?

@christopherfujino
Copy link
Contributor

Thanks @christopherfujino!

I don't feel very comfortable hitting the submit without testing.

FYI Landing this PR is blocking: https://dart-review.googlesource.com/c/sdk/+/346761 (The cbuild shows that flutter_tools starts failing to build in g3 if we try to land that. Due to the import paths in flutter_tools not yet having changed.) So, I want to make progress on this. Please keep me updated. And if for some reason we can't test the roll with FROB is there a way for me to test it manually?

My understanding is that getting this unstuck is as simple as manually running a db command (which I believe Casey ran), and that once the CRON runs again it will detect this PR and schedule Google testing. Do I have that right @CaseyHillers?

@christopherfujino
Copy link
Contributor

Actually per b/321251334#comment2, it looks like this is still broken and assigned to @Jasguerrero

@CaseyHillers
Copy link
Contributor

Following up here, @dcharkes is creating a local version of the change and testing it now. We expect FRoB should recover in the next few hours.

@dcharkes
Copy link
Contributor Author

image

It looks like FRoB has recovered.

'test': '1.24.9', // https://github.com/flutter/flutter/issues/140169
'native_assets_builder': '0.3.0', // https://github.com/flutter/flutter/pull/141814
'native_assets_cli': '0.3.2', // https://github.com/flutter/flutter/pull/141814
'native_assets_builder': '0.3.2', // https://github.com/flutter/flutter/pull/141814
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can just remove these pins since you're updating the tool code in this PR.

Copy link
Contributor

@christopherfujino christopherfujino left a comment

Choose a reason for hiding this comment

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

LGTM

@dcharkes
Copy link
Contributor Author

[Mon, 22 Jan 2024 10:11:11 UTC] The file changes in this PR do not need to be rolled into google codebase

Well, now that is terrifying! @CaseyHillers our detection of what needs to be tested might be off.

I've run the command locally as well, and I don't see any g3 errors related to flutter_tools, so I think it's safe to land.

@dcharkes dcharkes added the autosubmit Merge PR when tree becomes green via auto submit App label Jan 22, 2024
@auto-submit auto-submit bot merged commit 634b326 into master Jan 22, 2024
@auto-submit auto-submit bot deleted the reland-roll-native-packages branch January 22, 2024 10:42
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 22, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 22, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 22, 2024
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Jan 22, 2024
flutter/flutter@5dea6b9...3ee8ff2

2024-01-22 [email protected] Roll Flutter Engine from 40c5e9ce6596 to c49989292fc1 (1 revision) (flutter/flutter#141966)
2024-01-22 [email protected] Roll Packages from 129e08c to e4cbf23 (11 revisions) (flutter/flutter#141962)
2024-01-22 [email protected] Mark defaultTargetPlatform as constant for non-debug non-web builds. (flutter/flutter#141105)
2024-01-22 [email protected] Fix `shape` and `collapsedShape` isn't applied to `ExpansionTile`'s splash ink (flutter/flutter#141777)
2024-01-22 [email protected] Reapply "Native assets: roll deps" (#141748) (flutter/flutter#141864)
2024-01-22 [email protected] Roll Flutter Engine from 11c585f48b77 to 40c5e9ce6596 (1 revision) (flutter/flutter#141956)
2024-01-22 [email protected] Update `ToggleButtons`, `ExpansionPanel`, and `ExpandIcon` tests for Material 3 (flutter/flutter#141868)
2024-01-22 [email protected] Roll Flutter Engine from c485c574fb1d to 11c585f48b77 (1 revision) (flutter/flutter#141952)
2024-01-22 [email protected] Roll Flutter Engine from a7b207d5a1fe to c485c574fb1d (1 revision) (flutter/flutter#141951)

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

To file a bug in Packages: 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 join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: desktop Running on desktop autosubmit Merge PR when tree becomes green via auto submit App platform-ios iOS applications specifically tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rolling native_assets_cli fails

3 participants