Repository navigation
Conversation
… provider-unanswered runs
The gate conflated a provider-unanswered run with a code finding: every run
that could not obtain a verdict died with an ambiguous red check and NO PR
comment, so a stalled connection looked like a BLOCK minus its information.
- Pin charly v2026.254.1902 — the first release whose plugin bundle carries
plugin-review v2026.254.1719 (timeout-class taxonomy + INCONCLUSIVE marker);
verified against the published asset.
- Run review plan: capture the review exit code instead of letting bash -e
abort the step, clear stale /tmp/review.txt, classify the run
(provider_unanswered), and retry ONCE in-job (30s) before giving up.
- Parse verdict: a missing Verdict line is now the INCONCLUSIVE class, not a
blind exit 2.
- Gate (inconclusive) [new]: posts an honest PR comment ("provider did not
answer — not a BLOCK; no code finding") and exits 3, keeping the required
check RED so unreviewed code cannot merge. Gate (BLOCK) is unchanged.
- Header RCA: the runner->provider path (vars.REVIEW_RUNNER_LABEL and the
AI_REVIEW_* endpoint vars are the real remedies; a timeout bump cannot cure
a stall).
- Docs (same commit, same contract): README's gate-mechanism version-surface
sentence still documented the workflow default as v2026.251.1947 while the
workflow now defaults to v2026.254.1902 — the doc contradicted the workflow
it describes, so it is corrected here rather than left to a follow-up.
Behaviorally verified: the modified run: blocks execute in a harness with
stubbed charly/gh across 6 scenarios (PASS / BLOCK / provider-unanswered /
verdict-less / retry-heals / mixed); actionlint rc=0.
Assisted-by: pi (opencharly worker lane)
Review — BLOCKHead SHA: Change class: CI/workflow logic + docs — 2 files, 1 commit. Self-modifying gate change (T4): this PR edits the workflow that gates it. Per ground rule 3 I am not blocking on the unobservable self-gated end-to-end run; the blocks below are defects that are fixable without the install merging. Security screen: T4 finding — the diff rewrites the gate's own verdict/exit machinery. The red-check invariant is preserved (every non-PASS path still exits non-zero), so this is not a weakening; it is a guardrail change that needs the sign-off in block 5. Blocks
Verdict: BLOCK ollama/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: CI/workflow logic + docs — 2 files, 1 commit. Self-modifying gate change (T4): this PR edits the workflow that gates it. Per ground rule 3 I am not blocking on the unobservable self-gated end-to-end run; the blocks below are defects that are fixable without the install merging. Security screen: T4 finding — the diff rewrites the gate's own verdict/exit machinery. The red-check invariant is preserved (every non-PASS path still exits non-zero), so this is not a weakening; it is a guardrail change that needs the sign-off in block 5. Blocks
Verdict: BLOCK ollama/deepseek-v4.1-flash — action-review. |
|
Superseded by #93. #92's BLOCK findings are all fixed in the new atomic branch feat/validator-inconclusive-v2 (one commit 1f4fd4f, 3 files): F1/B8 the in-job retry is REMOVED (the banned sleep/retry-on-flake with unnamed magic numbers; the workflow now retries nothing in the review path); F2/R1-R2 the RCA header is internally consistent with named live witnesses (distro-cachyos #81 real BLOCK 16:31Z; charly #589 real PASS 18:50-19:02Z) and states plainly that neither a longer timeout nor an in-job retry can cure a stall; F3/A1 the version-pin justification is pasted (strings of both releases' bundled plugin-review: marker + AI_REVIEW_ATTEMPT_TIMEOUT present in v2026.254.1902, absent in v2026.251.1947); F4/R10 in-repo coverage committed (.github/tests/validator-gate-harness.py, python3 stdlib only, 46 assertions / 5 scenarios green); F5/T4 the maintainer-sign-off requirement is recorded in the workflow header with the operator direction quoted in the body. |
Summary
Makes the org gate honest about provider-unanswered runs and pins the charly release that carries the timeout-class taxonomy. ONE atomic commit (B15):
.github/workflows/pr-validator.yml+ the README default.TAG="${CHARLY_VERSION:-v2026.251.1947}"->v2026.254.1902— the first charly release whose bundledplugin-reviewcarries the taxonomy. Verified against the published assets:stringsofplugin-reviewinside each release'scharly-plugins-linux-amd64.tar.gzshowsinconclusive: all %d attempts timed out+AI_REVIEW_ATTEMPT_TIMEOUTpresent in v2026.254.1902 and absent in v2026.251.1947.bash -eabort the step (the old shape hard-failed the required check with ZERO comments); bounded in-job retry (2 attempts, 30 s — the org's proven spaced-re-run remedy, automated);Parse verdictno longerexit 2s blindly (a missing Verdict line -> INCONCLUSIVE; a multi-line value -> AMBIGUOUS, which previously broke$GITHUB_OUTPUT); a newGate (inconclusive)posts an honest PR comment (class, attempts, operator levers, log tail) and exits 3.context deadline exceeded (Client.Timeout exceeded while awaiting headers); the cause is the runner -> provider PATH (GitHub-hosted egress;runs-on: vars.REVIEW_RUNNER_LABEL || ubuntu-latest, no self-hosted runner registered), NOT model latency and NOT a timeout value — the same provider measured healthy from a residential path (0.5 s small payload, 1.55 s on a 95 KB body, 12-way burst, all HTTP 200). Explicitly: a longerAI_REVIEW_ATTEMPT_TIMEOUTcannot cure a stall. Operator levers named:vars.REVIEW_RUNNER_LABELandvars.AI_REVIEW_BASE_URL/PROVIDER/MODEL.v2026.251.1947->v2026.254.1902(it contradicted the workflow). Other occurrences triaged and left (historical CHANGELOG entries; a comment inside the verified blob).How tested (verbatim)
Behavioral harness (out-of-tree, executes the REAL
run:blocks in a GitHub-Actions-like environment: separatebash -eper step, per-step$GITHUB_OUTPUT,if:/${{ }}evaluated, stubbedcharly/gh/sleep): 6/6 scenarios PASS —The plugin's exact marker (plugin-review v2026.254.1719, review.go:364) is consumed:
inconclusive: all N attempts timed out — the LLM provider did not respond within the attempt timeout (provider unanswered); this is NOT a review verdict — re-run the gate(stderr; exit 1). Note--out /tmp/review.txtis written ONLY on full success — hence the clear-first + captured-log design. Class detection fails safe (an upstream rewording still yields INCONCLUSIVE/exit 3).Rulebook compliance
exit 2/step-failure shape is replaced, not shadowed.stringscomparison of both releases.run:blocks ran in the harness (6/6),actionlintrc 0, YAML parse OK, blob sha pinned. The change's runtime effect on a real PR is exercised by this very PR's own gate run.Change classification
Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (analysed on a live system)