Repository navigation
chore(ci): run Woodpecker CI 3.21.0 - #5540
shepherdjerred wants to merge 1 commit into
Conversation
|
This change is part of the following stack: Change managed by git-spice. |
|
Automatic reviews are disabled for this repository. Configure in Code Review Settings. |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
924f965 to
c1f6bff
Compare
|
@codex review Automated re-review request for |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
91a4476 to
e7e6659
Compare
Why Woodpecker 3.21.0 is the newest release (one minor from our 3.20.1). It restores running tasks with a fresh lease across server restarts, watches only each step's own pod in the Kubernetes backend (agent memory no longer grows with steps x namespace pods), cleans up every workflow resource on teardown, compares agent tokens in constant time, and only auto-cancels older pipelines. Upgrade review (3.20.1 -> 3.21.0 release notes and v3.20.1..v3.21.0 source): no breaking change for this deployment. - Migrations: drop-024-migration-artifacts (drops the stray singular `user`/`org` tables migration 024 created; real tables are `users`/`orgs`), add-agent-token-hash (adds and backfills agents.token_hash), remove-sqlite-legacy-inline-unique (SQLite only, no-op on our PostgreSQL). Short and additive; 3.20.1 still runs on the migrated schema. - Config extension: the server now rejects a null config entry from an extension; ours never returns one. The request schema is parsed loosely, so new model fields are accepted. - GitHub statuses: skipped and canceled workflows now report `error` instead of staying `pending`. ci-complete already treats `error` and the skipped/canceled descriptions as terminal failures, and toolkit trusts Woodpecker's own pipeline state. - Agents keep authenticating with the shared agent secret. What - version catalog: woodpecker-server and woodpecker-agent images v3.20.1 -> v3.21.0 (multi-arch index digests). - woodpecker-config-extension PMS runner: go.woodpecker-ci.org/ woodpecker/v3 v3.20.1 -> v3.21.0 (go mod tidy), with its pinned backend version in main.go, protocol.schema.json and media-pms.ts. - woodpecker-cli: temporal image 3.20.1 -> 3.21.0; macOS bootstrap 3.18.1 -> 3.21.0. Verification - cdk8s render diff: only the six agent Deployments and the server Deployment change image (v3.20.1 -> v3.21.0). - All 50 generated workflows (PR, push, extended, every maintenance kind) lint with woodpecker-cli 3.21.0 and 3.20.1 with identical output: 0 errors, same 202 warnings. - go -C reproduction/pms-runner build, vet and test -race pass. - bunx turbo run build typecheck test lint for woodpecker-config-extension and version-catalog; typecheck test lint for @homelab/cdk8s and dotfiles-scripts: all pass. - Not yet run: live server/agent rollout, DB migration logs and a real pipeline on 3.21.0 (verified after merge). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
e7e6659 to
40be8ed
Compare
Why
U13b of the dependency plan: move the shared CI from Woodpecker 3.20.1 to 3.21.0, the newest release. 3.21.0 restores running tasks with a fresh lease when the server restarts, watches only each step's own pod in the Kubernetes backend (agent memory stops growing with steps x namespace pods), cleans up every workflow resource on teardown, compares agent tokens in constant time, and only auto-cancels older pipelines.
Upgrade review (3.20.1 -> 3.21.0)
From the 3.21.0 release notes, the migrations page and the
v3.20.1..v3.21.0source:drop-024-migration-artifactsdrops the stray singularuser/orgtables migration 024 created (the real tables areusers/orgs);add-agent-token-hashadds and backfillsagents.token_hash;remove-sqlite-legacy-inline-uniqueonly touches SQLite. All three are short and additive, and 3.20.1 still runs on the migrated schema.nullconfig entry from an extension (#7241). Ours never returns one, and we run inEXCLUSIVEmode. The extension parses the request loosely, so new model fields are fine.errorinstead of stayingpending(#7517).ci-completealready treatserrorand the skipped/canceled descriptions as terminal failures, and toolkit's readiness trusts Woodpecker's own pipeline state.metadata.namefield selector to its pod informers (#7600), and the existing pod list/watch RBAC still covers it.failure: cancelon plugin steps, a larger matrix limit). New compile errors for workflow dependency cycles and substitution errors. None of these fire on the generated graph (see Demo).What
woodpeckerci/woodpecker-server(catalog)v3.20.1@sha256:0f31560e…v3.21.0@sha256:54000bd0…woodpeckerci/woodpecker-agent(catalog)v3.20.1@sha256:a7d7299a…v3.21.0@sha256:9cf65859…go.woodpecker-ci.org/woodpecker/v3(PMS runner,go mod tidy)v3.20.1v3.21.0main.go,protocol.schema.json,media-pms.ts)3.20.13.21.0woodpecker-cli(temporal image)3.20.13.21.0woodpecker-cli(macOS bootstrap)3.18.13.21.0Demo
cdk8s render diff (
bun run buildinpackages/homelab/src/cdk8s, origin/main catalog vs this branch). Only these lines change across the wholedist/:Generated pipeline lints on both versions. I rendered all 50 workflows the extension emits (PR graph with
ci-complete, main push, extended, and every maintenance kind) and ranwoodpecker-cli lintfrom the checksum-verified release binaries:whenevent filter, …)Live rollout: filled in after merge (server/agent versions, migration logs, agent connections, first pipeline on 3.21.0). Forum notice: FM-411.
Verification
go -C packages/woodpecker-config-extension/reproduction/pms-runner build ./... && go vet ./... && go test -race -count=1 ./...: pass. This includesTestActualRenderedWorkflowCompiles, which compiles the real emitted workflow through the 3.21.0 compiler.bunx turbo run build typecheck test lint --filter=@shepherdjerred/woodpecker-config-extension --filter=@shepherdjerred/version-catalog: 12/12 tasks pass (485 extension tests, including the test that ties the PMS runner pin to the catalog's agent tag).bunx turbo run typecheck test lint --filter=@homelab/cdk8s --filter=@shepherdjerred/dotfiles-scripts: 40/40 tasks pass (269 cdk8s test files).bun run --cwd packages/homelab/src/cdk8s generate:catalog: no inventory change.bunx lefthook run pre-commit: pass.bunx turbo run test:extended --filter='...[origin/main]' --continue: 65/65 tasks successful (delivery 75 files, media 406, scout backend db 164, scout temporal 21, temporal 45 + 90, toolkit, mc-harness, the-storm JVM BUILD SUCCESSFUL).🤖 Generated with Claude Code