Skip to content

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

Merged
BYK merged 2 commits into
masterfrom
ci/bump-craft-3.9.0
Nov 25, 2026
Merged

BYK merged 2 commits into
masterfrom
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).

Why: craft's "Check release blockers" step used to ask GitHub to cancel the run and then exit 0, so the action kept going and could still prepare a release and open a getsentry/publish issue while a release-blocker issue was open (seen in getsentry/symbolic). getsentry/craft#956 fixed this in 3.9.0: the step now fails right away, and it also fails if the blocker lookup errors.

Compatibility with craft 3.x:

  • The workflow's action inputs (version, force) are unchanged in 3.9.0; releases between only added optional inputs.
  • .craft.yml doesn't set changelog.includePaths/unownedPaths, and there's no nuget target.
  • minVersion is 2.21.7 with no preReleaseCommand, so this repo relies on automatic version bumping. In 3.x that throws if no target finds a version file to bump (2.x only warned). Here the npm target bumps package.json, so it's fine.
  • I ran the craft 3.9.0 binary with prepare 99.0.0 --dry-run --no-push on current master. The npm target bumped package.json and the run finished without errors.

There are no open release-blocker issues in this repo right now. Once this lands, any open one stops releases until it's closed or force is set.

Config changes (follow-up commit, so .craft.yml matches craft 3.9.0):

Sets minVersion from 2.21.7 to 3.9.0. Nothing else needs to change: the repo already uses automatic bumping, with the npm target bumping package.json, and already gets the auto versioning default.

I ran craft 3.9.0 prepare 99.0.0 --dry-run --no-push before and after this change on a full clone. Both runs bumped the same files with no new warnings or errors.

via @BYK.

--

View Session in Sentry

@sentry-junior sentry-junior Bot changed the title ci(release): Bump getsentry/craft to 3.9.0 ci(release): Bump craft to 3.9.0 and update config Nov 3, 2026
BYK added a commit to getsentry/junior that referenced this pull request Nov 25, 2026
…4304)

A Junior PR in a repo that requires no review never gets a "Ready to
merge" Inbox item, because the merge action needs an approval. Such PRs
(for example getsentry/skillet#45 and getsentry/platformicons#251) are
clean and mergeable but never show in Code · Mine's "Waiting on you".

The merge action now follows GitHub's merge state: the PR is open, not a
draft, auto-merge is off, the state is `clean`, no reviewer still
requests changes, and GitHub requests no review. A repo that requires a
review reports `blocked` until someone approves, so it keeps today's
behavior. Junior still never approves or merges.

`GitHubPullRequestMergeState.approved` becomes `reviewOutcome`
(`approved`, `changesRequested`, or unset), because the action now has
to tell "no approval" apart from "a reviewer requests changes".

### A pending review request comes first

When GitHub still requests a review from a person or a team, the action
is never `merge`, even when the state is `clean`:

- A request for the requester gives the existing `review` action
("Review requested").
- A request for only someone else, or a team, gives no item. The PR
waits on that reviewer.

The new `reviewPending` flag counts every node of `reviewRequests`, not
only `requestedReviewers`, because a team that the App cannot read comes
back with no login. This also applies where GitHub requires a review: an
approved PR that still has a pending request asks for that review, not
the merge.

### Wording

With no approval, the item keeps the `Ready to merge · #N` title and its
text says:

> GitHub says that #N can merge with no review. Review it, then merge
it.

The dashboard keys the kind, icon, and Code · Mine head off the title
(`askKind.tsx`, `inboxAsks.tsx`, `inboxModel.ts`, `codeChangeHead.ts`).
The Inbox hides item text only when it repeats the head
(`textRepeatsHead`), so this text shows on the row and makes clear that
nobody reviewed the PR. The text stays true after a later approval,
which matters because the item changes only when the action changes.

### Dismissed items

The action stays `merge`, so an item that a person dismissed, such as
getsentry/sentry-rust#1400's, does not come back. Existing PRs get the
new action on their next webhook.

### `design/github.md`

The rule takes the approved text. @BYK, the last sentence is new and
mirrors your answer about pending reviews; tweak it as you like:

> When a review is requested and still pending, the PR asks for that
review instead, even where the repo allows merging without one.

<!-- junior-request-attribution:start -->
via @BYK.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:agent%3A8f9e8b3ac538972e39c68bd58906fb80 -->

--

[View
Session](https://junior-prod.sentry.dev/conversations/agent%3A8f9e8b3ac538972e39c68bd58906fb80)
[[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3A8f9e8b3ac538972e39c68bd58906fb80/?project=4510944073809921)

<!-- junior-session-footer:end -->

---------

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: BYK <[email protected]>
@BYK
BYK merged commit eed6302 into master Nov 25, 2026
13 checks passed
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