Skip to content

build(deps): bump the Go toolchain to 1.26.11 - #614

Merged
Totara-thib merged 1 commit into
mainfrom
chore/go-1.26.11
Nov 12, 2026
Merged

Totara-thib merged 1 commit into
mainfrom
chore/go-1.26.11

Conversation

@Totara-thib

Copy link
Copy Markdown
Contributor

The Govulncheck job fails on every run since 2026-11-11 (seen on #613 and #611). This bump fixes it.

Cause: GO-2026-6859 (CVE-2026-97054), published 2026-11-11. A header race in net/http can crash an HTTP/1 server that uses MaxBytesReader. It affects Go 1.26.10, the pinned toolchain, and is fixed in 1.26.11. Plumber runs no HTTP server (no MaxBytesReader or listener in the non-test code), but govulncheck reports net/http as a whole, through 41 call traces.

Change: every exact pin moves to 1.26.11, the same eight files as the 1.26.10 bump (1111d3d):

  • go.mod: toolchain go1.26.11
  • setup-go pins in ci.yml, release.yml, install-channels.yml, plumber-action.yml and codeql.yml
  • Dockerfile: the builder digest moves to sha256:30b1e546..., the index the golang:1.26-alpine tag points to today. Read from Docker Hub's registry API: its linux/amd64 image reports GOLANG_VERSION=1.26.11, built 2026-11-10.
  • CONTRIBUTING.md: the toolchain named in the prerequisites

The go 1.26.0 floor and its CI matrix entry stay.

Not verified locally: neither Go nor a running Docker daemon was available where this was prepared, so the checks on this PR are the test. Govulncheck should pass, and Container Scan and the builds exercise the new digest and toolchain.

🤖 Generated with Claude Code

Go 1.26.11 fixes GO-2026-6859 (CVE-2026-97054), a net/http header race
that can crash an HTTP/1 server using MaxBytesReader. Plumber runs no
HTTP server, but govulncheck flags net/http as a whole, so the
Govulncheck job has failed on every run since the advisory was published
on 2026-11-11.

Every exact pin moves to 1.26.11: go.mod toolchain, the Dockerfile
builder digest (the golang:1.26-alpine index, which ships 1.26.11 since
2026-11-10), and the setup-go pins in ci, release, install-channels,
plumber-action and codeql. The go 1.26.0 floor and its CI matrix entry
stay.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@Totara-thib
Totara-thib merged commit ca8ec1f into main Nov 12, 2026
23 checks passed
@Totara-thib
Totara-thib deleted the chore/go-1.26.11 branch November 12, 2026 16:33
Exypte added a commit that referenced this pull request Nov 20, 2026
* fix(cmd): the SARIF names a nested finding's container in its message, never in a location outside the checkout

GitHub Code Scanning rejects the WHOLE upload when any result location,
a related one included, carries a URI whose scheme is not the checkout's:
`SARIF URI scheme "https" did not match the checkout URI scheme "file"`
(invoke-ai/InvokeAI run 41127816328, 2026-10-30, three nested ISSUE-307
findings pulled in via nschloe/action-cached-lfs-checkout). Since 0.7.x a
nested finding carried the container line as a related location whose
URI was the absolute blob URL, so every repository with one nested
finding and `upload-sarif` on saw its job fail at the upload step.

The container line now closes the result message as an embedded link to
the blob URL (`(defined in [owner/action@ref, action.yml line N](url))`),
the same section 3.11.6 syntax the message already uses for the issue
code; the `url` property keeps the link for SARIF viewers. The result's
one location stays the workflow step the user edits. A direct finding
and a finding under a local outermost composite (ruling L2) are
unchanged.

Proven against Code Scanning itself on thomasboni/nested-actions-a: the
0.7.16 SARIF is refused with `unrecognized SARIF location URI scheme
"https"` three times, the fixed one processes to `complete`.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FUFtr3m8zC2mVNKVTQvaNz

* chore(release): 0.7.17 [skip ci]

## [0.7.17](v0.7.16...v0.7.17) (2026-10-30)

### 🐛 Bug Fixes

* **cmd:** the SARIF names a nested finding's container in its message, never in a location outside the checkout ([5b53f2b](5b53f2b))

* feat(report): cliVersion, configFileSha256 and the Actions run in the JSON report

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0155zD4xr5A8b2CUxqdKMB3U

* feat(score): a keyless Sigstore signer for the score push on GitHub Actions

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0155zD4xr5A8b2CUxqdKMB3U

* feat(score): the score push carries the Sigstore bundle, a signing failure only warns

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0155zD4xr5A8b2CUxqdKMB3U

* feat(score): PLUMBER_SCORE_PAYLOAD_OUT writes the exact pushed bytes

The bytes the CLI signs and posts are the publish payload
(buildPublishPayload, which drops analyzedCiConfig), not the --output
file, so nothing on disk let a user or an e2e verify the Rekor entry
against what was pushed. When PLUMBER_SCORE_PAYLOAD_OUT names a
non-empty path, maybePushScore now writes the payload verbatim there
(0o600, overwriting) right before the POST, whether or not signing
succeeded. A write error is one scoreWarn line and never stops the
push. Env only, no flag: this is a verification aid, not a CI input.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0155zD4xr5A8b2CUxqdKMB3U

* docs(score): the signed score push, the provenance keys and PLUMBER_SCORE_PAYLOAD_OUT

Document the GitHub Actions signing path (Sigstore id-token, Fulcio
certificate, Rekor log entry), the Plumber-Sigstore-Bundle request
header (ignored by a self-hosted score service that does not know
it), the printed Rekor index line, and PLUMBER_SCORE_PAYLOAD_OUT for
verifying a push against its Rekor entry. Document cliVersion,
configFileSha256 and ci in the JSON output schema reference. The
link to the official organizations page of the docs site is not
written yet, per the monorepo spec; refer to the page without a URL.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0155zD4xr5A8b2CUxqdKMB3U

* chore(release): 0.7.18 [skip ci]

## [0.7.18](v0.7.17...v0.7.18) (2026-11-02)

### ✨ Features

* **report:** cliVersion, configFileSha256 and the Actions run in the JSON report ([fdd8faf](fdd8faf))
* **score:** a keyless Sigstore signer for the score push on GitHub Actions ([f341aee](f341aee))
* **score:** PLUMBER_SCORE_PAYLOAD_OUT writes the exact pushed bytes ([c93d1ce](c93d1ce))
* **score:** the score push carries the Sigstore bundle, a signing failure only warns ([9d5a738](9d5a738))

### 📚 Documentation

* **score:** the signed score push, the provenance keys and PLUMBER_SCORE_PAYLOAD_OUT ([602acc3](602acc3))

* ci: lock workflow actions and verify the lockfile on PRs

Onboard every workflow to .github/workflows/actions.lock with
gh actions-lock: it records each action's commit, owner and
repository ids, and the actions it calls in turn. The lockfile now
holds the pins, so `uses:` refs move from SHAs to the exact tags they
pointed to; every locked commit equals the previous SHA pin.

The new Lockfile workflow runs `gh actions-lock --verify` on pull
requests and pushes to main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: document the workflow lockfile and give it a code owner entry

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: verify the workflow lockfile with gh-actions-lock v0.3.0

The lockfile generated with v0.2.0 passes v0.3.0's stricter --verify
unchanged, and a v0.3.0 fix run writes nothing new.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: verify the workflow lockfile with gh-actions-lock v0.4.0

The lockfile passes v0.4.0's --verify unchanged, and a v0.4.0 fix run
writes nothing new.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci(score): publish the Plumber Score with the released action, the source build no longer pushes

* fix(github): a composite step a literal input turns off is not analyzed

A nested step guarded by `if: inputs.repo-checkout != 'false'` was
reported even when the caller passes `repo-checkout: false`, so a step
that never runs could fail the gate.

The condition is now judged on each path of the expansion, from the
caller's with: values and the declared defaults. A step is dropped, with
what it pulls in, only when the condition compares inputs with strings
and is false. Anything else stays listed: another context, a status
function, a bare input or a boolean literal, which GitHub does not read
as a string comparison, and any input whose value is not known.

Values are read as written, from the yaml.v3 tree: yaml.v2 turns
`flag: no` into the boolean false, where the runner passes the text. A
number counts as not known, since the runner normalizes it (1.10 reaches
the action as 1.1).

Fixes #591

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(release): 0.7.19 [skip ci]

## [0.7.19](v0.7.18...v0.7.19) (2026-11-05)

### 🐛 Bug Fixes

* **github:** a composite step a literal input turns off is not analyzed ([eab2f54](eab2f54)), closes [#591](#591)

### 📚 Documentation

* document the workflow lockfile and give it a code owner entry ([665cfc5](665cfc5))

### 👷 CI/CD

* lock workflow actions and verify the lockfile on PRs ([6c31fa3](6c31fa3))
* **score:** publish the Plumber Score with the released action, the source build no longer pushes ([c78b489](c78b489))
* verify the workflow lockfile with gh-actions-lock v0.3.0 ([e11334e](e11334e))
* verify the workflow lockfile with gh-actions-lock v0.4.0 ([247fced](247fced))

* fix(platform): an INVALID merge from the resolve endpoint reports the git host's own errors

A customer run in platform mode printed only "the git host reported this
CI configuration as invalid; the merged pipeline it returned is incomplete"
while GitLab's pipeline editor said the file was valid. The platform had
asked GitLab to merge the configuration with the instance token at the
run's commit, GitLab answered INVALID with its reasons (an include the
token cannot read, for example), and the platform served them as
`ci_errors` on the resolve answer since 2026-08-27. This client had no
field for them: a resolve-sourced INVALID verdict always fell back to the
generic sentence, so the user could not tell a broken file from a token
that cannot read an include.

ResolvedConfig decodes `ci_errors`, the ConfigResolution carries them,
RunContext.ConfigErrors exposes them beside ConfigInvalid (the resolve
lane's counterpart of SnapshotMergeVerdict's errors), and
platformMergeVerdict reports them verbatim under "CI configuration
errors". The generic sentence stays the fallback for a host that sent no
message. A VALID merge and a snapshot-sourced configuration are unchanged.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FUFtr3m8zC2mVNKVTQvaNz

* chore(release): 0.7.20 [skip ci]

## [0.7.20](v0.7.19...v0.7.20) (2026-11-05)

### 🐛 Bug Fixes

* **platform:** an INVALID merge from the resolve endpoint reports the git host's own errors ([3beb903](3beb903))

* fix(platform): a merged results pipeline resolves its configuration at the source branch head

In platform mode the CLI asks the platform to resolve a configuration that
diverges from the snapshot at the job's own commit, CI_COMMIT_SHA. On a
merged results pipeline (or a merge train) that commit is an ephemeral
merge commit on refs/merge-requests/N/merge, which no branch or tag
points to, and GitLab refuses to merge a configuration there: "Could not
validate configuration. The configuration originates from an external
project or a commit not associated with a Git reference (a detached
commit)" (customer report 2026-11-05). The run then evaluated nothing.

The CI environment mapping gains MergeRequestSourceSHA, which GitLab fills
(CI_MERGE_REQUEST_SOURCE_BRANCH_SHA) only on merged results pipelines and
merge trains. When it is set and differs from CI_COMMIT_SHA, the
resolution is asked at the source branch head: on a real ref, carrying
the configuration under review. Everything else still reports the run at
CI_COMMIT_SHA. GitHub leaves the field empty (a pull request's head sha
lives in the event payload, not the environment), so nothing changes
there.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FUFtr3m8zC2mVNKVTQvaNz

* chore(release): 0.7.21 [skip ci]

## [0.7.21](v0.7.20...v0.7.21) (2026-11-05)

### 🐛 Bug Fixes

* **platform:** a merged results pipeline resolves its configuration at the source branch head ([1a8ee58](1a8ee58))

* docs(readme): drop the signing subsection and the scoring sentence

The README grew again. The Sigstore signing details belong to the docs site, and the score badge section reads better without the scoring one-liner. The one link to the removed anchor, in docs/GITHUB_ISSUES.md, now points at the signed push page of the docs site.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ft8dmcMLK7V9XZh7JX4vzs

* fix(platform): a merge request from a fork reports its configuration unavailable instead of invalid

On a merge request from a fork the configuration under review lives in the
source project, while the platform resolves against the job's project.
Neither the merge commit nor the fork's head is a commit the platform can
merge there, and GitLab answers "a commit not associated with a Git
reference", which the run reported as an INVALID configuration (customer
report 2026-11-05; innersource instances live on fork merge requests).

The CI environment mapping gains MergeRequestSourceProjectPath (GitLab's
CI_MERGE_REQUEST_SOURCE_PROJECT_PATH). When it differs from the job's
project path, no sha is handed to the resolution: the merged config is
reported unavailable with the new reason `fork_pipeline`, the pipeline
controls are not_evaluable, and the describe output says in words that the
pipeline controls run again once the change is merged. A fork whose CI
file matches the target's anchor keeps the snapshot path untouched, and a
merge request from the same project is unaffected. GitHub leaves the field
empty.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FUFtr3m8zC2mVNKVTQvaNz
(cherry picked from commit eb63168)

* test(cmd): the fork reason joins the resolution through one tested function

The reason a sha was withheld lands on the resolution through
applyNoShaReason, which sets it only on a divergent, unavailable
resolution (the one that needed a sha): a matching digest whose snapshot
carries no merged config keeps its own reason, since no sha was ever
needed there. Three cases pin it (bot review of PR 602).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FUFtr3m8zC2mVNKVTQvaNz

* chore(release): 0.7.22 [skip ci]

## [0.7.22](v0.7.21...v0.7.22) (2026-11-06)

### 🐛 Bug Fixes

* **platform:** a merge request from a fork reports its configuration unavailable instead of invalid ([8a10aea](8a10aea))

### 📚 Documentation

* **readme:** drop the signing subsection and the scoring sentence ([01466e1](01466e1))

### ✅ Tests

* **cmd:** the fork reason joins the resolution through one tested function ([17aa1b4](17aa1b4))

* feat(platform): the banner names the snapshot lanes carried from an earlier pass

The platform snapshot gains an additive carried_fields member: a map from
lane name (the degraded_fields identifiers) to the RFC 3339 time of the
pass that lane's value really comes from. Per platform ruling R1,
2026-11-06 (carried snapshot lanes), when GitLab refuses one lane of a
nightly snapshot the platform keeps that lane's previous value for up to
two days and dates it there.

SnapshotData decodes the member, and the platform-mode banner prints one
line right after "snapshot collected_at" naming the oldest carried time and
the carried lanes, sorted. Controls keep evaluating on the carried data;
this is reporting only. A snapshot without the member, or with an empty
one, renders exactly as before.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FUFtr3m8zC2mVNKVTQvaNz

* test(platform): the carried-lanes test puts the oldest pass on the last lane

The two-lane case gave the oldest pass to the alphabetically first lane,
so taking the first sorted lane's time instead of the minimum would have
passed. The oldest pass now belongs to the last lane, and a single-lane
case pins the first-entry initialisation.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FUFtr3m8zC2mVNKVTQvaNz

* test(platform): the carried-lanes order test feeds the lanes out of order

The sorted-order guarantee was only exercised with lanes already in
alphabetical order. A new case gives three lanes the same pass time, in
reverse-alphabetical input order, so the sort is tested on its own and a
dropped sort fails almost every run.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FUFtr3m8zC2mVNKVTQvaNz

* chore(release): 0.7.23 [skip ci]

## [0.7.23](v0.7.22...v0.7.23) (2026-11-07)

### ✨ Features

* **platform:** the banner names the snapshot lanes carried from an earlier pass ([fa02563](fa02563))

### ✅ Tests

* **platform:** the carried-lanes order test feeds the lanes out of order ([a521840](a521840))
* **platform:** the carried-lanes test puts the oldest pass on the last lane ([ae251b7](ae251b7))

* ci: run the corpus without the race detector, cache golangci-lint, scan the image only when it changed

The Test job carried 4.5 of a PR's 5 minutes, and one test was the reason: TestCorpus replays 210 captured repositories through the policy engine, 90 of the 91 seconds of test time in the control package, and -race multiplies OPA evaluation by about six. The corpus now runs in its own job without -race; the other 735 tests of the package keep the race detector. Lint restores golangci-lint's analysis cache between runs, and the container scan runs only when the Dockerfile or the module graph changed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ft8dmcMLK7V9XZh7JX4vzs

* ci: keep the corpus under -race, lint through golangci-lint-action, harden the scan gate

TestCorpus is the only t.Parallel test in the control package, so it is
what race-checks the OPA engine's shared caches: the Corpus job keeps
-race and still runs in parallel with Test.

golangci-lint runs through golangci-lint-action, pinned in actions.lock,
in place of the hand-rolled binary cache.

The image scan gate also watches .dockerignore and scans when the base
commit cannot be fetched instead of failing the job.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: trust golangci-lint-action in the Plumber action allowlist

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* build(deps): bump the Go toolchain to 1.26.11 (#614)

Go 1.26.11 fixes GO-2026-6859 (CVE-2026-97054), a net/http header race
that can crash an HTTP/1 server using MaxBytesReader. Plumber runs no
HTTP server, but govulncheck flags net/http as a whole, so the
Govulncheck job has failed on every run since the advisory was published
on 2026-11-11.

Every exact pin moves to 1.26.11: go.mod toolchain, the Dockerfile
builder digest (the golang:1.26-alpine index, which ships 1.26.11 since
2026-11-10), and the setup-go pins in ci, release, install-channels,
plumber-action and codeql. The go 1.26.0 floor and its CI matrix entry
stay.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>

* ci(v1): follow main's Go toolchain bump to 1.26.11

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Thomas Boni <thomas@getplumber.io>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: Thomas Boni <thomas@r2devops.io>
Co-authored-by: Thibaud-Vdb <78480448+Totara-thib@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants