Repository navigation
[IR-6584] feat(escalate): CLI: add escalate verb for incidents - #85
Conversation
… to an incident Co-authored-by: soil-cloud[bot] <344511034+soil-cloud[bot]@users.noreply.github.com>
Co-authored-by: soil-cloud[bot] <344511034+soil-cloud[bot]@users.noreply.github.com>
Co-authored-by: soil-cloud[bot] <344511034+soil-cloud[bot]@users.noreply.github.com>
… prefix Co-authored-by: soil-cloud[bot] <344511034+soil-cloud[bot]@users.noreply.github.com>
…nd alert_ids under attributes, keep linked alerts, no stale summary, --link-alert retry Co-authored-by: soil-cloud[bot] <344511034+soil-cloud[bot]@users.noreply.github.com>
|
Soil is watching this PR. It acts on CodeFlow's review of the latest commit, review comments and change requests, red CI (after checking
|
[Medium impact] The latest push appears safe to merge; it fixes the link request without introducing a new issue. SummaryThe latest push fixes the incident-alert link request and updates its test.
Reviews (5) · Last reviewed commit: "Send data.type alerts when attaching ale..." · Reviewed by Greptile |
…oBody) Co-authored-by: soil-cloud[bot] <344511034+soil-cloud[bot]@users.noreply.github.com>
Co-authored-by: soil-cloud[bot] <344511034+soil-cloud[bot]@users.noreply.github.com>
|
@greptileai please review the latest push (be7c2dc). The |
Co-authored-by: soil-cloud[bot] <344511034+soil-cloud[bot]@users.noreply.github.com>
|
Merged the latest master into this branch. The only upstream change was an addition to the README (incident association flags), with no overlap with the escalate changes, so no adaptation was needed. @greptileai please re-review the latest push. |
Soil councilSoil's council reviewed this change across 6 commits ( Fixed before posting (5)
|
… lost Co-authored-by: soil-cloud[bot] <344511034+soil-cloud[bot]@users.noreply.github.com>
|
@greptileai please re-review the latest push (f85230b). |
…sults Co-authored-by: soil-cloud[bot] <344511034+soil-cloud[bot]@users.noreply.github.com>
Co-authored-by: soil-cloud[bot] <344511034+soil-cloud[bot]@users.noreply.github.com>
|
@greptileai please re-review the latest push (37f73ec). |
Why
Responders can't page a team from the terminal today. This adds an
escalateverb for incidents and extendsalerts escalateso a team can be paged without leaving the CLI. Ref #54.What changed
rootly incidents escalate <incident-id> --team=<slug-or-id>(new). Pages the team and links the page to the incident.INC-123(resolved with the existingapi.NormalizeIncidentID).--escalation-policy=<id>pages that policy as well, and--note=<text>is sent to the responders.--link-alert=<alert-id>, which doesn't page again and doesn't need--team.rootly alerts escalate <alert-id> --team=<slug-or-id>(extended). Pages the team on the existing alert. Without--team, the existing--escalation-policy/--levelbehaviour is unchanged.--teamcan't be combined with--level.--helpexamples document both commands.Usage
How to test
Unit tests cover both commands and the new client methods, including the error paths.