Stream inference qualification logs directly into GitHub Actions #210
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.57) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.57 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #210"
general
weight: 0.35
jaredwy
Original problem
Inference qualification's Actions step polled native job status without forwarding build/test output. The results comment sent contributors to an external lab record to inspect failures. Contributors should be able to diagnose qualification from GitHub alone.
Diagnostics
At base
6531cce921dd00d9aaeedec15d6ab8314be00184,scripts/inference-dispatch.py::waitread job/formation status but no log pages, whilescripts/inference-report.shgenerated an external Lab record link for each row.Verified the existing native log API's cursor, sequence, completion and gap fields against a real run. Read-only replay of existing failed job
job_8ja3wgqab02ayhw, attemptrun_k03ky59fwdq06fb, forwarded all 44 sequential chunks; a second read kept cursor 44 without duplicate output or capture diagnostics. This did not launch or alter a native job.Fix
No new dependencies, workflow permissions, dispatch credentials, model settings or qualification gates. The existing always-upload artifact step already includes the new evidence files. No workflow YAML or composite actions changed.
Validation
Base SHA above plus this PR's working diff:
SKIPPY_PYTHON=/Users/michaelneale/.buzz/.scratch/skippy-actions-logs-venv/bin/python just ci-automation— passed: 156 Python tests across 19 suites, 73 Node workflow/controller tests, and shell inference-report contracts. Includes 9 new native-log tests. Python 3.12, using the repository's existingci/inference-publish-requirements.txtin an isolated environment.bash -n scripts/inference-report.sh scripts/tests/inference-report.sh— passed.git diff --check— passed.The first full-suite attempt stopped at the existing publication test because the default interpreter lacked
pyarrow; installing the existing declared reporting requirements in an isolated environment resolved it, and the complete suite then passed.Initial validation used offline fixtures and real API replay of an existing failed standalone run, not a new live controller run. Later native qualification and the pre-merge controller rehearsal are recorded below. The credentialed inference workflow intentionally executes protected-main code: ordinary PR inference runs alone cannot validate candidate controller changes. At the initial revision, transport requests retained existing API timeout/retry limits. The review follow-up below bounds log-read timeouts and retry admission; hard runner loss can still truncate diagnostics.
Follow-up: repair the red native builds
Qualification run 45543747700 failed at the original head
9488370in Qwen3.6 standalone and split. Retrieved both failed workers' native logs: attemptsrun_28nfr87p7jydc3v(standalone) and the worker jobjob_wyenhrm4are1sagboth failed linkingskippy-correctnesswith:The split leader was cancelled after its worker failed. The existing build-cache key omitted the native source, so different llama.cpp pins shared Cargo and compiler caches. The logs establish an incompatible cached native object; they do not distinguish which cache supplied it.
Cherry-picked #209 (
10cbdfd) with attribution: include thellama_cpptree in build identity/Cargo target selection and isolate the compiler-cache directory by that tree. Added an offline regression exercising both cache-directory selections. This adds no dependencies and does not weaken qualification. Old cache entries are not deleted; per-native-tree compiler caches retain the existing 20G limit each.At earlier head
4198580e4f6e7af8be9cb7a40372dcb9c32a59e2:SKIPPY_PYTHON=/Users/michaelneale/.buzz/.scratch/skippy-210-py312/bin/python just ci-automation— passed in full, including the cache-isolation regression, all 73 Node tests, and shell reporting contracts.git diff --check— passed.4198580, including both previously failing Qwen3.6 jobs. Hosted automation, Same-repository CI and aggregate PR checks also passed. Review is still required.The failed Actions run checked out controller SHA
6531cce921dd00d9aaeedec15d6ab8314be00184, not this PR's controller. Log streaming therefore still needs a post-merge Actions verification; changing the candidate cannot replace the protected-main controller. Main remains untouched.Pre-merge streaming evidence
At
c1bd4168e4b1a3cf73b98e548ad4ccab4950df1f, the existing hosted Automation checks job now runsscripts/tests/inference_streaming.pythroughjust ci-automation. No workflow changes, new dependencies or secrets.The test starts the candidate's actual
inference-dispatch.py::waitandNativeLogsin a normally buffered subprocess. Synthetic API responses supply standalone and split leader/worker log pages. The producer cannot advance to terminal status until the parent has received each live log line; completion-only dumping times out and fails. The parent forwards those exact lines, including the production Actions-command guards, into Actions stdout. It also checks the terminal lines are not duplicated and retained JSONL contents match.SKIPPY_PYTHON=/Users/michaelneale/.buzz/.scratch/skippy-210-proof-py312/bin/python just ci-automation— passed atc1bd416, Python 3.12; Python suites, 73 Node tests and shell reporting contracts all passed.flush=Truewithflush=Falsemakes the new test fail waiting for live output; it does not print the success marker.git diff --check— passed.pyarrowdependency; the existing setup recipe succeeded with Python 3.12. No dependency changes.c1bd4168e4b1a3cf73b98e548ad4ccab4950df1f, not protected main. Downloaded job output contains all six standalone/leader/worker live and complete lines at 06:01:17 UTC, followed bySTREAMING PROOF PASSED: standalone, leader and worker output received before completion; saved logs match.Full hosted automation and Same-repository CI passed.Observed Actions output (synthetic fixture, not live model output):
Scope: this rehearsal tests pre-completion forwarding by candidate controller code into Actions, without native credentials. Synthetic API pages are not evidence of live lab integration or Actions artifact upload; a real post-merge qualification run still needs those checks. The earlier 44-chunk API replay covers the real read interface separately.
Main refresh and conflict resolution
At
af3e79483cf947b66ee21ef5e626b778f802602c, merged main24e4090into this PR branch (not into main). Preserved main's approved-fork admission documentation and native-cache regression alongside the streaming tests.The historical #209 cache workaround described above is no longer part of the diff: main now binds Cargo and sccache to the broader native source recipe (
058b34e, with cold-build directory fixe8aaad6).scripts/inference-build.pyand both existing cache-test files exactly match main; this avoids redundant per-tree compiler caches and preserves main's cache contract.Validation rerun on exact commit
af3e794:SKIPPY_PYTHON=/Users/michaelneale/.buzz/.scratch/skippy-210-refresh-venv/bin/python just ci-automation— passed in full (Python 3.12): all 21 Python suites, 91 Node tests, and shell report contracts. IncludesSTREAMING PROOF PASSEDfor standalone and both split roles before completion.git diff --check— passed.git diff --exit-code origin/main -- scripts/inference-build.py scripts/tests/inference_build.py scripts/tests/inference_contracts.py— passed against24e4090.Fresh hosted and native CI passed on
af3e794. Automation checks output confirms checkout of the exact full head SHA, all six standalone/leader/worker fixture lines, andSTREAMING PROOF PASSEDat 2026-11-25 22:10:27 UTC. Native qualification passed all seven configurations plus plan and summary. The PR remains open and requires review.The hosted proof still uses synthetic API pages; no live lab streaming or artifact-upload qualification claimed. Those remain post-merge checks. No new workflow changes or dependencies in the diff against current main.
Review follow-up: bounded, best-effort log capture
At
12a28ba5d20ab887b16be6ecfbaba2ac1ef8e426, addressed jaredwy's three review threads:KeyboardInterrupt/SystemExit). Diagnostic-file write failures fall back to Actions stderr rather than replacing the native verdict.These are cooperative paging/retry budgets and socket timeouts, not a hard process deadline around authentication, trickling HTTP bodies or a blocked output filesystem. No new dependencies, workflow changes or permissions.
Validation at exact
12a28ba:SKIPPY_PYTHON=/Users/michaelneale/.buzz/.scratch/skippy210-review-venv/bin/python just ci-automation— passed in full on Python 3.12: 21 Python suites, 91 Node tests, shell report contracts, and the completion-gated standalone/leader/worker streaming proof.af3e794implementation. Both fail (log tests: four failures/four errors; read tests: three errors).git diff --check— passed. An initial full-suite attempt lackedpyarrow; setup with default Python 3.14 could not build its existing pinned version. Using the repo's pinned Python 3.12 and unchanged declared requirements resolved setup, and the complete suite passed.Fresh hosted/native results for this head are pending. Earlier green results above apply only to their named SHAs. Live lab forwarding and retained-artifact verification still require the protected controller after merge. No merge invoked; review threads are left for the reviewer to resolve.
Current head after main refresh
f8a3ffecc4883b4d3660320c373174ee0335ac72merges main0682c2dand resolves the overlapping status-read recovery change from #230. Log reads now reuse main's existingstatus_deadlineAPI with a short budget;scripts/lib/jy_qualification.pyexactly matches main. The earlier duplicatedeadlineparameter is gone. All three controller status reads retain main's longer recovery policy; log paging and its tests retain the fixes above.SKIPPY_PYTHON=/Users/michaelneale/.buzz/.scratch/skippy210-review-venv/bin/python just ci-automationpassed again at exactf8a3ffe: 22 Python suites, 96 Node tests, shell contracts, andSTREAMING PROOF PASSED.git diff --checkandgit diff --exit-code origin/main -- scripts/lib/jy_qualification.pypassed against main0682c2d.f8a3ffe: Automation checks output confirms checkout of the full candidate SHA, all six standalone/leader/worker fixture lines, andSTREAMING PROOF PASSEDat 2026-11-26 05:25:15 UTC. Full hosted automation and Same-repository CI passed. Native qualification passed on this exact head: all seven configurations, plan, summary and report succeeded (nightly publication intentionally skipped). This uses the protected-main controller and does not establish live forwarding by the candidate controller. Review requested-changes remains for reassessment; live lab streaming/artifact verification remains post-merge. GitHub reports this head mergeable; the conflict alert for12a28bais superseded.Acceptance criteria