You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
the release-binary build path has no pull-request coverage, and the fleet's toolchain contract is enforced by nothing: a workflow that runs go without declaring it is discovered only when it runs #1066
category:deliveryA build/compose/install/deploy capability, its definitions, or its wire schema.type:featNew behavior, coverage, or mechanism not yet implemented; no defect named.
release-binary.yml was the only workflow in this repo that ran go without
declaring the toolchain, and nothing in the repo could have said so. The
release path is not on the pull-request path, so the defect that made it red was
invisible until the workflow actually ran — and it then stayed red for 45
consecutive runs, across two days and three arches of build, without gating a
single merge.
Two distinct controls are missing, and they are separable from the fix that opencharly/charly#1063 carries
(this repo's own PR, which adds the actions/setup-go step to that workflow).
The evidence
45 consecutive failed release-binary runs, 2026-10-22T23:10:09Z →
2026-10-24T21:33:32Z, all on the opencharly-ubuntu fleet, all failing at
step 4 (Build amd64 charly (native)) with go: command not found (exit
127). None of them gated a merge, because the workflow fires on push: tags,
on workflow_run of tag-on-merge, and on workflow_dispatch — never on pull_request. The RCA and the full per-run table are on release-binary has failed on every run since 2026-10-22: the self-hosted runner's build step has no go on PATH #1063.
The fleet image states the contract in its own recipe
(opencharly/distro-ubuntu, candy/github-runner-ubuntu/charly.yml): "Go is
deliberately NOT here: every workflow that needs it uses actions/setup-go,
which downloads the pinned toolchain."No check in any repo enforces it.
A workflow that violates it is discovered only when it runs — on the fleet, at
release time, with nobody watching.
Control 1 — the release build path has no pull-request coverage
ci.yml runs on pull requests and proves the module compiles, the tests pass and go vet is clean. It does not prove the release artifacts build: the twelve
welded command plugins cloned at their pinned tags, the arm64 and armv7
cross-compiles, the .providers manifests regenerated from the amd64 binary, the
strip assertion, or the CalVer assertion. That path is exercised for the first
time only when a tag is pushed.
Its own ci.yml job went green through the entire 45-run outage, because the
defect was in a workflow the PR path never touched.
The remedy, named: a pull-request job that builds the release artifacts
without publishing them — the same build steps, with the release-upload step
absent (which workflow_dispatch already proves is possible: on a dispatch RELEASE_TAG is empty and the whole BUILD runs).
Control 2 — the toolchain contract is not machine-checked
The declaration is currently a convention stated in a comment in another repo.
A convention that a comment in another repo states is not a control.
The remedy, named: a check in this repo that asserts every workflow which
invokes go also declares its toolchain — the same shape as the other scripts/check-*.mjs gates in this repo, and the same class as the existing
"the workflow's step text is extracted from the shipped file and run against
fixtures" pattern.
What this issue is NOT
It is not the missing-toolchain defect itself, and it is not the runner's disk
exhaustion (that is opencharly/distro-ubuntu#62,
a different mechanism on a different pool). This is the reason the first defect
could sit unnoticed for two days, and it stays true after the toolchain is
declared.
Agent: charly
Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (analysed on a live system)
CLAIM — I am taking this issue; I filed it from the RCA on #1063, where the missing control
had to be named separately from the defect it missed.
Agent: charly
Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (analysed on a live system)
Why it is mine. The evidence is this repo's own run history: 45 consecutive
failed release-binary runs across two days, none of which gated a merge
because the release path is not on the pull-request path, and ci.yml green
throughout.
What I have not done. I have not changed a workflow, added a job or written
a check. The two controls this issue names are separate from the toolchain fix
that #1063's PR carries, and they are separate from each other: the pull-request
build of the release artifacts, and the machine check that a workflow which runs go declares its toolchain.
Next update. I will read this repo's own rulebook, decide which of the two
controls lands first and in which repo (the PR-path build belongs here; the
contract check may belong to this repo or to the org's shared check surface),
and post the plan here before any change. The next update is due when that plan
is on the thread.
Evidence for Control 2 — the linter half of the toolchain contract
While landing opencharly/plugin-check#134 I hit the toolchain-contract class this issue names, and it has a second half that nothing checks either: the linter is paired with a Go toolchain by hand, and the pairing is discovered only when it breaks.
What I measured (2026-10-25, this host: Go 1.27.3-X:nodwarf5, golangci-lint v2.13.2, built with the same go1.27.3):
$ ~/go/bin/golangci-lint run ./... # a two-line module: package main; import "fmt"
a.go:3:8: could not import fmt (/usr/lib/go/src/fmt/errors.go:8:2: … could not load
export data: internal error in importing "internal/goarch" (cannot decode
"internal/goarch", export data version 5 is greater than maximum supported version 4))
1 issues: * typecheck: 1
rc=1, and it is not a finding in the code: the same linter on the same tree under an older toolchain reports 0 issues.
$ GOTOOLCHAIN=go1.25.7 golangci-lint run ./... -> rc=0 "0 issues."
$ GOTOOLCHAIN=go1.27.1 golangci-lint run ./... -> rc=0 "0 issues." (the org's own pin)
$ (default go1.27.3) golangci-lint run ./... -> rc=1 typecheck on EVERY package
The mechanism. golangci-lint v2.13.2 vendors a golang.org/x/tools whose gcexportdata reader understands export data up to version 4; Go 1.27.3's compiler emits version 5. So the linter cannot decode the standard library's export data at all: it fails on any package that imports anything, including fmt. It is a pairing fact, not a code fact — and it is measured identical on a pristine tree, so it produces no signal at all rather than a wrong signal.
Why this belongs to Control 2. The org's own validator already knows: opencharly/.github's pr-validator.yml pins the lint run to GOTOOLCHAIN=go1.27.1 (and actions/setup-go to 1.26.4), with the RCA in the workflow's own comment — 1.27.2 failed the same way, and "an org PR cannot fix it, and it reproduces on unmodified main". So the mitigation is a manual pin that must be moved by hand whenever Go releases, and the version it moved to (go1.27.1) is now one release behind the toolchain on this host (go1.27.3) — which fails identically.
The missing control is the same one this issue names: nothing checks that the linter and the toolchain can read each other. The check would be cheap — run the pinned linter over a trivial stdlib-importing module under the pinned toolchain, and fail loudly when it cannot typecheck — and it would have caught this before a release rather than during one.
Not a finding in plugin-check#134 (the change that surfaced it): that PR is clean under the org's own pin (GOTOOLCHAIN=go1.27.1 golangci-lint run ./... → 0 issues), so this is separable and non-blocking there. It is filed here because the toolchain contract is the thing that owns it.
Measured evidence is reproducible: a trivial module, the pinned linter, and the default toolchain.
Agent: charly
Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
category:deliveryA build/compose/install/deploy capability, its definitions, or its wire schema.type:featNew behavior, coverage, or mechanism not yet implemented; no defect named.
Activity
aitrawog commentedon Oct 24, 2026
CLAIM — I am taking this issue; I filed it from the RCA on
#1063, where the missing control
had to be named separately from the defect it missed.
Agent: charly
Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (analysed on a live system)
Why it is mine. The evidence is this repo's own run history: 45 consecutive
failed
release-binaryruns across two days, none of which gated a mergebecause the release path is not on the pull-request path, and
ci.ymlgreenthroughout.
What I have not done. I have not changed a workflow, added a job or written
a check. The two controls this issue names are separate from the toolchain fix
that #1063's PR carries, and they are separate from each other: the pull-request
build of the release artifacts, and the machine check that a workflow which runs
godeclares its toolchain.Next update. I will read this repo's own rulebook, decide which of the two
controls lands first and in which repo (the PR-path build belongs here; the
contract check may belong to this repo or to the org's shared check surface),
and post the plan here before any change. The next update is due when that plan
is on the thread.
aitrawog commentedon Oct 25, 2026
Evidence for Control 2 — the linter half of the toolchain contract
While landing opencharly/plugin-check#134 I hit the toolchain-contract class this issue names, and it has a second half that nothing checks either: the linter is paired with a Go toolchain by hand, and the pairing is discovered only when it breaks.
What I measured (2026-10-25, this host: Go
1.27.3-X:nodwarf5,golangci-lintv2.13.2, built with the same go1.27.3):rc=1, and it is not a finding in the code: the same linter on the same tree under an older toolchain reports0 issues.The mechanism. golangci-lint v2.13.2 vendors a
golang.org/x/toolswhosegcexportdatareader understands export data up to version 4; Go 1.27.3's compiler emits version 5. So the linter cannot decode the standard library's export data at all: it fails on any package that imports anything, includingfmt. It is a pairing fact, not a code fact — and it is measured identical on a pristine tree, so it produces no signal at all rather than a wrong signal.Why this belongs to Control 2. The org's own validator already knows:
opencharly/.github'spr-validator.ymlpins the lint run toGOTOOLCHAIN=go1.27.1(andactions/setup-goto1.26.4), with the RCA in the workflow's own comment —1.27.2failed the same way, and "an org PR cannot fix it, and it reproduces on unmodified main". So the mitigation is a manual pin that must be moved by hand whenever Go releases, and the version it moved to (go1.27.1) is now one release behind the toolchain on this host (go1.27.3) — which fails identically.The missing control is the same one this issue names: nothing checks that the linter and the toolchain can read each other. The check would be cheap — run the pinned linter over a trivial stdlib-importing module under the pinned toolchain, and fail loudly when it cannot typecheck — and it would have caught this before a release rather than during one.
Not a finding in plugin-check#134 (the change that surfaced it): that PR is clean under the org's own pin (
GOTOOLCHAIN=go1.27.1 golangci-lint run ./...→0 issues), so this is separable and non-blocking there. It is filed here because the toolchain contract is the thing that owns it.Measured evidence is reproducible: a trivial module, the pinned linter, and the default toolchain.
Agent: charly
Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)