Repository navigation
ci: release the runner with dist's defaults - #625
adriencaccia merged 3 commits into
Conversation
`pr-run-mode = "upload"` turns on dist's `cache-builds`, which adds a `swatinem/rust-cache` step to every build job of the generated release.yml. That step was removed by hand after each `dist generate`; `cache-builds = false` keeps it out of the generated file. Refs COD-4268 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A custom job created the release as a draft and a hand edit to release.yml undrafted it, so that only runner releases became "latest" while memtrack and exec-harness were released on their own tags. Both now ship inside the runner and dist no longer releases them, so dist's own `gh release create`, which makes a stable release latest and never a prerelease, does what we need with the same title and notes. Drop the draft job, the hand edit, and post-announce's latest step and non-runner branch. The installer and checksums job no longer waits on the draft job, which was skipped on PRs, so PRs now build it too. The hand edit also dropped dist's `--prerelease` flag, so alphas were published as regular releases; they are now GitHub pre-releases. Refs COD-4268 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
release.yml no longer carries hand edits, so drop `allow-dirty`: dist's plan, which runs on every PR, now fails when the file differs from what `dist generate` produces from dist-workspace.toml. Dependabot bumped the action pins in release.yml, which would now fail that check. Exclude the file from dependabot; its pins are bumped in `[dist.github-action-commits]` before regenerating. Refs COD-4268 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merging this PR will not alter performance2 warnings
Comparing Footnotes
|
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryLets
|
memtrack and exec-harness now ship inside the runner, so dist only releases
codspeed-runnerand no longer needs a custom draft job and hand edits to keep subtool releases from becoming "latest". dist creates the release itself,cache-builds = falsereplaces the hand-removedrust-cachestep, and withoutallow-dirtya PR whoserelease.ymldiffers from whatdist generateproduces fails dist's plan (checked locally: a bumped pin makesdist planexit with "run 'dist init' to update the file").vX.Y.Zpost-announcemarks it latestvX.Y.Z-alpha.Nrelease.ymldiffers from the configdist planfails the PRrelease.yml[dist.github-action-commits], thendist generaterelease.ymldist generate, then redo 2 hand editsdist generateCloses COD-4268