Skip to content

ci: Bump Craft action to 2.33.3 - #5699

Merged
ric-oliv merged 2 commits into
mainfrom
ci/pin-craft-version-2.31.2
Oct 8, 2026
Merged

ric-oliv merged 2 commits into
mainfrom
ci/pin-craft-version-2.31.2

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

The release workflow pins getsentry/craft by commit SHA. Before 2.33.2, the Craft action used github.action_ref (the SHA) as the binary release tag. No release exists for a SHA, so the action quietly fell back to the latest Craft binary. The pin fixed the action code but not the Craft binary.

The last release run (36816925951, 2026-10-01) shows this:

Downloading Craft b5451aa5604f399ebaef98c0850bece7d062e288 from: .../releases/download/b5451aa.../craft
Release not found for version 'b5451aa...', falling back to latest...
Installing Craft from: https://github.com/getsentry/craft/releases/download/2.31.2/craft
[debug] craft 2.31.2 (25028d0646040cc0a669ae3314cbf884f4c4347a)

Craft 2.33.2 changed this (getsentry/craft#891): a SHA action ref now resolves to its matching published release, and the step fails if there isn't one. This PR bumps the pin to 4e16427 (2.33.3, latest), so the action pin alone picks both the action code and the Craft binary. That also keeps both in sync on future Dependabot bumps.

The disabled changelog-preview workflow gets the same bump so the two pins don't drift apart.

Behaviour change: the next release runs Craft 2.33.3 instead of the 2.31.2 that the last release ran. The version, force and merge_target inputs are unchanged in 2.33.3.

#skip-changelog

via Ricardo Oliveira.

--

View Junior Session [Sentry]

sentry-junior Bot and others added 2 commits October 8, 2026 09:27
The Craft action resolves its binary version from the action ref. With a
SHA pin, Craft < 2.33.2 can't map the SHA to a release and silently falls
back to the latest release. Set craft_version explicitly so the pin holds.

Co-Authored-By: Ricardo Oliveira <ricardo.oliveira@sentry.io>
Craft >= 2.33.2 resolves a SHA action ref to its matching published
release, so the action pin alone now selects the Craft binary and stays
in sync with Dependabot bumps.

Co-Authored-By: Ricardo Oliveira <ricardo.oliveira@sentry.io>
@sentry-junior sentry-junior Bot changed the title ci: Pin Craft binary version to 2.31.2 in release workflow ci: Bump Craft action to 2.33.3 Oct 8, 2026
@ric-oliv
ric-oliv marked this pull request as ready for review October 8, 2026 09:35
@github-actions github-actions Bot added the risk: high PR risk score: high label Oct 8, 2026

@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 f78cb8e. Configure here.

Comment thread .github/workflows/release.yml
@codecov

codecov Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.12%. Comparing base (a5e5a9a) to head (f78cb8e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5699      +/-   ##
==========================================
- Coverage   75.13%   75.12%   -0.01%     
==========================================
  Files         515      515              
  Lines       18989    18989              
  Branches     3693     3693              
==========================================
- Hits        14267    14266       -1     
- Misses       3867     3868       +1     
  Partials      855      855              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ric-oliv
ric-oliv merged commit 09cadfb into main Oct 8, 2026
41 checks passed
@ric-oliv
ric-oliv deleted the ci/pin-craft-version-2.31.2 branch October 8, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants