Skip to content

chore(v1): sync main into release/v1 - #647

Merged
Exypte merged 34 commits into
release/v1from
sync/main-into-release-v1-2026-11-25
Nov 25, 2026
Merged

Exypte merged 34 commits into
release/v1from
sync/main-into-release-v1-2026-11-25

Conversation

@Exypte

@Exypte Exypte commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Merges main (798fd9f) into release/v1, as rule 4 of v1/AGENTS.md describes.

Main gained two changes since the last sync (#622): the adopters row in README.md (#613) and docs/RELEASING.md (#601). The CI and toolchain commits in the merge came in with #622 already. The repo only allows squash merges, so #622 left the merge base at 0.7.16, and git log origin/release/v1..origin/main still lists main's commits from 0.7.17 on. Every sync will show them until a real merge commit lands on release/v1.

Conflicts

go.mod and go.sum conflicted on the lines release/v1 added: spf13/viper and its indirect requirements, and rs/zerolog. Both files keep release/v1's version, which only adds lines to main's (rule 2). No dependency version changes.

After the merge, the tree outside v1/, .agents/, .claude/, skills-lock.json and .github/workflows/v1.yml matches origin/main except for those go.mod/go.sum additions and the branches: [main] filter in claude-pr-checks.yml, install-channels.yml, plumber-action.yml and scripts-test.yml. git log origin/main --not HEAD is empty.

go mod tidy would add a frankban/quicktest line to go.sum. That gap was already on release/v1 before this merge, so it stays out of this PR.

The old sync/main-into-release-v1 branch from #622 still exists, so this one has a date suffix. scope skips it all the same.

Tests

No golden changed. The e2e suites weren't run: no CLI code changed.

$ go build ./... && go test ./...        # root and v1/
all packages ok

$ make -C v1 test-integration
go test -tags cli -count=1 ./test/v0/local ./test/v1/local
ok  	github.com/getplumber/plumber/v1/test/v0/local	3.351s
ok  	github.com/getplumber/plumber/v1/test/v1/local	1.237s

$ make -C v1 lint
golangci-lint run -c .golangci.yml ./...
0 issues.

🤖 Generated with Claude Code

thomasboni and others added 30 commits October 30, 2026 16:09
…, 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
## [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))
… JSON report

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

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0155zD4xr5A8b2CUxqdKMB3U
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
…CORE_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
## [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))
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>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
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>
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>
## [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))
… 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
## [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))
…t 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
## [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))
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
…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)
…nction

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
## [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))
…arlier 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
…st 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
…rder

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
## [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))
…an 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
…arden 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>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Totara-thib and others added 4 commits November 12, 2026 17:33
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>
Adds docs/RELEASING.md, linked from the README: how a push to main becomes a release (version rules, the jobs of release.yml, why the image is built before the tag, propagate.yml, install-channels.yml, what a release publishes, what stays manual, what to do when a step fails) and the known gaps between the workflows and CONTRIBUTING.md. The first draft's Mermaid diagram was dropped in review; the text stands on its own.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Both projects merged the Plumber workflow and were missing from the
"Securing the workflows of" row:

- InvokeAI (29k stars), invoke-ai/InvokeAI#9944 then #10109, runs it on
  its pull requests. It sits between Lightpanda and Delve.
- Clash Nyanpasu (13.3k stars), libnyanpasu/clash-nyanpasu#6286, shows
  the score badge in its README and has kept the check since, moving it
  to a paths filter and a weekly run in #6323 and #6324. It sits between
  Duplicati and Resty.

Both use the organization's own avatar, like the other entries.

Star counts read from the GitHub API on 2026-11-12, rounded down:
Lightpanda 41.9k, Duplicati 15.1k, nginx-ui 11.7k, Bunkerity 11.2k,
Stellarium 10.1k, intuitem 4.6k. Delve and Resty are unchanged.

The table is split into two rows of six: twelve cells need about 1080px
and the README column on the repository home page is narrower, so a
single row would scroll sideways.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Merges origin/main (798fd9f) into release/v1: the adopters row in
README.md (#613) and docs/RELEASING.md (#601). go.mod and go.sum keep
release/v1's added requirements.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Exypte
Exypte merged commit ad38434 into release/v1 Nov 25, 2026
7 checks passed
@Exypte
Exypte deleted the sync/main-into-release-v1-2026-11-25 branch November 25, 2026 15:01
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.

4 participants