Skip to content

fix(cascade): keep dependents of a prerelease run on the prerelease channel - #1348

Merged
BryanFRD merged 2 commits into
mainfrom
fix/1340-cascade-prerelease
Oct 25, 2026
Merged

BryanFRD merged 2 commits into
mainfrom
fix/1340-cascade-prerelease

Conversation

@BryanFRD

Copy link
Copy Markdown
Contributor

The cascade computed dependents' versions without the prerelease suffix and marked them stable, so --channel beta released stable dependents and moved their floating tags.

The run's prerelease context is now passed into the cascade, with_prerelease_suffix is applied to cascaded versions, and is_prerelease is set on the tag, JSON output and release hook candidate.

Closes #1340

@ferrfleet-interne ferrfleet-interne Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Cascaded dependents now go through the same with_prerelease_suffix as directly planned packages, and is_prerelease reaches the version hook, release JSON, check output and planned tag. The test covers the counter continuing from an existing -beta.1 tag. One nit inline, nothing blocking.

Comment thread src/monorepo/run/version_hook.rs Outdated

@ferrfleet-interne ferrfleet-interne Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ee6da72 drops the duplicated channel field. Pass::channel() now reads it from prerelease_ctx, so the two can no longer disagree. Nothing new to flag.

@BryanFRD
BryanFRD enabled auto-merge (squash) October 25, 2026 10:19
@BryanFRD
BryanFRD merged commit 9be89dc into main Oct 25, 2026
33 checks passed
@BryanFRD
BryanFRD deleted the fix/1340-cascade-prerelease branch October 25, 2026 10:21
ferrflow Bot added a commit that referenced this pull request Oct 25, 2026
## [7.33.3] - 2026-10-25

### Bug Fixes

- fix(cascade): keep dependents of a prerelease run on the prerelease channel (#1348)
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.

fix(cascade): a prerelease run releases stable versions of dependents

1 participant