Repository navigation
Description
charly/pr-validator: a run can complete FAILURE without ever producing a review, leaving the PR permanently blocked with no verdict and no finding
Problem
For PR opencharly/opencharly#333, head b77cca4, the required validate / validate check went red twice (attempt 1 and a REST re-run as attempt 2) while the run produced no review at all and posted no verdict comment. The PR is therefore BLOCKED by the ruleset with nothing actionable on the thread — the reviewer has no verdict to read, and re-pushing would only spend another run.
Evidence (the run's own artifact, not an inference)
Run 36966957868 (charly/pr-validator, head b77cca44), artifact validator-evidence id 11210138573 — its manifest.txt:
repo=opencharly/opencharly
pr=333
review_rc=
provider_error=
provider_unanswered=
engine_defective=
discarded_verdict=
vars_charly_version=v2026.271.0950
vars_ai_review_provider=ollama-cloud
vars_ai_review_model=deepseek-v4.1-flash
vars_ai_review_base_url=https://ollama.com/v1
vars_ai_review_attempt_timeout=<unset>
and its file inventory: review.log.absent, review.log.lines = 0, review.txt.absent, review.untrusted.txt.absent.
review.log absent + review.log.lines = 0 + review_rc empty means the step's rm -f /tmp/review.txt /tmp/review.log + charly review --out /tmp/review.txt > /tmp/review.log 2>&1 never ran: the step aborted before it. Note that even an instantly-crashing engine would leave a present, empty review.log (the redirection creates the file), and provider_unanswered / engine_defective are empty so the engine's own class outputs were never reached either.
The same window's runs on other heads carry real logs, so the engine and the provider are alive:
| run | head | review.log.lines |
|---|---|---|
36926180473 |
7c93b9e6 |
1917 |
36923129073 |
75344e58 |
1330 |
36966957868 |
b77cca44 |
0 (absent) |
What is needed
A way to see why the review step aborts on such a head — the run's job log through the CLI is unreachable (gh run view / gh run rerun 404 on this ruleset workflow; the first attempt's job log read back BlobNotFound), so the only machine-readable output left is the evidence artifact, which by construction records only what was produced, not why nothing was.
Two things would close this:
- the workflow's own error output for the aborted step to be visible (the job log for the failing attempt should be retained / downloadable), and
- the abort path to be classified: if the step can fail before
charly reviewruns, the run should post its own## Review-shaped notice naming that class (as it already does forprovider unanswered/engine defective), so a red ruleset check is never left without a verdict.
Scope note
This is a request about the workflow in this repo, not about PR #333's diff. I am not re-pushing #333 until the gate has actually reviewed head b77cca4 — a stale verdict on an older head (89dc1099, 4d11c0a) is not a verdict on the current one, and re-firing would spend the block budget on nothing.
Agent: readme-truth · session 2a317871-ba03-4713-89ba-8edbd4059c27
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (analysed on a live system)
Activity
aitrawog commentedon Oct 2, 2026
CLAIM —
readme-truthfiles and owns this; the evidence is held hereFiled from the field: opencharly/opencharly#333, head
b77cca4. The requiredvalidate / validatecheck went red twice (attempt 1 and a REST re-run as attempt 2,POST .../actions/runs/36966957868/rerun→{}) while the run produced no review and posted no verdict — so the PR is blocked by the ruleset with nothing actionable on the thread.The machine evidence is the run's own artifact (
validator-evidence, id11210138573):review_rc=empty,provider_error/provider_unanswered/engine_defective/discarded_verdictall empty, and the inventoryreview.log.absent+review.log.lines=0+review.txt.absent+review.untrusted.txt.absent. Two other heads reviewed in the same window carry 1917- and 1330-line logs, so the engine and provider are alive; the review step aborts beforecharly reviewruns.I hold the run ids, the raw manifest and the comparison runs, and I will verify any fix against a re-run on
b77cca4. Meanwhile #333 is not re-pushed: no verdict exists for that head, and a stale verdict on an older head (89dc1099,4d11c0a) is not one for it.BLOCKS — opencharly/opencharly#333 (its required check cannot go green until this is resolved).
Agent:
readme-truth· session2a317871-ba03-4713-89ba-8edbd4059c27Assisted-by: Claude Code Anthropic Claude Opus 5.5 (analysed on a live system)
aitrawog commentedon Oct 2, 2026
STATUS — root cause narrowed to the runner: this job executes one step fewer and never reaches the review, on a different self-hosted runner than every run that does
review.log.lines36966957868(attempt 2, this issue)b77cca44369261804737c93b9e63692312907375344e5836919634441(conclusion success)e58ec64eCombined with the evidence artifact (
review.log.absent,review.log.lines=0,review_rc=empty, all class inputs empty), the job dies in theEnsure charlystep — beforeRun the review engine, whose first action isrm -f /tmp/review.logfollowed bycharly review … > /tmp/review.log 2>&1; that redirection creates the file even if the engine crashes instantly, so an absent log can only mean the review step never ran.Every run in the window that produced a real review ran on
charly-githubrunner-no-1; the one that produced nothing ran oncharly-githubrunner-no-4and terminated ~1.5x sooner with one step fewer. So this is not a verdict question about the PR: a per-runner early abort leaves the ruleset check red with an empty manifest and no comment.Two asks, both in this repo:
charly-githubrunner-no-4(it aborts this workflow early; nothing in the PR's diff reaches the engine);runner_nameand theEnsure charlystep's output in the evidence bundle, and post a notice on the abort path — then a red check can never again be left with an empty manifest and no verdict, which is what made this cost two runs to diagnose.I have re-triggered the run for head
b77cca4; if it lands on a healthy runner, opencharly/opencharly#333 gets its first real verdict on that head. Nothing is pushed in the meantime — there is no finding to fix.Agent:
readme-truth· session2a317871-ba03-4713-89ba-8edbd4059c27Assisted-by: Claude Code Anthropic Claude Opus 5.5 (analysed on a live system)
aitrawog commentedon Oct 2, 2026
STATUS — the fix for this is pushed as #160
The evidence bundle now records
runner_nameand the review step's outcome — the two fields whose absence made this cost three runs to diagnose — plus two rows in the run summary. Additive to the reporting path only:if: always()+continue-on-error: truestay, and no verdict logic changes.Acceptance is this repo's own gate, the offline harness that runs the real
run:bodies:python3 .github/tests/validator-gate-harness.py→ ALL PASS: 298 assertions across 18 scenarios, on the committed head4ba3295.Still open, and both need whoever owns the runners / the pin config:
charly-githubrunner-no-4— the run that reached no review is the only one on it, and the only one that executed one step fewer (14 vs 15);curlfrom GitHub releases underset -e(that step's own comment already records the per-IP abuse limit,curl exit 22). A failure there is exactly what "red check + empty manifest + no verdict" looks like from outside.One thing this change could NOT include, filed separately as #159:
steps.ensure-charly.outcomeis not referenceable at all — the offline gate'sgh_to_pyevaluator rejects a hyphenated step id (string indices must be integers), while renaming the id fails the harness's own id contract (expected exactly one step with id='ensure-charly', found 0). So "which step died" is still only answerable as the review step never ran (review_rcempty +review.log.absent) plus the runner name — which together do localize it. The evaluator fix is its own change to a self-modifying-security surface.Agent:
readme-truth· session2a317871-ba03-4713-89ba-8edbd4059c27Assisted-by: Claude Code Anthropic Claude Opus 5.5 (analysed on a live system)
aitrawog commentedon Oct 2, 2026
STATUS — sharper, and a correction to my own earlier reading: the review step STARTS and is killed (137) during a runtime download of
plugin-reviewAttempt 3 of run
36966957868(headb77cca44) finally produced the gate's class comment (## validator INCONCLUSIVE, 05:36Z,review exit code: 137) and a real artifact (11211755015). Itsreview.logis TWO lines:Correction to my earlier comment on this issue: I read a "14 vs 15 steps across runners" split as the shape of the fault. Attempt 3 ran on the SAME
charly-githubrunner-no-4with 15 steps — so the step count is not a stable signal, and that inference is withdrawn. What IS stable: on-no-4the review log is 2 lines and the run ends 137; on-no-1the same workflow produces 1330–1917 lines and completes.What the two lines mean. The workflow sets
CHARLY_PLUGIN_DIR=$D/plugins(line 252) after extracting the pinnedcharly-plugins-linux-amd64.tar.gzinto$D/plugins— yet the engine still fetchedplugin-review:mainfrom the network, i.e. it did not findplugin-reviewamong the plugins it was told to load, and that runtime download was then killed (137, SIGKILL). Two candidates, both checkable:v2026.271.0950) does not shipplugin-review; or$D/pluginsdoes not happen on the path taken (ensure-charly's body — theif: always()evidence step records the outcome).Why it matters beyond one PR: any head whose review falls into the runtime download dies the same way — the gate never exercises the diff, and the only outward signal is a red check plus a 2-line log.
And this shifts the ask. Runner hygiene is no longer the whole story: the durable fix is in the pinned-plugin path (bundle contents and/or
CHARLY_PLUGIN_DIRwiring). My #160 recordsrunner_name+ the review step's outcome, which is what made this reading cheap — but it is observability; the abort itself needs the plugin path fixed.Agent:
readme-truth· session2a317871-ba03-4713-89ba-8edbd4059c27Assisted-by: Claude Code Anthropic Claude Opus 5.5 (analysed on a live system)
aitrawog commentedon Oct 2, 2026
STATUS — the plugin IS in the pinned bundle; the runtime fetch is resolved in the REVIEW CONFIG repo (opencharly/action-review), and the fix belongs there
Measured in this order:
pr-validator.ymllines 247-252:curlthe pinnedcharly-plugins-linux-amd64.tar.gz→tar -xzf … -C "$D/plugins"→echo "CHARLY_PLUGIN_DIR=$D/plugins" >> "$GITHUB_ENV". So my earlier "not wired" hypothesis is out.plugin-review— listing thev2026.271.0950asset (100,321,571 bytes, 25 entries):extracted directly under
$D/plugins, exactly where the loader is told to look.3. Yet the engine still fetched it over the network — attempt 3's 2-line
review.log(… Downloading github.com/opencharly/plugin-review:main...) ending inreview_rc=137.So the download is not a fallback for a missing local plugin. It is a declared runtime resolution, and it does not originate in this repo: the review step
cd "$GITHUB_WORKSPACE/runner-config"(line 354) — the checkout of opencharly/action-review (line 199) — and runscharly review --out /tmp/review.txt > /tmp/review.log(line 365) in that project's context. That repo's project config is where theplugin-reviewref is being resolved; I have not read or edited it (another repo, from here).Consequences. (a) The gate is not hermetic — it fetches its own review engine from GitHub on every run. (b)
mainis a moving ref, which the org's own pin discipline forbids. (c) When that fetch dies (137, SIGKILL — OOM or a severed stream), the run produces no verdict at all, and the only outward trace is a red check plus a 2-line log. That is the class this issue exists to bound.Where the fix belongs:
opencharly/action-review— pin theplugin-reviewref, or drop the ref so the bundled plugin underCHARLY_PLUGIN_DIRis used (the bundle above proves that is possible today). Neither is a change to this repo.And it is now biting this repo too: #160's own validator run failed the same way — steps 6-11 skipped, evidence bundle succeeded, upload still in progress — so the gate's own repo currently cannot be validated either. The
action-reviewfix is the unblock for both, not optional polish.Agent:
readme-truth· session2a317871-ba03-4713-89ba-8edbd4059c27Assisted-by: Claude Code Anthropic Claude Opus 5.5 (analysed on a live system)
aitrawog commentedon Oct 2, 2026
STATUS — correction to my own comment above: the ref is pinned to a tag, not
main; and the log/config disagreement is itself the thing to look atI said the review config pulls
plugin-reviewatmain— a "moving, unpinned ref". That is wrong, and I read the file rather than leaving it as inference.opencharly/action-review/charly.yml, line 29:It is a pinned tag. So the network fetch is the resolution of a
@github.comref that is correctly pinned — and the fix is therefore not "pin it" but one of:v2026.271.0950) already shipsplugin-review, andCHARLY_PLUGIN_DIR=$D/pluginspoints at it. The config's@github.comref overrides that and forces the fetch.v2026.270.1323vs whatever the bundle carries atv2026.271.0950). If the declared version and the bundled version differ, the resolver has a reason to go to the network for the declared one.The discrepancy worth the owner's attention, stated exactly: the live log line reads
while the config declares
.../plugin-review/candy/plugin-review:v2026.270.1323. A pinned ref that logs as:mainmeans either (a) the log prints a resolution target other than the declared ref, or (b) an earlier resolution step falls back to a default branch before the pinned ref is honoured. Whichever it is, that is the path to instrument — and it is where the 137-terminated download comes from.What I have and have not done: I read the file via the API (read-only, no clone, nothing edited — a different repo, per R9). I have not traced the resolver's fallback logic; that belongs to
opencharly/action-revieworplugin-review, and I am not claiming it.The rest of my earlier comment stands: the bundle ships the plugin, the extraction is unconditional, and the download is what gets killed.
Agent:
readme-truth· session2a317871-ba03-4713-89ba-8edbd4059c27Assisted-by: Claude Code Anthropic Claude Opus 5.5 (analysed on a live system)
aitrawog commentedon Oct 2, 2026
BLOCKS — the ref is not the defect; two measured causes, one of them outside this repo, and I am not shipping a guess on the org gate
I was asked to fix the
action-reviewref. I did the reading instead of the edit, because the measurements say a version bump would not fix this and would be an unvalidated change to the gate's own config. Stating exactly where I am, so the right owner can act.What is measured (all from files and live runs):
runner-configis a checkout ofopencharly/action-reviewatmain(workflow lines 195–199), soaction-review/charly.ymlis the governing config — and its onlyplugin-reviewref is line 29, pinned to a real tag,v2026.270.1323(5 releases behind the currentv2026.272.0450). It is not unpinned and notmain.review-contract(which declares that ref) is already in thereview-runnerweld list, so the image definition does pullplugin-review— the weld is not simply missing this line./usr/lib/charly/plugins" — alayer-charlyweld that has not landed./usr/lib/charly/plugins… SetCHARLY_PLUGIN_DIRto load plugins from a custom location." So the charly that actually executed was not the installed release — while the workflow's ownEnsure charlystep expects the self-hosted image to make it a no-op, and separately exportsCHARLY_PLUGIN_DIR=$D/plugins(bundle measured to contain./plugin-review). A dev/worktree build ignores both locations, which explains the network fetch that then died (137).Why I am not editing the ref: bumping
v2026.270.1323→v2026.272.0450is a behavioural change to the org's gate with no measured benefit — the fetch happens regardless of which pinned tag is declared, because the local resolution is failing for the reasons above. That would be atheoretical suggestionon a self-modifying-security surface, so it does not ship.The two named causes to fix, in order: (a) the runner is running a dev/worktree charly where the image should provide an installed one — that is the proximate cause and it is runner-side; (b) the
layer-charlydefault variant does not yet bakeplugin-review(the "charly weld PR" its own comment names), so even a correct installed charly has nothing local to satisfy the contract's declared version.My state: a worktree/branch
feat/gate-plugin-weldonopencharly/action-reviewexists in my session, empty — no commit, nothing pushed. I created it intending the ref fix; the measurements above are why nothing went in it. It stays empty unless the owner wants it used for (b).Agent:
readme-truth· session2a317871-ba03-4713-89ba-8edbd4059c27Assisted-by: Claude Code Anthropic Claude Opus 5.5 (analysed on a live system)
fix(gate): record the runner and the review step's outcome in the abo…
aitrawog commentedon Oct 2, 2026
RESOLVED — fixed by #160, merged
4b4826a6, taggedv2026.275.1832Closing this as its own fix, per rule 9 (an issue resolved by a merged PR is closed by an agent with the merge linked). What landed, and what the field now shows:
pr-validator.yml's evidence bundle now recordsrunner_nameand the review step's outcome, with two matching rows in the run summary. That is exactly the pair whose absence made this cost three runs to diagnose — the bundle could say what was produced but never where it ran. The natural third field,steps.ensure-charly.outcome, still cannot be referenced: the offline gate's evaluator rejects a hyphenated step id, so it is filed as validator-gate-harness: the offline expression evaluator cannot parse a hyphenated step id (steps.<id>.<field>) #159 rather than bolted on here.charlywas a dev/worktree build that did not load the installed package's plugins, socharly reviewwent to the network forplugin-reviewand was SIGKILLed (review_rc=137). That came from the #717 closure alignment (charly#749+layer-charly#13), and it has stopped: every run since produces a review. On this repo's own workflow, the gate returned a real## Review — PASSon fix(gate): record the runner and the review step's outcome in the abort evidence (#158) #160's headbc255d3at 18:31:42Z, and a real BLOCK on refactor(harness)!: the umbrella is the sole harness-config home; retire the parity task (successor to #332) opencharly#333 at 18:29Z — neither verdict-less.## validator INCONCLUSIVEclass comment is the abort-path notice, and it fired on attempt 3 of the very run in this report (review exit code: 137) — so a red check without a verdict was already transient once the mechanism was reached. With the trigger fixed upstream, a first-attempt abort that leaves a red check with no notice at all has not been observed since. If one is ever seen again, that is a fresh report with fresh evidence, not this one.Field proof of the whole chain: run
.github37047813838(headbc255d3) completed success; its PASS armed native auto-merge; the squash landed as4b4826a6, andtag-on-mergewroteCHANGELOG/2026.275.1832.mdand thev2026.275.1832tag from this PR's body.Note: #159 stays OPEN — the evaluator gap it describes is untouched by this fix.
Agent:
readme-truth· session2a317871-ba03-4713-89ba-8edbd4059c27Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)