Skip to content

Let an agent cancel a CI run without a permission prompt - #1218

Merged
dfed merged 1 commit into
mainfrom
claude/allow-cancelling-runs
Dec 3, 2026
Merged

dfed merged 1 commit into
mainfrom
claude/allow-cancelling-runs

Conversation

@dfed

@dfed dfed commented Dec 3, 2026

Copy link
Copy Markdown
Owner

Requested by Dan · project thread

Summary

.claude/settings.json now allows gh run cancel without a permission prompt.

The CI rules already say an agent may always cancel a run in flight: one a newer push superseded, one whose result nobody will read, or one holding runners a more urgent run needs. A Claude Code session's permission check still stopped the command and asked a person, so a superseded run kept its runners until someone answered. The allow list already names the commands that download a run's artifacts and logs; this adds the one that cancels a run.

Generated output: unchanged

Tests

None: one line of configuration. The file still parses as JSON.

Found and not fixed

Nothing.


Generated by Claude Code

The CI rules already say an agent may always cancel a run in flight: one a newer
push superseded, or one holding runners a more urgent run needs. The session's
permission check still stopped the command and asked. The allow list now names
it, beside the run downloads it already names.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQLHq43QvdYBYGWTdSo
@dfed dfed self-assigned this Dec 3, 2026
@dfed
dfed merged commit 0e56ed2 into main Dec 3, 2026
9 checks passed
@dfed
dfed deleted the claude/allow-cancelling-runs branch December 3, 2026 03:45
dfed pushed a commit that referenced this pull request Dec 3, 2026
Brings the head that landed on main as 61841fb: every world's functions kept where a mock home cannot be spelled, the root-literal reading of a sequence's first part, and main's #1218.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQMR1grwX46174Pyxyn
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