Skip to content

Conversation

@jtmcdole
Copy link
Member

Issue Link:

#163308
#163691
and in some cases #162251

Changelog Description:

Flutter tool respects tracked engine.version

Impact Description:

Non master, stable, and beta branches will respect tracked versions of engine.version and not download incorrect engine artifacts.

Workaround:

Deleting engine/src/.gn will trick the tools into thinking this is a non-monorepo.

Risk:

What is the risk level of this cherry-pick?

  • Low
  • Medium
  • High

Test Coverage:

Are you confident that your fix is well-tested by automated tests?

  • Yes - at master.
  • No

Validation Steps:

  1. Switch to the branch / tag this is checked out to (i.e. 3.29.0)
  2. Examine bin/internal/engine.version
  3. Run flutter doctor
  4. See that it downloads the correct hash and engine.version hasn't been modified.

and in some cases flutter#162251

Flutter tool respects tracked `engine.version`

Non `master`, `stable`, and `beta` branches will respect tracked versions of `engine.version` and not download incorrect engine artifacts.

Deleting `engine/src/.gn` will trick the tools into thinking this is a non-monorepo.

What is the risk level of this cherry-pick?

  - [X] Low
  - [ ] Medium
  - [ ] High

Are you confident that your fix is well-tested by automated tests?

  - [X] Yes - at master.
  - [ ] No

1. Switch to the branch / tag this is checked out to (i.e. `3.29.0`)
2. Examine `bin/internal/engine.version`
2. Run `flutter doctor`
3. See that it downloads the correct hash and `engine.version` hasn't been modified.
Copy link
Member

@zanderso zanderso left a comment

Choose a reason for hiding this comment

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

cp lgtm

@zanderso zanderso added the cp: approved Approved cherry-pick request label Feb 20, 2025
@jtmcdole jtmcdole added cp: review Cherry-picks in the review queue cp: stable cherry pick this pull request to stable release candidate branch labels Feb 20, 2025
@eyebrowsoffire eyebrowsoffire added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 20, 2025
@auto-submit auto-submit bot merged commit 7d0f4d9 into flutter:flutter-3.29-candidate.0 Feb 20, 2025
156 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 6, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 7, 2025
@reidbaker reidbaker mentioned this pull request Apr 4, 2025
9 tasks
Fintasys pushed a commit to Fintasys/flutter that referenced this pull request May 14, 2025
…ter#163741)

and in some cases flutter#162251

Flutter tool respects tracked `engine.version`

Non `master`, `stable`, and `beta` branches will respect tracked versions of `engine.version` and not download incorrect engine artifacts.

Deleting `engine/src/.gn` will trick the tools into thinking this is a non-monorepo.

What is the risk level of this cherry-pick?

Are you confident that your fix is well-tested by automated tests?

1. Switch to the branch / tag this is checked out to (i.e. `3.29.0`)
2. Examine `bin/internal/engine.version`
2. Run `flutter doctor`
3. See that it downloads the correct hash and `engine.version` hasn't been modified.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App cp: approved Approved cherry-pick request cp: review Cherry-picks in the review queue cp: stable cherry pick this pull request to stable release candidate branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants