Skip to content

fix(scheduler): Require action review for delete and run-now - #1324

Merged
dcramer merged 1 commit into
mainfrom
fix/scheduler-action-review-modes
Aug 8, 2026
Merged

dcramer merged 1 commit into
mainfrom
fix/scheduler-action-review-modes

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Audit of tool approval modes found one real inconsistency in the already-classified scheduler surface: create/update require Guardian review, but delete and run-now still relied on the core-tool default that skips it.

What changed

  • slackScheduleDeleteTask and slackScheduleRunTaskNow now declare approvalMode: "review".
  • Integration coverage asserts all mutating schedule tools are review, and list stays outside review as read-only.

Inventory findings (not changed here)

Refs #874
Refs #1051

Checks: pnpm --filter @sentry/junior typecheck. Focused schedule integration test needs local Postgres/Vercel env linkage.

Requested by David Cramer.

--

View Junior Session [Sentry]

Create and update already declare approvalMode review. Delete and
run-now still relied on the core-tool default that skips Guardian.
Align the mutating schedule tools so delete and immediate run enter
action review too, while list stays outside review as read-only.

Co-Authored-By: David Cramer <[email protected]>
@vercel

vercel Bot commented Aug 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview Aug 8, 2026 4:50pm

Request Review

@dcramer
dcramer marked this pull request as ready for review August 8, 2026 17:14
@dcramer
dcramer merged commit 0605bd6 into main Aug 8, 2026
41 of 42 checks passed
@dcramer
dcramer deleted the fix/scheduler-action-review-modes branch August 8, 2026 17:14
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Aug 8, 2026

This branch was successfully deployed

1 active deployment
Preview – junior-docs — ec384065 Deployed Aug 8, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant