Skip to content

feat: Add /inc cancel slack command#225

Open
spalmurray wants to merge 4 commits into
mainfrom
spalmurray/RELENG-767
Open

feat: Add /inc cancel slack command#225
spalmurray wants to merge 4 commits into
mainfrom
spalmurray/RELENG-767

Conversation

@spalmurray
Copy link
Copy Markdown
Contributor

@spalmurray spalmurray commented May 29, 2026

Adds a /inc cancel Slack command so noisy or false-positive incidents can be cancelled without the heavy /inc resolved flow (which now requires 9 fields after RELENG-755). It opens a modal with a required reason (placeholder suggests examples like Duplicate / false alarm), sets the incident status to Canceled via the standard IncidentWriteSerializer path, and posts the reason plus who cancelled to the incident channel. Cancelling deliberately does not trigger a postmortem doc or transcript dump (those only fire for Mitigated/Done/Postmortem). No-op if the incident is already Canceled. Reason is posted to the channel only, not persisted (aside from slack transcript) — capturing it on the record can come later with timeline events.

@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 29, 2026

RELENG-767

@spalmurray spalmurray marked this pull request as ready for review June 1, 2026 19:10
@spalmurray spalmurray requested a review from a team as a code owner June 1, 2026 19:10
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