Skip to content

Conversation

@gaaclarke
Copy link
Member

cherry-pick of #165098

Impacted Users

Impeller users developing on the Android Emulator (or some old hardware)

Impact Description

Crash in the Flutter app

Workaround (Is there a workaround for this issue?)

Use a real android device.

Risk (What is the risk level of this cherry-pick?)

Test Coverage (Are you confident that your fix is well-tested by automated tests?)

Yes, there is an integration test that captures most of the problem.

Validation Steps (What are the steps to validate that this fix works?)

#163421 has reproduction steps

Jonah Williams and others added 3 commits March 18, 2025 13:28
…nd mips. (flutter#165098)

Fixes flutter#163421

If we restore to the onscreen but need to generate mips (because its a
toImage call) then we could miss the mip map generation. This will
primarily happen on Android emulators as they do not support framebuffer
fetch.
@gaaclarke gaaclarke requested a review from jonahwilliams March 18, 2025 20:40
@github-actions github-actions bot added engine flutter/engine related. See also e: labels. e: impeller Impeller rendering backend issues and features requests labels Mar 18, 2025
Copy link
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

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

LGTM

@jonahwilliams jonahwilliams added cp: stable cherry pick this pull request to stable release candidate branch cp: review Cherry-picks in the review queue labels Mar 20, 2025
Copy link
Contributor

@justinmc justinmc left a comment

Choose a reason for hiding this comment

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

LGTM, seems high priority to me as it fixes a crash.

@gaaclarke Can you take a look at the failing tests?

@jonahwilliams
Copy link
Contributor

Same comment as previous PR, seems like an infrastructure issue we don't know how to resolve.

auto-submit bot pushed a commit that referenced this pull request Mar 27, 2025
The `Linux tool_integration_tests*` have been failing on this release branch, blocking cherry picks #165430 and #165428. This PR attempts to cherry pick fixes that will make the tests go green.

This PR contains cherry-picks of three PRs:

  * #164935
  * #165620
  * #165661

Example of the failures I was seeing: https://github.com/flutter/flutter/pull/165428/checks?check_run_id=38997055797.

```
error: {
  code: 5
  message: builder not found: "Linux tool_integration_tests_1_6"
}
```
@reidbaker
Copy link
Contributor

reidbaker commented Apr 2, 2025

I put up #166594 which I think will help this pr merge.

auto-submit bot pushed a commit that referenced this pull request Apr 4, 2025
This pull request is created by [automatic cherry pick workflow]

### Issue Link:
What is the link to the issue this cherry-pick is addressing?
#166553

CP of 
* #165620
* #165661
* #165675
* #165692 
* #165678
* *Not merged in master* #166559

Test configuration error
https://mail.google.com/chat/u/0/#chat/space/AAAAQFWU2Go/dHeIlEXFg2w/dHeIlEXFg2w

### Changelog Description:
N/A

### Impact Description:
blocking #165430

### Workaround:
none

### Risk:
What is the risk level of this cherry-pick?

### Test Coverage:
Are you confident that your fix is well-tested by automated tests?
@reidbaker
Copy link
Contributor

After updating with #166594 tests appear to pass, one test had an infra issue and was re-run. Adding auto submit to get this landed. Thank you for your patience

@reidbaker reidbaker added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 9, 2025
@auto-submit auto-submit bot merged commit 1248314 into flutter:flutter-3.29-candidate.0 Apr 9, 2025
150 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Apr 14, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Apr 15, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Apr 15, 2025
Fintasys pushed a commit to Fintasys/flutter that referenced this pull request May 14, 2025
The `Linux tool_integration_tests*` have been failing on this release branch, blocking cherry picks flutter#165430 and flutter#165428. This PR attempts to cherry pick fixes that will make the tests go green.

This PR contains cherry-picks of three PRs:

  * flutter#164935
  * flutter#165620
  * flutter#165661

Example of the failures I was seeing: https://github.com/flutter/flutter/pull/165428/checks?check_run_id=38997055797.

```
error: {
  code: 5
  message: builder not found: "Linux tool_integration_tests_1_6"
}
```
Fintasys pushed a commit to Fintasys/flutter that referenced this pull request May 14, 2025
… mips. (flutter#165430)

cherry-pick of flutter#165098

## Impacted Users
Impeller users developing on the Android Emulator (or some old hardware)

## Impact Description
Crash in the Flutter app

## Workaround (Is there a workaround for this issue?)
Use a real android device.

## Risk (What is the risk level of this cherry-pick?)

## Test Coverage (Are you confident that your fix is well-tested by automated tests?)
Yes, there is an integration test that captures most of the problem.

## Validation Steps (What are the steps to validate that this fix works?)
flutter#163421 has reproduction steps
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: review Cherry-picks in the review queue cp: stable cherry pick this pull request to stable release candidate branch e: impeller Impeller rendering backend issues and features requests engine flutter/engine related. See also e: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants