Skip to content

[go_router_builder] Fixes text golden test to ignore platform specific newline - #12652

Merged
auto-submit[bot] merged 4 commits into
flutter:mainfrom
chunhtai:issues/191892
Aug 27, 2026
Merged

auto-submit[bot] merged 4 commits into
flutter:mainfrom
chunhtai:issues/191892

Conversation

@chunhtai

Copy link
Copy Markdown
Contributor

fixes flutter/flutter#191892

Pre-Review Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. ↩ ↩2

@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Aug 27, 2026
@github-actions github-actions Bot added p: go_router_builder triage-framework Should be looked at in framework triage labels Aug 27, 2026

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

Copy link
Copy Markdown
Contributor

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 introduces a helper function expectWithNormalizedNewline in run_tests.dart to normalize CRLF line endings to LF during test assertions, and updates existing assertions to use it. The review feedback suggests making this helper function private since it is only used within the same file.

Comment thread packages/go_router_builder/tool/run_tests.dart
@chunhtai chunhtai changed the title [go_router] Fixes text golden test to ignore platform specific newline [go_router_builder] Fixes text golden test to ignore platform specific newline Aug 27, 2026
@chunhtai chunhtai added override: no versioning needed Override the check requiring version bumps for most changes override: no changelog needed Override the check requiring CHANGELOG updates for most changes labels Aug 27, 2026
@chunhtai

Copy link
Copy Markdown
Contributor Author

reason for override: ci only change that doesn't affect any of the code and documentation

@chunhtai

Copy link
Copy Markdown
Contributor Author

presubmit passes https://ci.chromium.org/ui/p/flutter/builders/try/Windows_x64%20custom_package_tests%20master%20-%20packages/22330/overview

but not sure if this is a good indication that the postsubmit issue is resolved

@bparrishMines

Copy link
Copy Markdown
Contributor

The tests fail on presubmit now, so it should pass post submit if it does for presubmit.

@bparrishMines bparrishMines left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@bparrishMines bparrishMines added emergency Override tree-status signal (land even with closed tree), combine with the autosubmit label. autosubmit Merge PR when tree becomes green via auto submit App labels Aug 27, 2026
@flutter-dashboard

Copy link
Copy Markdown

Detected the emergency label.

If you add the autosubmit label, the bot will wait until all presubmits pass but ignore the tree status, allowing fixes for tree breakages while still validating that they don't break any existing presubmits.

The "Merge" button is also unlocked. To bypass presubmits as well as the tree status, press the GitHub "Add to Merge Queue".

@auto-submit
auto-submit Bot merged commit f1a4d4b into flutter:main Aug 27, 2026
12 of 13 checks passed
pull Bot pushed a commit to Mu-L/flutter that referenced this pull request Aug 28, 2026
…er#191965)

flutter/packages@bd3cbc1...cd4cdd0

2026-08-28 [email protected] [material_ui] Add
all M3 templates and generated code to `temporarily_excluded/` before
migration (flutter/packages#12661)
2026-08-28 [email protected] Roll Flutter from
15d8908 to e8dca90 (58 revisions) (flutter/packages#12660)
2026-08-28 [email protected] [various] Update pigeon dev_dependency to
^27.3.2 (flutter/packages#12615)
2026-08-27 [email protected]
[camera_android_camerax] Enforce CHANGELOG backticks and add eval commit
author check to pre-push-skill (flutter/packages#12624)
2026-08-27 [email protected] [material_ui] Prevent stale async
suggestions in SearchAnchor (flutter/packages#12478)
2026-08-27 [email protected] [go_router_builder] Support analyzer 14
(flutter/packages#12614)
2026-08-27 [email protected] [cupertino_ui] Use super parameters in
more places (flutter/packages#12459)
2026-08-27 [email protected]
[material_ui] Remove no-shuffle from progress indicator test
(flutter/packages#12505)
2026-08-27 [email protected]
[two_dimensional_scrollables] Activate leak testing and fix memory leaks
(flutter/packages#11653)
2026-08-27 [email protected] [material_ui] Add
helper methods in gen_defaults template (flutter/packages#12637)
2026-08-27 [email protected] [cupertino_ui] fix CupertinoIcons
font not being included in examples and fix TextEditingController leaks
(flutter/packages#12228)
2026-08-27 [email protected]
[camera_android_camerax] Check Git hooks configuration in
check-readiness skill (flutter/packages#12628)
2026-08-27 [email protected] [ci] sync back pr
for branch release only run when release succeeds
(flutter/packages#12581)
2026-08-27 [email protected] [google_maps_flutter] Convert overlay
controllers to Swift (flutter/packages#12638)
2026-08-27 [email protected]
[go_router_builder] Fixes text golden test to ignore platform specific
newline (flutter/packages#12652)

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-flutter-autoroll
Please CC [email protected] on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
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
victorsanni pushed a commit to victorsanni/packages that referenced this pull request Sep 9, 2026
…c newline (flutter#12652)

fixes flutter/flutter#191892

## Pre-Review Checklist

**Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
victorsanni pushed a commit to victorsanni/packages that referenced this pull request Sep 9, 2026
…c newline (flutter#12652)

fixes flutter/flutter#191892

## Pre-Review Checklist

**Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
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 CICD Run CI/CD emergency Override tree-status signal (land even with closed tree), combine with the autosubmit label. override: no changelog needed Override the check requiring CHANGELOG updates for most changes override: no versioning needed Override the check requiring version bumps for most changes p: go_router_builder triage-framework Should be looked at in framework triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[go_router_builder] Flutter/packages Windows custom packages test failing

2 participants