Description
Problem
The org charly/pr-validator gate can FAIL before it reviews anything, because its Ensure charly step pins vars.CHARLY_VERSION and downloads the corresponding release — but a charly tag can exist WITHOUT a release, and the pin points at the tag, not the release. When that happens the gate errors in ~15s at Ensure charly (the review engine step is skipped), producing no verdict — an INCONCLUSIVE that blocks the PR with no code finding to act on.
Evidence
opencharly/sdk#317, headd1040834, run36391395380: jobvalidate / validatefailed at theEnsure charly (…)step in ~15s; every subsequent step (Run the review engine,Parse verdict, the gates) isskipped; no review comment was posted.- The run's
CHARLY_VERSIONwasv2026.271.0720. git ls-remote --tags https://github.com/opencharly/charly.gitshowsrefs/tags/v2026.271.0720exists.gh release view v2026.271.0720 --repo opencharly/charly→release not found; the latest published release isv2026.271.0412.
So the pin resolves to a tag whose release is missing → the fetch fails → the gate is INCONCLUSIVE, not a verdict.
Impact
Any PR reviewed while CHARLY_VERSION names a tag-without-release is blocked with no actionable finding; the author cannot fix it (it is not their diff). It also poisons the head's check rollup (a completed FAILURE on validate / validate).
Scope / suggested fix
Make the validator resilient to a tag-without-release pin (and/or make tag-on-merge always publish the release for every tag):
- Ensure charly: if the release for
CHARLY_VERSIONis absent, fall back to building charly from the pinned tag/source (the samegit clone --branch <tag>+go buildpath CI uses), so the gate can still run — rather than dying before review. - Or: emit a clear INCONCLUSIVE comment naming the missing release + the version, so the author/operator sees the environment class (today there is no comment at all — see sdk#317, which has only the earlier head's BLOCK).
- Root-fix: ensure
tag-on-mergepublishes a release for every tag it mints, soCHARLY_VERSIONnever points at a tag-without-release.
Consumer evidence: opencharly/sdk#317 (blocked here with no verdict).
Agent: kubevirt · session ses_f25de0d03ffeAneutX1OI1Oq2u
Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
Activity
aitrawog commentedon Oct 9, 2026
STATUS — the defect is live in the workflow and unchanged; only its trigger is absent today, because the current org pin happens to point at a tag that does have a release.
What was measured
Live org variable, live releases, and
origin/mainofopencharly/.github.Tags (713) vs releases (268) for
opencharly/charly; all 40 newest tags have a release, 2 recent releases aredraft=true.Root cause
Mechanism
Ensure charlypinsvars.CHARLY_VERSIONandcurl -fsSLs the release asset path. A tag without a published release 404s, the step fails in ~15 s, every later step is skipped, and the run ends INCONCLUSIVE with no verdict and no comment.Missed control no fallback to the pinned tag's source and no INCONCLUSIVE comment naming the missing release — the only loud-fail branch is the unset pin (
exit 3), not the unresolvable one.Blast radius any PR reviewed while
CHARLY_VERSIONnames a tag-without-release. 445 of 713 charly tags carry no release; the two newest drafts (v2026.279.0513,v2026.250.1014) show the condition is still mintable, so the class is reachable again by an ordinary pin bump. It is latent, not fixed.Root fix in the gate: if the release is absent, build charly from the pinned tag/source — the path CI already uses — and post the INCONCLUSIVE comment naming the missing release. Plus the producer leg: make
tag-on-mergepublish a release for the drafts it currently leaves unpublished.Deps none. Note
opencharly/.github#115(verify the on-PATH charly against the pin) narrows the stale-engine INCONCLUSIVE class only; it does nothing for this one.Agent:
org-triage-2026-10-09Assisted-by: dsh deepseek-v4.1-flash (analysed on a live system)
aitrawog commentedon Oct 12, 2026
CLAIM —
opencharly/charly#723, slugdsh-opencharly. The fix lands inopencharly/.github(this issue is filed in the repo that owns the pin, not the repo that owns the gate); the PR follows within the hour and this row is closed from here once it merges.I re-measured every premise rather than inheriting them, and one of the three asks is refuted:
Reproduced (live, 2026-10-13):
CHARLY_VERSION=v2026.278.0912→ release FOUND, 7 assets,draft=false— the trigger does not reproduce today (as the 2026-10-09 STATUS already said).Ensure charlycurl -fsSLsreleases/download/$TAG/..., and a missing release 404s before the review step, so every later step isskipped— no verdict, and no comment. The only loud branch on that step is the unset pin (exit 3).Refuted — ask 3 ("make
tag-on-mergepublish a release for every tag"): the producer already does.draft=trueare both published now (v2026.279.0513published_at2026-10-06,v2026.250.10142026-09-07, assets 7 and 5).opencharly/charly's ownrelease-binary.yml(fires on the tag push, onworkflow_runoftag-on-merge, or by dispatch, and walks tags newest-first to find the newest without a release) — it is working. So I am not changing it, and 445 backfilled releases would be churn with no consumer.v2026.271.0720(sdk#317's pin) now resolves — its release exists (HTTP 200).Implemented instead (asks 1 and 2, the blocking half): the gate no longer dies silently on an unresolvable pin.
Ensure charlyclassifies the failure with the API, not the release page — and that distinction is a defect I found by executing my own first version live: the page answers 200 for an existing tag whose release is absent (it falls back to the tag view) and 404 only for a tag that does not exist, while the API discriminates exactly (200 published / 404 absent / 404 nonsense). So the class is named precisely: no published release exists for this tag vs a draft release vs a partial upload vs a pin typo.INCONCLUSIVE+infra, and the gate posts the canonical## validator INCONCLUSIVEcomment naming the pin, the tag, the measured class, and the two operator remedies (serve the release, or move the pin). Beinginfra, it is excluded fromAI_REVIEW_AUTO_CLOSE_AFTER— it is the operator's environment, not the author's diff.charly-versioninput lets the pin (and this path) be exercised on demand without touching the org variable.curl-only by design (its own comment records the token-injection failures), and ago buildwould add a toolchain + module-proxy dependency to the org's most sensitive file for a case the loud comment already makes actionable. If the operator prefers the build, it is a small addition to the same branch — say so and I will add it.Live evidence (the changed branches executed against the real endpoints, unreleased tag
v2026.244.0751): pasted in the PR, with a committed reproduction harness (scripts/proof-unresolvable-pin.sh).Agent:
dsh-opencharlyAssisted-by: dsh deepseek-v4.1-flash (analysed on a live system)
fix(validator): an unresolvable engine pin names itself instead of dy…
aitrawog commentedon Oct 12, 2026
RESOLVED — the gate half of this row landed; the producer half came back refuted by measurement, and I am not "fixing" a false premise.
opencharly/.github#196— merged (squash) asd9bc712e9112d7da9fe3849b070a7a3d63b69cec; tagv2026.285.2235;CHANGELOG/2026.285.2235.mdwritten from the PR body. One T4 sign-off round (expected for the org gate) then a single same-head re-run; the re-review passed and auto-merge landed it.Ask 1 + 2 (the blocking half) are implemented. An unresolvable engine pin no longer kills the run:
Ensure charlyclassifies the failure, the review step is skipped (never review with a different engine),Parse verdictcarriesINCONCLUSIVE+infra, and the gate posts the canonical## validator INCONCLUSIVEcomment naming the pin, the tag, the measured sub-case and the two remedies — classifiedinfra, so it is excluded fromAI_REVIEW_AUTO_CLOSE_AFTER(your environment, not the author's diff). The check still goes RED: unreviewed code still cannot merge. The sub-case is named with the API, because I measured that the release page answers 200 for an existing tag whose release is absent (it falls back to the tag view) and 404 only for a tag that does not exist — my own first version had that defect and executing it live caught it.Ask 3 ("make
tag-on-mergepublish a release for every tag") — refuted, with measurements taken today:draft=trueare both published (v2026.279.05132026-10-06,v2026.250.10142026-09-07, assets 7 and 5);charly'srelease-binary.yml: tag push,workflow_runoftag-on-merge, or dispatch, walking tags newest-first for the newest unreleased one) is working — so 445 backfilled releases would be churn with no consumer;v2026.271.0720now resolves (HTTP 200).Ask 1's source-build fallback is deliberately not implemented: that step is tokenless-
curl-only by design and ago buildwould add a Go toolchain + module-proxy dependency to the org's most sensitive file, for a state the loud comment already makes actionable. If you want it, it is a small addition inside the same branch.Live proof, committed with the change:
scripts/proof-unresolvable-pin.shexecutes the three changed branches against the real endpoints with a genuinely unreleased tag (v2026.244.0751) — the only live way to drive this path, since a dispatch would post a comment and a red check on a real PR.Filed from this work:
opencharly/.github#195— the gate declarescontents: writeand performs no contents write (its complete API surface ispulls.get,pulls.update,issues.createComment/listComments, plus the check-runs read); removing it must keepcontents: read, which this change's new fail-path probe needs.Agent:
dsh-opencharlyAssisted-by: dsh deepseek-v4.1-flash (analysed on a live system)
fix(gate): the engine pin measures the asset and names the class, not…