Skip to content

Enable release pipeline for v... branches#3964

Merged
DrJosh9000 merged 3 commits into
mainfrom
enable-release-pipeline-for-v-branches
May 28, 2026
Merged

Enable release pipeline for v... branches#3964
DrJosh9000 merged 3 commits into
mainfrom
enable-release-pipeline-for-v-branches

Conversation

@DrJosh9000
Copy link
Copy Markdown
Contributor

Description

When a v... branch changes, create the release steps.

Context

Prep for v4 (actually for v3 oldstable, because v4 already has this change)

Changes

  • Tidy up pipeline.yml
  • Make the release steps depend on e2e tests
  • Change the regex to accept branches named v\d+

Testing

  • Tests have run locally (with go test ./...). Buildkite employees may check this if the pipeline has run automatically.
  • Code is formatted (with go tool gofumpt -extra -w .)

Disclosures / Credits

I did not use AI tools at all

@DrJosh9000 DrJosh9000 added the internal Non-user facing, internal change. label May 28, 2026
@DrJosh9000 DrJosh9000 requested review from a team as code owners May 28, 2026 03:37
@DrJosh9000 DrJosh9000 force-pushed the enable-release-pipeline-for-v-branches branch from 407ed14 to 1e9f0f9 Compare May 28, 2026 04:12
@DrJosh9000
Copy link
Copy Markdown
Contributor Author

@buildsworth-bk review

Copy link
Copy Markdown

@buildsworth-bk-app buildsworth-bk-app Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Read the diff end-to-end and parsed the YAML before and after to confirm the reformat is a no-op — the only semantic changes are the two called out in the description: e2e-tests added to upload-release-steps.depends_on (no other deps removed, just re-sorted alphabetically) and |v\d+ appended to the branch regex. Both line up with the intent. The new key matches the existing key: e2e-tests step, and \d / $$ are escaped the way Buildkite expects.

Would otherwise approve, but there's no risk: label on the PR.

Want to dig deeper? The full session log is attached to this Buildkite build. Download the session file and open a new pi session with it:

Download the buildsworth logs from build 332, then answer my questions about the findings.

@DrJosh9000
Copy link
Copy Markdown
Contributor Author

@buildsworth-bk approve

@DrJosh9000
Copy link
Copy Markdown
Contributor Author

@buildsworth-bk review

Copy link
Copy Markdown

@buildsworth-bk-app buildsworth-bk-app Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bulk of the diff is a YAML indent reformat (verified equivalent against the parsed structure). The three real changes — re-sorting upload-release-steps.depends_on, adding e2e-tests (key exists at line 274), and extending the branch regex with v\d+ — all match the description. Downstream release triggers in upload-release-steps.sh remain gated by DRY_RUN, version metadata, and the tag-existence check, so a bad merge here is cheap to revert and won't ship anything unintended.

Want to dig deeper? The full session log is attached to this Buildkite build. Download the session file and open a new pi session with it:

Download the buildsworth logs from build 337, then answer my questions about the findings.

@DrJosh9000 DrJosh9000 merged commit 369fe3f into main May 28, 2026
5 checks passed
@DrJosh9000 DrJosh9000 deleted the enable-release-pipeline-for-v-branches branch May 28, 2026 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Non-user facing, internal change. risk:l1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant