Repository navigation
Close CI selection and release tooling coverage gaps - #2073
Merged
Merged
Conversation
This was referenced Nov 19, 2026
leehack
marked this pull request as ready for review
November 19, 2026 11:22
Contributor
|
Chat app preview removed for |
10 of 13 tasks
leehack
added a commit
that referenced
this pull request
Nov 19, 2026
## Summary - Add a CLI-level test verifying `tool/testing/verify_release_docs_versions.dart` invokes `checkLiteRtLmDocs`, plus upstream-commit rejection tests for the four LiteRT-LM source-claim docs (#2073 audit P3). - Add the five missing loose-JSON release-rule cases (empty `{}` arguments, raw control character in string, bad escape `\q`, junk after array element, missing colon) to `partial JSON releases at the first impossible token` in `test/unit/core/engine/gemma4_loose_stream_test.dart` (#2078 audit P3). - Ticks the `#2073 audit P3` and `#2078 audit P3` items on #2048. ## Production-readiness scope - **User-facing scope:** N/A (test-only; no production code or user-facing behavior changed). - **Supported platforms/paths:** Dart VM unit tests. - **Unsupported or intentionally unavailable paths:** N/A (test-only). - **Out of scope / follow-ups:** None. ## Completeness checklist - [x] Declared scope is fully implemented, or explicitly reduced above. - [x] Unsupported platform/option combinations fail loudly with actionable diagnostics or are clearly documented as unavailable. (N/A — test-only) - [x] Public API docs, README/website docs, examples, support matrices, and changelog entries are updated where relevant. (Changelog N/A — test-only) - [x] Regression coverage covers the original issue plus key negative/version-skew paths where relevant. - [x] Public capability changes update the validation coverage registry with a pack or a reasoned, issue-linked exemption; inventory checks pass (or N/A with scope). (N/A — test-only) - [x] Security/privacy review completed: no secrets, bearer tokens, signed URLs, or raw secret-bearing paths leak through logs, cache keys, metadata, errors, or snapshots. - [x] Follow-up work that is useful but not required for this PR is tracked in GitHub Issues, or explicitly marked "None" above. ## PR type guidance - **Test-only PR:** closes `#2073 audit P3` and `#2078 audit P3` from #2048 with no production code changes. Changelog: N/A (test-only). ## Mutation check | Mutant | Source | Mutation | Result | Failing test | | --- | --- | --- | --- | --- | | `A01` | `tool/testing/verify_release_docs_versions.dart` | Delete `checkLiteRtLmDocs(Directory.current, errors);` in `main` | KILLED (`rc=1`, `+36 -1`) | `release docs CLI runs checkLiteRtLmDocs` | | `A02` | `tool/testing/verify_release_docs_versions.dart` | Compare only `match[1] != expected.$1` (ignore upstream commit) | KILLED (`rc=1`, `+32 -5`) | `README.md` / `support-matrix.md` / `native-and-web-sync.md` / `SKILL.md` upstream tests + CLI test | | `N2` | `lib/src/core/template/tool_call_fallback_parser.dart` | Remove `if (value < 0x20) return false;` | KILLED (`rc=1`, `+28 -1`) | `partial JSON releases at the first impossible token` | | `N5` | `lib/src/core/template/tool_call_fallback_parser.dart` | Change `if (escape != 'u') return false;` to `continue;` | KILLED (`rc=1`, `+28 -1`) | `partial JSON releases at the first impossible token` | | `N12` | `lib/src/core/template/tool_call_fallback_parser.dart` | Change `if (!_take(',')) return false;` in `arrayEnd` to `return true;` | KILLED (`rc=1`, `+28 -1`) | `partial JSON releases at the first impossible token` | | `N14` | `lib/src/core/template/tool_call_fallback_parser.dart` | Change `if (!_take(':')) return false;` to `return true;` | KILLED (`rc=1`, `+28 -1`) | `partial JSON releases at the first impossible token` | | `N17` | `lib/src/core/template/tool_call_fallback_parser.dart` | Remove `if (!_take('}'))` guard in `objectStart` | KILLED (`rc=1`, `+28 -1`) | `partial JSON releases at the first impossible token` | ## Test Plan - [ ] `dart run tool/prepare_workspace.dart` (N/A — ran targeted `dart analyze lib test tool` and VM tests without modifying tracked workspace files) - [x] `python3 tool/ci/check_format.py` (`Formatted 1912 files (0 changed)`) - [x] `dart analyze lib test tool` (`No issues found!`) - [x] `TMPDIR="$(mktemp -d)" dart test -p vm test/unit/tooling/verify_release_docs_companion_pins_test.dart test/unit/core/engine/gemma4_loose_stream_test.dart` (`+66: All tests passed!`) - [ ] `dart test -p chrome --exclude-tags local-only` (N/A — `verify_release_docs_companion_pins_test.dart` is `@TestOn('vm')`; `gemma4_loose_stream_test.dart` parser logic is platform-independent) - [ ] `coverage-lib` matrix row (N/A — test-only, no `lib/` changes) ## Matrix Evidence | Matrix row | Scope covered | Platform / model / backend | Result | Evidence / notes | | --- | --- | --- | --- | --- | | `static-format-analyze` | format, analyzer | macOS / Dart 3.x | PASS | `check_format.py` (0 changed), `dart analyze lib test tool` (No issues found!) | | `root-vm` | touched VM unit suites | macOS / Dart VM | PASS | `verify_release_docs_companion_pins_test.dart` + `gemma4_loose_stream_test.dart` (`+66: All tests passed!`) | | `release-doc-version-consistency` | LiteRT-LM CLI and upstream commit checks | macOS / Dart VM | PASS | Covered by `verify_release_docs_companion_pins_test.dart` (`A01`, `A02` killed) | ## Review Notes - Independent review status: N/A (standard-risk test-only PR) - CI status / head SHA: pending ## High-risk regression review - **Classification:** standard (`classify_high_risk_changes.dart`) - **Implementation task:** N/A - **Independent blocking QA task:** N/A - **Exact head / current base:** N/A - **Production-branch deletion, bypass, or miswire proof:** N/A - **Affected-family real-model/artifact evidence:** N/A - **Explicit unavailable-family or other N/A evidence:** N/A - **Known PR-caused P1 regressions:** 0 - **Unresolved review threads:** 0
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
Unreleasedheadings during release-prep PR checks. Check Unreleased changelog parity, current runtime pin claims, and the LiteRT-LM owner commits against the archived owner manifest.Refs #2048.
Production-readiness scope
macos-15qualifies.flutter-version.The #2061 Android SDK-build decision and hosts-json observation, and the #2056 release-prep changelog link are outside this sweep. The separate runner, speech, pubignore, qualification, Studio implementation, and parser lanes retain their assigned work.
Completeness checklist
PR type guidance
Test Plan
dart run tool/prepare_workspace.darton the committed candidate; clean tracked tree after preparation.python3 tool/ci/check_format.py,dart analyze,dart run tool/testing/check_platform_boundaries.dart.coverage-lib— N/A for this tooling and docs change.actionlint .github/workflows/ci.yml; selector and actual workflow tests.Matrix Evidence
static-format-analyzeroot-vm-j 4). All 22 native pin tests passed with the published tag required.ci-selectionrelease-doc-version-consistencydocs-site./tool/docs/validate_links.shbuilt the site and validated internal links.high-risk-exact-head-independent-qaReview Notes
1982f2c2fcb17e7e1c039025b959e504a35a9357is pending at draft creation.High-risk regression review
regressionPolicy,releaseAutomation)1982f2c2(independent Opus deep audit; evidencepr-2073/audit-1982f2c2/, evaluator exit 2). The 0.20.1 release prep replayed clean, and the selector diff over 157 past PRs drops no suite. Four P3s, non-blocking.1982f2c2fcb17e7e1c039025b959e504a35a9357/ade506892635244718d8887275e1ba6cc6a44b0dPackage.swiftindependently confirms the expected admitted checksum. No runtime or model path needs requalification for these changes. Published Package.swift