Repository navigation
v1.91.309.0 fix(flaky): one rule each in the judged review and Eng prose; a cancelled judge names what it was waiting on (GSTA-139 S3) - #3544
Conversation
…ame what a cancelled judge received (GSTA-139 S3) - review: Step 5.8 records an unresolved non-gate defect as open, and a repeat pass's reruns are revalidation that run after smoke expiry in the same PROBE_DIR with materialize once on the final pass (every sample of #3527's red panel 40617200857 and its rerun named one of these). Nearby prose trimmed so union, skeleton and host pins do not grow. - plan-eng-review: drop the Eng-only em-dash Voice variant so the shared Voice hoists; the Scope gate's Format precedence names em dashes (5 of 6 samples of 40634787316 named the near-copy Voice). Host size pins lowered. - llm-judge: a cancelled judge request prints llm-judge-aborted with timing, 429 waits and stream event counts (no content), so the next workflow-judge deadline (train 35 gate 40660626349) names its cause. - benchmark: the Phase 6 example no longer lazy-loads the hero image. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…erializes (all 3 samples of the focused judge run at 1bdc4ce) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…airs Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
…s wait on events, not sleeps Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
E2E Evals: ✅ PASS (flaky: 1 case(s) passed on their one rerun)125 executed, 0 reused rule/judge records | 0 manual accepted (unscored; no score-cache credit) | $32.66 rule/judge cost | reconcile exit: 0 Profile: pr / mode Derived dependents (scripts/pr-dependencies.ts):
Rule and judge shards
Fail-closed reconciliationSliced lane: planner → duration-packed executors → fail-closed report. Behavior cases run a pre-registered 3-trial panel (PASS at 2/3 with no contract violation); a PASS 2/3 is shown with its failed trial, never as a clean pass. Reused results retain their original provenance and expiry. Flaky: failed once, passed on its one rerun (rule 16)Each failed and passed on its rerun in run 40805183890 at the attempts named above. Logged for the daily flaky-fix pass in this run's Dispatched narrow screen (gstack-ship-queue ready --screen) of merge commit |
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Summary
These are the daily flaky pass's (GSTA-139) repairs for the judged-skill-prose ledger entries:
open. Repeat-pass reruns are revalidation, so they run after smoke expiry in the same PROBE_DIR. Only the final pass materializes, and unresolved defects (openones included) count inissues_foundand by severity.callJudgereports wrapper attempts, HTTP requests and statuses (so SDK-internal 429 retries show), the connect time, event timings, block type, character counts and ids. The reason is capped at 200 characters, and the line holds no content.Ledger entries: review workflow Fixed, plan-eng-review sections Fixed, benchmark Phase 6 Fixed. Ship workflow timeout stays Open (cause not attributable from the record; the new line will name it next time). setup-browser-cookies judge JSON stays Open, pending an owner decision on the held schemaTransport gate edit (GSTA-91, #3416).
What changed
Repeat-pass QA reruns are revalidation: they run after smoke expiry in the same PROBE_DIR, and only the final pass materializes.
Before/after as text: Repeat-pass QA reruns are revalidation: they run after smoke expiry in the same PROBE_DIR, and only the final pass materializes
Eng now loads the one shared Voice section; its near-copy that differed only in the em-dash clause is gone.
Before/after as text: Eng now loads the one shared Voice section; its near-copy that differed only in the em-dash clause is gone
Why
Two paid judge panels went red on #3527's screens with every sample, attempt and rerun, naming the same contradictions: review and plan-eng-review. A third red, ship in train 35's gate, hit the 120 s judge deadline and logged nothing but "No completed model response". Now /review and /plan-eng-review give one rule where the judges found two, so those panels stop failing on the prose. A judge that runs out of time now prints one
llm-judge-abortedline saying whether it was throttled, still waiting for headers, or partway through thinking, so the next ship deadline can be diagnosed.Blast radius
The prose edits change only the generated review, plan-eng-review and benchmark SKILL.md files on every host. Their pinned clauses are guarded by
test/review-workflow-clarity.test.ts,test/eng-scope-entry-ap.test.ts,test/review-fix-range.test.tsand the parity and size suites, which I ran (script ran). Every judged case callstest/helpers/llm-judge.ts. The new code there only observes. It counts requests through a pass-throughfetch, swallows its own observer errors, and logs only after an abort. Request bytes, retries, parsing and verdicts are unchanged, which the stream tests prove with a replay that asserts the exact wire body and a case with an unreadable event (script ran).Approvals
Source: gstack-approvals record for flaky-2026-10-28-judges (display only; not an approval citation).
Test Coverage
All new code paths have test coverage. Each new pin and helper test fails with its change stashed: 2 prose pins, plus 4 helper tests (after-headers connect, SDK-retried 429, unreadable event, reason cap) that fail against 2d6c44b, and 3 earlier ones (mid-thinking, no events, cancelled 429 wait).
Tests ran: remote gate (Ubicloud us-east-a2, free tier) 19272
Tests ran: CI free-suite, macos-named-regressions, windows-free-shard: green at d11765d (main merged under GStack Minder's rule 19 grant)
Tests ran: focused local 201
Pre-Landing Review
Pre-Landing Review: 9 issues: 6 auto-fixed, 0 asked, 0 deferred, 3 noted. All 9 were below the blocking floor.
REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=3 fixed=6 scope=frozen fix_checks=1 dispatches=7
Gate edits: 4 listed, 4 read, 0 findings. The gate-diff tool tagged nothing; the hunks are the lowered size pins in
test/fixtures/skill-md-size-allowlist.json,test/helpers/llm-judge.ts, and twoon()stand-ins intest/workflow-judge-cache.test.ts. Thescripts/harness-version.jsonnon-behavioral record (no series reset) is named here as a gate-adjacent edit.Outside review (openai/gpt-6.1-sol): one Low finding, that SDK-internal retries were missing from the diagnostic. It was fixed in 3d372db, and the fix-check found nothing.
Review notes
test/helpers/llm-judge.ts: three concurrent aborted samples with no events log identical lines. This is a nit and is left as is.review/SKILL.md.tmpl§ Re-review: the new sentence classifies superseded-probe reruns as revalidation, which matches the QA section's "revalidation, even after smoke expires". The focused judge at 16c41c8 did not cite this point.review/SKILL.md.tmplStep 5 intro: the wait has no time limit, which is unchanged from the base semantics.Exploratory QA
Not run. The diff is skill prose and test-harness code with no runtime surface. Coverage comes from the source pins and the focused paid judges.
Design Review
No frontend files changed, so design review was skipped.
Eval Results
These were focused paid judge runs (rule 5), each made after a concrete repair:
Paid total: $0.24. Thresholds, samples, trials and case kinds are unchanged.
Greptile Review
No Greptile comments.
Issues
Refs #3527
Verification Results
PREGATE_VERIFY is ok for tree 9127fc588109 at d11765d. The remote gate reported 0 failed, and CI is green at d11765d.
TODOS
No TODO items completed in this PR.
Documentation
Status: updated. One factual addition to
docs/TESTING_INTERNALS.mdnaming the newllm-judge-abortedjudge-cancellation diagnostic.Scope: the committed diff 4b8c03b..3d372db covers 16 files: review, plan-eng-review and benchmark template prose, the voice directive resolver,
test/helpers/llm-judge.ts, size pins and thescripts/harness-version.jsonrecord. There were no staged, unstaged or new files. I inventoried 128 candidate docs and read the judge, deadline and harness-version references in full.Documentation health
llm-judge-abortedstderr line and its fields (attempts, retryWaitsMs, httpRequests, httpStatuses, connectedMs, firstEventMs, lastEventMs, block, thinkingChars, textChars, messageId, requestId, reason capped at 200 characters). It holds counts only and changes no verdict.Coverage debt:
llm-judge-abortedis covered by reference (TESTING_INTERNALS, CHANGELOG) but has no how-to.docs/troubleshooting.mdhas no entry for<test> exceeded its workflow judge work deadlinethat points to the new line. This is a common gap;/document-generatecan fill it.Diagram drift: none. The changed entities appear in no diagram.
Test plan
gstack-pregate --remote(UBI_LOCATION=us-east-a2) at d11765d: 19272 tests, 0 failed, $0.06bun teston the judge, harness-version, size, parity, workflow-clarity, eng-scope, tripwire, bun-entry, module-size and review-fix-range suites at d11765d: 201 pass, 0 failbun run typecheck && bun run typecheck:test: pass;bun run gen:skill-docs --host all: no diff