Skip to content

ci(release): Bump craft to 3.9.0 and update config - #274

Merged
oioki merged 2 commits into
mainfrom
ci/bump-craft-3.9.0
Nov 6, 2026
Merged

oioki merged 2 commits into
mainfrom
ci/bump-craft-3.9.0

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

This bumps the release workflow's pinned getsentry/craft action from 2.19.0 (c6e2f049, labeled # v2) to 3.9.0 (2e29b081). It also moves the floating changelog-preview reusable workflow ref from @v2 to @v3, and updates .craft.yml for craft 3.9.0.

Why: before 3.9.0, craft's "Check release blockers" step asked GitHub to cancel the run and then exited 0. The action kept going and could open a getsentry/publish issue even with a release-blocker issue open (seen in getsentry/symbolic run 41665569364). getsentry/craft#956 fixed this in 3.9.0: the step now fails right away, and also fails if the blocker lookup errors.

Overlap: this supersedes #214, which bumps the same pin only to 2.23.1 and so doesn't include the fix. #223 also touches the changelog-preview line, pinning it to a 2.x SHA, so whichever lands second needs a small rebase.

Compatibility with craft 3.x:

  • None of the 3.0 breaking changes apply: .craft.yml doesn't set changelog.includePaths or unownedPaths, and there's no nuget target. The auto-bump check that 3.x made stricter doesn't run here, because preReleaseCommand is now explicit (see below).
  • Action inputs only gained new optional ones between 2.19.0 and 3.9.0, so the existing with: inputs stay valid. The changelog-preview reusable workflow has the same inputs and permissions in v2 and v3.

Config changes (.craft.yml):

  • minVersion: 0.34.1 → 3.9.0.
  • minVersion was below 2.21.0 and there was no preReleaseCommand, so craft ran scripts/bump-version.sh by default. From 2.21.0 on, craft uses automatic target bumping when no command is set, so I added preReleaseCommand: bash scripts/bump-version.sh to keep the script running.
  • minVersion was below 2.14.0, so the versioning policy defaulted to manual. From 2.14.0 on, the default is auto, so I added versioning.policy: manual to keep that behavior. (Explicit auto or bump keywords like minor now work as a version input, because craft checks those against minVersion and not the policy.)
  • Replaced the deprecated changelogPolicy: auto with changelog.policy: auto.

craft 3.9.0 prepare 99.0.0 --dry-run --no-push, before and after the config change: both runs ran scripts/bump-version.sh, bumped the same files (CHANGELOG.md, setup.py) and finished without errors. The changelogPolicy deprecation warning is gone after the change.

There are no open release-blocker issues in this repo right now, so releases aren't affected today.

via @BYK.

--

View Session in Sentry

sentry-junior Bot and others added 2 commits November 3, 2026 21:00
Also move the floating changelog-preview reusable workflow ref from @v2 to @V3.

Co-Authored-By: BYK <[email protected]>
@sentry-junior
sentry-junior Bot requested a review from a team as a code owner November 3, 2026 21:47

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit f3d5a4a. Configure here.

Comment thread .github/workflows/release.yml Resolved
@oioki
oioki merged commit cc385f8 into main Nov 6, 2026
12 checks passed
@oioki
oioki deleted the ci/bump-craft-3.9.0 branch November 6, 2026 08:19
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.

2 participants