Skip to content

[CP-stable]In flutter_test_performance, consider the blank line at the start of "flutter test" output to be optional.#182335

Merged
auto-submit[bot] merged 2 commits intoflutter:flutter-3.41-candidate.0from
flutteractionsbot:cp-stable-caf78daedab89af422343a5f399cd3eee4c42b1f
Feb 13, 2026
Merged

[CP-stable]In flutter_test_performance, consider the blank line at the start of "flutter test" output to be optional.#182335
auto-submit[bot] merged 2 commits intoflutter:flutter-3.41-candidate.0from
flutteractionsbot:cp-stable-caf78daedab89af422343a5f399cd3eee4c42b1f

Conversation

@flutteractionsbot
Copy link

@flutteractionsbot flutteractionsbot commented Feb 13, 2026

This pull request is created by automatic cherry pick workflow
Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request.

Issue Link:

What is the link to the issue this cherry-pick is addressing?

#180903. This is blocking a stable hotfix right now. See https://ci.chromium.org/ui/p/flutter/builders/prod/Linux_mokey%20flutter_test_performance/8971/overview.

Impact Description:

Maybe impacts some people parsing test output besides us.

Changelog Description:

Version 1.29 of the Dart test package adds a blank line to test output causing unexpected test failures.

Workaround:

No need for a workaround/

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 -- will fail in postsubmit otherwise
  • No

Validation Steps:

What are the steps to validate that this fix works?

< Replace with validation steps here >

…"flutter test" output to be optional. (flutter#180911)

flutter_test_performance runs a "flutter test" command and parses its
output. The parser expects the output to begin with a blank line. That
line is no longer present after the roll to version 1.29 of the Dart
test package (see flutter#180886)

Fixes flutter#180903
@flutteractionsbot flutteractionsbot added the cp: review Cherry-picks in the review queue label Feb 13, 2026
@flutteractionsbot
Copy link
Author

@camsim99 please fill out the PR description above, afterwards the release team will review this request.

@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.

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 updates the flutter_test_performance devicelab test to handle variations in flutter test output. The change makes an initial blank line in the output optional by adjusting the state machine that parses the test output. This ensures the test works correctly with different versions of the Dart test package, some of which no longer produce this blank line. The corresponding code comment has also been updated for clarity. The change is correct and improves the test's robustness.

Copy link
Contributor

@Piinks Piinks left a comment

Choose a reason for hiding this comment

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

LGTM

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

@camsim99 camsim99 added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 13, 2026
@auto-submit auto-submit bot merged commit 582a0e7 into flutter:flutter-3.41-candidate.0 Feb 13, 2026
141 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 13, 2026
…line at the start of "flutter test" output to be optional. (flutter/flutter#182335)
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 13, 2026
…line at the start of "flutter test" output to be optional. (flutter/flutter#182335)
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 14, 2026
…line at the start of "flutter test" output to be optional. (flutter/flutter#182335)
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 20, 2026
…line at the start of "flutter test" output to be optional. (flutter/flutter#182335)
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 20, 2026
…line at the start of "flutter test" output to be optional. (flutter/flutter#182335)
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 21, 2026
…line at the start of "flutter test" output to be optional. (flutter/flutter#182335)
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants