Skip to content

Conversation

@matanlurey
Copy link
Contributor

Manual CP for #174459.

Closes flutter#174267.

The actual fix is 1-line, but of course there is no test suite to verify
that, so that took the bulk of the time.
@matanlurey matanlurey requested a review from bkonyi August 27, 2025 22:14
@flutter-dashboard
Copy link

This pull request was opened from and to a release candidate branch. This should only be done as part of the official Flutter release process. If you are attempting to make a regular contribution to the Flutter project, please close this PR and follow the instructions at Tree Hygiene for detailed instructions on contributing to Flutter.

Reviewers: Use caution before merging pull requests to release branches. Ensure the proper procedure has been followed.

@github-actions github-actions bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Aug 27, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request addresses a bug in the test_golden_comparator where a failed comparison could cause a crash. The fix involves changing the exception handling to catch Object? instead of just Exception, which ensures that FlutterError (which does not extend Exception) is also caught. Additionally, a new integration test has been added to serve as a regression test, verifying that failed golden file comparisons are handled correctly without crashing.

@matanlurey matanlurey added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 27, 2025
@auto-submit auto-submit bot merged commit 6c79484 into flutter:flutter-3.36-candidate.0 Aug 27, 2025
144 checks passed
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 tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants