Repository navigation
test: cover #2073 and #2078 audit P3 gaps - #2085
Merged
Merged
Conversation
Contributor
|
Chat app preview removed for |
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
tool/testing/verify_release_docs_versions.dartinvokescheckLiteRtLmDocs, plus upstream-commit rejection tests for the four LiteRT-LM source-claim docs (Close CI selection and release tooling coverage gaps #2073 audit P3).{}arguments, raw control character in string, bad escape\q, junk after array element, missing colon) topartial JSON releases at the first impossible tokenintest/unit/core/engine/gemma4_loose_stream_test.dart(Preserve Gemma 4 prose before loose JSON tool calls #2078 audit P3).#2073 audit P3and#2078 audit P3items on 0.20.x audit follow-ups #2048.Production-readiness scope
Completeness checklist
PR type guidance
#2073 audit P3and#2078 audit P3from 0.20.x audit follow-ups #2048 with no production code changes. Changelog: N/A (test-only).Mutation check
A01tool/testing/verify_release_docs_versions.dartcheckLiteRtLmDocs(Directory.current, errors);inmainrc=1,+36 -1)release docs CLI runs checkLiteRtLmDocsA02tool/testing/verify_release_docs_versions.dartmatch[1] != expected.$1(ignore upstream commit)rc=1,+32 -5)README.md/support-matrix.md/native-and-web-sync.md/SKILL.mdupstream tests + CLI testN2lib/src/core/template/tool_call_fallback_parser.dartif (value < 0x20) return false;rc=1,+28 -1)partial JSON releases at the first impossible tokenN5lib/src/core/template/tool_call_fallback_parser.dartif (escape != 'u') return false;tocontinue;rc=1,+28 -1)partial JSON releases at the first impossible tokenN12lib/src/core/template/tool_call_fallback_parser.dartif (!_take(',')) return false;inarrayEndtoreturn true;rc=1,+28 -1)partial JSON releases at the first impossible tokenN14lib/src/core/template/tool_call_fallback_parser.dartif (!_take(':')) return false;toreturn true;rc=1,+28 -1)partial JSON releases at the first impossible tokenN17lib/src/core/template/tool_call_fallback_parser.dartif (!_take('}'))guard inobjectStartrc=1,+28 -1)partial JSON releases at the first impossible tokenTest Plan
dart run tool/prepare_workspace.dart(N/A — ran targeteddart analyze lib test tooland VM tests without modifying tracked workspace files)python3 tool/ci/check_format.py(Formatted 1912 files (0 changed))dart analyze lib test tool(No issues found!)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.dartis@TestOn('vm');gemma4_loose_stream_test.dartparser logic is platform-independent)coverage-libmatrix row (N/A — test-only, nolib/changes)Matrix Evidence
static-format-analyzecheck_format.py(0 changed),dart analyze lib test tool(No issues found!)root-vmverify_release_docs_companion_pins_test.dart+gemma4_loose_stream_test.dart(+66: All tests passed!)release-doc-version-consistencyverify_release_docs_companion_pins_test.dart(A01,A02killed)Review Notes
High-risk regression review
classify_high_risk_changes.dart)