Skip to content

feat: explicit promotion callout in PR check comment#113

Merged
theoephraim merged 1 commit into
nextfrom
enhance/promotion-pr-comment
Jun 12, 2026
Merged

feat: explicit promotion callout in PR check comment#113
theoephraim merged 1 commit into
nextfrom
enhance/promotion-pr-comment

Conversation

@theoephraim

Copy link
Copy Markdown
Member

Follow-up from #110's comment looking identical to an ordinary feature PR's. A promotion PR is the highest-stakes merge in the channel flow — it ends the cycle, consolidates the changelog, and ships to @latest — so the comment now says so.

Detection: stable-targeted PR (no channel match on the base) carrying bump files with channel set. Covers the canonical nextmain PR and partial promotions from branches cut off a channel. Channel-targeted PRs keep their existing banner.

Headline becomes:

This PR promotes the next prerelease cycle to a stable release. The changes below that already shipped to the @next dist-tag will be consolidated into the next stable version bump.

File list annotates shipped files, so mixed PRs (shipped cycle + never-rc'd fixes) read at a glance:

  • next/prerelease-channels.md (shipped on @next)
  • ci-check-channel-bump-files.md

The shipped annotation also appears on graduation PRs (e.g. .bumpy/alpha/ files on a beta-targeted PR), where it's equally accurate.

297 tests pass. Once merged, #110's comment should update itself with the promotion callout (next moves forward → synchronize → check-local rebuilds).

A promotion PR (next → main) previously got the generic 'included in the next
version bump' headline, despite being the highest-stakes merge in the channel
flow — it ends the cycle, consolidates the changelog, and ships to @latest.
Stable-targeted PRs carrying channel-shipped bump files now get a promotion
headline, and shipped files are annotated with their dist-tag in the list.
@github-actions

Copy link
Copy Markdown

bumpy-frog

This PR targets the next prerelease channel — merging it ships these packages as a prerelease to the @next dist-tag, not a stable release.

patch Patch releases

  • @varlock/bumpy 1.13.2 → 1.13.3-rc.x

🔀 Published to the @next dist-tag (e.g. npm i @varlock/bumpy@next). Prerelease versions are derived at publish time — the .x counter is filled in from the registry. Promote to a stable release by merging next into your base branch.

Bump files in this PR

Click here if you want to add another bump file to this PR


This comment is maintained by bumpy.

@theoephraim theoephraim merged commit 9b8e69c into next Jun 12, 2026
5 checks passed
theoephraim added a commit that referenced this pull request Jun 13, 2026
…ior (#116)

Doc gaps surfaced while dogfooding the `next` channel to completion.
Docs-only; no bump file (nothing under `packages/` changes).

**Release workflow examples (`github-actions.md`)** — both the
split-jobs and single-job examples now:
- comment that prerelease channel branches go in the `push` trigger too
(`[main, next, beta]`), with a link to the channels doc, and
- use a **per-ref concurrency group** (`bumpy-release-${{ github.ref
}}`). With a single shared group, a `next` prerelease publish queues
behind — or, with `cancel-in-progress: true`, gets cancelled by — a
`main` release, despite touching different dist-tags. This is the exact
lesson from our own `release.yaml`. The standalone **Concurrency**
section now explains the why, and notes the plain group is equivalent if
you only release from `main`.

**`prereleases.md` setup** — the "only trigger change" line now also
flags that an _existing_ workflow on a single concurrency group should
switch to per-ref (new workflows get it from the example).

**`cli.md`** — documents what `ci check` posts on channel PRs
(prerelease plan, `-<preid>.x`, dist-tag) and on **promotion PRs**
(reads `.bumpy/<channel>/`, shows the consolidated stable plan, calls
out that merging ends the cycle) — behavior that shipped in #111/#113
but wasn't in the command reference.

Not included here: the auto-close-promoted-release-PR docs ride with
#115; nothing here references that unmerged behavior.
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.

1 participant