Repository navigation
fix(flutter): read unlabeled Dart Version::String() from engines - #7232
Merged
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
BeqaKs
force-pushed
the
fix/flutter-unlabeled-dart-version
branch
2 times, most recently
from
October 26, 2026 12:07
b482b85 to
1a2711e
Compare
Contributor
[Medium impact] The PR appears safe to merge; no blocking issue was found. SummaryAdds support for unlabeled Dart version strings embedded in release engines.
Reviews (6) · Last reviewed commit: "fix(flutter): qualify unlabeled version ..." · Reviewed by Greptile |
7 tasks done
BeqaKs
force-pushed
the
fix/flutter-unlabeled-dart-version
branch
from
November 2, 2026 16:21
429ff24 to
f7973d5
Compare
Release libflutter.so embeds Dart's Version::String() without the standalone VM's "Dart VM version:" label, so identify_flutter_build left dart_version null on real APKs. Accept that channel-bearing form beside the labeled scanner path.
BeqaKs
force-pushed
the
fix/flutter-unlabeled-dart-version
branch
from
November 2, 2026 16:27
f7973d5 to
2b3e222
Compare
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
Version::String()form (<version> (<channel>) (<commit time>)with optionalon "<os>_<arch>") inLabeledStringScanner, alongside the existingDart VM version:label.dart_version_capped), and update Gallery expectations plus flutter analysis docs/schema wording.Fixes #7226
Problem and expected behavior
Release
libflutter.soembeds the Dart version without the standalone VM label, soidentify_flutter_buildreporteddart_version: nullon real APKs including Flutter Gallery.Change and scope
Pattern match is channel-bearing and whole-run, so ordinary dotted version text stays ignored. Unlabeled matches are candidates by string shape, not verified symbol identities; the result limitation, schema description and documentation now disclose that distinction, including the possibility of unrelated matching text. Contribution scope: ordinary fix within the existing Flutter identification boundary; maintainer scope decision not applicable.
Contract and boundary impact
LabeledStringScanner/ Flutter payload scanidentify_flutter_builddart_versionobservation onlyExpected effects:
Evidence and regression coverage
FlutterPayloadScan.test.tsfor release/Gallery strings, channel requirement, non-capping misses, and grammar boundariesValidation performed
npm run test:local -- src/flutter/FlutterPayloadScan.test.ts— 23 passednpm run check:fast— passednpm run test:focused -- tests/boundary/filesystem/flutterBuildProvider.test.ts— 109 passed, including an unrelated matching string and the qualification limitationnpm run docs:check— passed (9 README conformance tests)npm run verify:flutter -- --apk PATH --expectations scripts/fixtures/flutter-gallery-expectations.json— passed against official Flutter Gallery 2.9.2 (SHA-256659b5fc6a4319dfe4f117d00ad4e7ec004915ebcadcb96628797fb3544040e29); CLI/MCP parity and expected per-ABI strings passed. Full AOT string-pool projection remains bounded and partial.Author readiness
Human owner: @BeqaKs
Before merge