Repository navigation
style(dart/a2ui_core): apply dart format to processor.dart and its test - #4371
Merged
gspencergoog merged 1 commit intoNov 23, 2026
Merged
Conversation
The format-check and dart_a2ui_core formatting jobs have failed on main, and on every PR based on it, since a2ui-project#4197 merged. That change was formatted before a2ui-project#3304 landed just ahead of it, and the two files it touched no longer match what `dart format` produces. This is the formatter's output and nothing else: with whitespace and trailing commas removed, both files are unchanged.
Contributor
There was a problem hiding this comment.
Code Review
This pull request consists of minor formatting and indentation updates in processor.dart and processor_test.dart to adhere to the repository's style guidelines. There are no functional code changes, and no review comments were provided.
gspencergoog
marked this pull request as ready for review
November 23, 2026 16:32
gspencergoog
enabled auto-merge (squash)
November 23, 2026 17:11
andrewkolos
approved these changes
Nov 23, 2026
andrewkolos
left a comment
Collaborator
There was a problem hiding this comment.
LGTM, though a check is failing. Might have something to do with the skip-changelog-check label
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Applies
dart formatto two files indart/a2ui_coreso that theformat-checkanddart_a2ui_coreformatting jobs pass onmainagain. They have failed onmain, and on every PR based on it, since #4197 merged.Changes
dart/a2ui_core/lib/src/processing/processor.dart: one statement is wrapped the way Dart 3.13 formatting wraps it.dart/a2ui_core/test/processor_test.dart: one list literal is re-indented, and one call is wrapped with a trailing comma.The diff is the formatter's output and nothing else. With whitespace and trailing commas removed, both files are identical before and after.
Impact & Risks
mainhas been red since. Reverting the files to either parent shows it: they are clean at feat(core): let a MessageProcessor take a catalog after it is built #3304 and unformatted at fix(dart/core): report unknown envelope keys at their paths #4197.E2E Testsworkflow, which fails onmainfor a different reason (outcome drift in the live login form scenario, E2E drift failed on main for commit 1cbef31 #4262).Testing
Before, on
mainat5ff1b05f0:After:
./scripts/fix_format.sh --check --skip-swift, the command theformat-checkjob runs, exits 0.dart format --output=none --set-exit-if-changed .indart/a2ui_core, the command thedart_a2ui_corejobs run, reports 0 changed files.dart testindart/a2ui_corepasses.Checked with the stable Dart SDK (3.13.7). The
betajob in CI is not reproduced locally.