Repository navigation
0.19.4 batch integration: LiteRT-LM Web tool calling and llama.cpp parity fixes - #1895
Merged
Merged
Conversation
leehack
marked this pull request as ready for review
November 10, 2026 12:51
This was referenced Nov 10, 2026
This was referenced Nov 10, 2026
Contributor
|
Chat app preview removed for |
This was referenced Nov 10, 2026
Merged
13 tasks done
leehack
added a commit
that referenced
this pull request
Nov 22, 2026
## Summary - Sweep orphaned `leehack/llamadart-chat-pr-<N>` Spaces daily or by manual dispatch on `main`. Each deletion shares the preview write queue and rechecks the live PR state before calling Hugging Face. - PRs #1875, #1876, and #1882 closed at 12:52:17, 12:52:21, and 12:52:34 UTC on November 10, 2026, after integration #1895 merged at 12:52:07 UTC (`ba4e0e1b`). The prior investigation found merge conflicts with that integration commit and no close-time Actions runs for those branches. GitHub suppresses `pull_request` workflows when the PR has merge conflicts. [GitHub Actions event documentation](https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#pull_request) - The older #218 orphan reached deletion and failed. Its expired log leaves the cause unknown. Closes #2160 ## Changelog N/A: CI-only housekeeping. ## Production-readiness scope - **User-facing scope:** Closed PR preview Spaces are reclaimed when event-driven cleanup misses them. - **Supported platforms/paths:** Scheduled and manual GitHub Actions runs on `leehack/llamadart` main, using `HF_TOKEN` and read-only GitHub PR lookups. - **Unsupported or intentionally unavailable paths:** Production and other Space IDs are outside the sweep. Missing and open PRs are skipped. A missing preview Space is treated as already removed. - **Out of scope / follow-ups:** None. ## Completeness checklist - [x] Declared scope is implemented. - [x] Unsupported paths are documented. - [x] Maintainer instructions are updated. Public API, examples, support matrix, and changelogs are N/A for this CI change. - [x] Regression tests distinguish closed, open, missing, and reopened PRs and reject out-of-scope Space IDs. - [x] Public capability validation registry is N/A for this CI change. - [x] Mocked provider failures verify redaction of raw response text, tokens, and signed URLs. - [x] Follow-up work is listed above. ## PR type guidance - **Bugfix PR:** The trigger gap and delete-failure evidence are in the summary. GitHub Actions workflow and offline provider coverage are in the matrix. - **Feature and docs-only guidance:** N/A for a CI bugfix with maintainer documentation. ## Test Plan - [x] `dart run tool/prepare_workspace.dart` on the clean worktree. - [x] `python3 tool/ci/check_format.py`, `dart analyze`, and `dart run tool/testing/check_platform_boundaries.dart`. - [x] Targeted VM tooling tests with isolated `TMPDIR` passed 116 tests, including the Markdown reader inventory. - [x] `python3 -B -m unittest discover -s test/ci -p 'test_*.py'` ran 274 tests with 34 skips. The final preview suite ran 20 tests. - [x] Actionlint 1.7.12 passed with the repository's exact `concurrency.queue` suppression. Unfiltered output reported the known queue diagnostic. - [x] Failing-first controls reproduced missing sweep wiring. Removing the queue caused the workflow test to fail. Removing the recheck caused the reopened-PR test to observe a mock deletion. - The initial full VM tooling run found one Markdown reader inventory mismatch. The final targeted rerun verified the exemption update and preview tests. - **Full root VM and Chrome suites:** N/A to the workflow execution path. Targeted tooling tests cover job wiring and both provider call paths. - **`coverage-lib`:** N/A for a CI-only change. - **Live Hugging Face execution:** Mocked by assignment. No live listing, creation, deletion, or workflow dispatch. ## Matrix Evidence | Matrix row | Scope covered | Platform / model / backend | Result | Evidence / notes | | --- | --- | --- | --- | --- | | `ci-selection` | PR event gates, empty matrix, shared write group, read-only GitHub permissions, and unchanged close workflow | macOS, Dart VM and Python, mocked provider | PASS | `ci_workflow_selection_test.dart`, `preview_guard_test.dart`, `hf_space_deploy_test.dart`, and `markdown_test_suites_test.dart` passed 116 tests. | | `static-format-analyze` | Dart format, analysis, and web/native import boundaries | macOS, pinned Flutter 3.47.1 | PASS | Repository format helper, analyzer and boundary checker passed. | | Sweep regression checks | Exact IDs, closed/open/missing/reopened PRs, 404, redaction, and empty output | macOS, Python, mocked provider | PASS | `test/ci/test_preview_sweep.py`; both mutation controls failed as expected. | | `high-risk-exact-head-independent-qa` | Independent review against current main | GitHub Actions and mocked provider | PASS | Fresh-session `auditor-deep` ACCEPT at `eb328e0c`. A reopened PR, an unknown PR state and an out-of-scope id each caused zero deletions, and all 3 mutations were caught. Readiness exits 2 locally | ## Review Notes - **Independent review status:** ACCEPT. One nonblocking P3: a backlog over 256 closed previews exceeds GitHub's 256-job matrix cap. Today's backlog is 0, and the P3 is tracked in #2098. - **CI status / head SHA:** 36 passed, 9 skipped on `eb328e0c133bb643e34208b3167502534e9fa685`. ## High-risk regression review - **Classification:** High-risk (`regressionPolicy`). - **Implementation task:** #2160 preview sweep implementation. - **Independent blocking QA task:** Fresh-session `auditor-deep` audit, ACCEPT - **Exact head / current base:** `eb328e0c133bb643e34208b3167502534e9fa685` / `d38c50377b17e06d0cd1a90265a93d7963ccc030`. - **Production-branch deletion, bypass, or miswire proof:** Removing the concurrency block failed the YAML wiring test. Removing the shared callback invocation caused `delete_repo` to be called for a reopened PR. - **Affected-family real-model/artifact evidence:** N/A for the GitHub Actions policy change. - **Explicit unavailable-family or other N/A evidence:** Hugging Face operations were mocked under the task's live-operation restriction. - **Known PR-caused P1 regressions:** 0. The independent audit agrees. - **Unresolved review threads:** 0 at creation.
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
doc/high_risk_pre_merge_readiness.md"Batch integration PR": a new branch frommainat77b01da1f6db7cde751b618700574b63f3eb74a9, one commit per constituent (its own delta at the pinned head, applied in stack order), conflicts resolved once inside the applying commit.5ffd1224(fresh-agent-auditor-1895-integration), 0 PR-caused P1, 0 unresolved threads here and on every constituent; evaluator exit 2 (llamadart-evidence/pr-1895/).Closes #1868
Closes #1790
Closes #919
Closes #1865
Closes #1887
Closes #1892
#1863 stays open (#1876 only documents it); #1861 and #1531 are referenced, not closed, by their constituents.
Constituents
Each commit's diff equals its constituent's delta:
git diff <base> <pinned head>, where the base is the merge base withmainfor a PR intomain, and the parent's pinned head for a stacked PR (#1886 mergedmain77b01da1fin, so its base is currentmain). Checked withgit diff -U0(hunk headers stripped) per commit: identical except the listed resolutions.9a433443a03d50e48e8f9c40bf1bb56f0116513049a8a26d7f78cafa9703d50e48e/ basef78cafa97(fresh-agent-auditor-1875, 0 P1, 0 threads); CI green at headdcfdb118c1682ba906fb6b6546f90a77b49e2adbe8e44cdc503d50e48e1682ba906/ base03d50e48e(fresh-agent-auditor-1888, 0, 0); stacked, so no PR CId0553545aa05d460caea648d2423e99b7d1d3ca9aca731335f78cafa97d6ffe46d4ee7a66cbf823e326b9bafeda3974cb14c46d1e6df78cafa97472ae0cf4691a2a373d89dc0f0d7ff65d3799bb4cb65455a9f78cafa97691a2a373/ basef78cafa97(fresh-agent-auditor-1878, 0, 0); CI green at head5f6948b192ebe8141ca024e17a0a4f799151d9a57228ff10ef78cafa972ebe8141c/ basef78cafa97(fresh-agent-auditor-1879, 0, 0); CI green at headc29d15af97d4630ffd5fbf32a2e4b2becdbb6c3d0b63067eff78cafa977d4630ffd/ basef78cafa97(fresh-agent-auditor-1880, 0, 0); CI green at headb1943832ade450fcc5720ae40914b6b71f4c4d644fd7234497d4630ffdde450fcc5/ base7d4630ffd(fresh-agent-auditor-1891b, 0, 0); stacked, so no PR CI7a4d03bfda6ea0316b6913b247fe4a744d0ebbfa152088a2df78cafa97a6ea0316b/ basef78cafa97(fresh-agent-auditor-1882, 0, 0); CI green at head78cc06faa47a86a526fe3bd83844a9c77243dc3221b18aa61a6ea0316b47a86a526/ basea6ea0316b(fresh-agent-auditor-1885, 0, 0); stacked, so no PR CI18194b768b75aa2e91e71d39b21ccfda370c6a8df730fb37847a86a526b75aa2e91/ base47a86a526(fresh-agent-auditor-1890-reaudit-b75aa2e, 0, 0); stacked, so no PR CIeb7d08908302757be6c3adb22e23d8731bb6df9fe072b2517b75aa2e91302757be6/ baseb75aa2e91, 0 P1, 0 threads, evaluator exit 2 (evidencepr-1894/). Stacked, so dispatched CI only (run 42802975044, green)03e35bcea67d16515b74f314d55aff2160c614a344f5d32da77b01da1f(main merged in)67d16515b/ base77b01da1f(fresh-agent-auditor-1886-reaudit-2, 0, 0); CI green at head17409e928e8e72902536fa15776961a9b6ac5f40d000c801377b01da1fe8e729025/ base77b01da1f(fresh-agent-auditor-1889, 0, 0); CI green at head5ffd1224434f8911daaf2e8ff1ed29a82962d74cbd06b27c977b01da1f34f8911da/ base77b01da1f(fresh-agent-auditor-1893, 0, 0); CI green at headRisk is
classify_high_risk_changes.darton each delta. Audit records are the constituents' v2 evidence documents (independent_audit). Stacked PRs target their parent's branch, soci.ymlnever ran on them; their only check is the read-only advisory, which fails by design for a non-default base ("Diagnostic is restricted to PRs targeting the repository default branch"). CI on this PR is their first CI run.Unresolved review threads per constituent (live count at merge time): to be recorded before merge.
Conflict resolutions
Every other hunk is the constituent's own, unchanged.
c29d15af9(#1880)website/docs/guides/backend-selection.mdgeneratesends one user text." with "Rawgeneratewraps the prompt in one user turn of the bundle's template ([#1863])"; #1880 replaced "Automatic tool loops remain unavailable. The remaining #1152 scope is tracked in [the runtime gap]" with "Automatic tool loops remain unavailable ([#919])."generatesentence, then #1880's tool-loop sentence.b1943832a(#1891)website/docs/guides/backend-selection.mdgeneratesentence (as above); #1891 replaced "Automatic tool loops remain unavailable ([#919])." with "The default constructors report no token-limit truncation and refuse automatic tool loops."generatesentence, then #1891's sentence.9a433443a(#1875),d0553545a(#1876),5f6948b19(#1879),c29d15af9(#1880),7a4d03bfd(#1882),03e35bcea(#1886)CHANGELOG.mdandwebsite/docs/changelog/recent-releases.md(one hunk each)## Unreleased## Unreleased;maincut 0.19.3 below it and earlier commits here already added bullets.## Unreleasedlist without the extra blank line. The union driver had put #1875's bullet under## 0.19.3; every bullet here was placed by hand under## Unreleased.b1943832a(#1891),78cc06faa(#1885),18194b768(#1890),eb7d08908(#1894)## Unreleased## Unreleased; text identical to the constituent's line.Result:
## Unreleasedholds 10 bullets in both files, one per changelog-bearing constituent, in commit order, with no duplicates; released sections equalmain(check_released_changelog_sections.dartpasses).Nothing was sent back to a constituent.
Production-readiness scope
Completeness checklist
PR type guidance
Test Plan
Local runs on the integration head, macOS arm64, Flutter 3.47.1 / Dart 3.13.1, isolated
TMPDIR:dart run tool/prepare_workspace.dart: tracked tree clean afterwardsdart format --output=none --set-exit-if-changed .: 0 changeddart analyze: no issuesdart run tool/testing/check_platform_boundaries.dart: OKcheck_released_changelog_sections.dart(pull_request event, basemain): released sections match the basedart run tool/testing/verify_release_docs_versions.dart: verified (llamadart and companions 0.19.3, nativev0.9.0)dart test -p vm -j 1 --exclude-tags local-only: 12910 passed, 11 skipped, 6 failed. All 6 aretest/unit/tooling/windows_registry_qualification_test.dartcases failing withProcessException: No such file or directoryforpwsh, which this Mac lacks; no constituent touches that test or its scripts, and CI's VM and Windows tooling shards pass.dart test -p chrome --exclude-tags local-only: 4739 passed, 1 skippedcoverage-lib: 93.68% (33572/35837) against the 70% floor (same 6pwshfailures in the coverage run)flutter test test test_vm694 passed, 8 skipped;flutter test --platform chromeon the four Web files 136 passed, 1 skippedtool/testing/run_template_parity_suites.sh: detection 74, diagnostics 103, unit template 1887, upstream llama.cpp chat suites 10, compiled grammar acceptance 81; all passedgit diff -U0equals its constituent's delta except the changelog hunks listed above; file sets identicalMatrix Evidence
high-risk-exact-head-independent-qamainstatic-format-analyzeroot-vmpwshfailures)root-chromestructured-output-adversarialtool/testing/run_template_parity_suites.shon the integration head; real-model and affected-family evidence per constituent (#1882, #1885, #1890, #1894, #1886) and for the integration auditcoverage-librelease-metadata-verificationlitert-lm-v1-public-direct/-service/-speechlitert-lm-json-schemaReview Notes
5ffd12244bb60804d9c42c605940ccc65d28f31eHigh-risk regression review
backendRuntime,regressionPolicy,releaseAutomation,structuredOutput)5ffd12244bb60804d9c42c605940ccc65d28f31e/77b01da1f6db7cde751b618700574b63f3eb74a9