Skip to content

feat: Keep unknown-action alarms uneditable - #180

Open
benjaminVadon wants to merge 1 commit into
mainfrom
keep-unknown-alarms-uneditable
Open

benjaminVadon wants to merge 1 commit into
mainfrom
keep-unknown-alarms-uneditable

Conversation

@benjaminVadon

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@benjaminVadon
benjaminVadon force-pushed the keep-unknown-alarms-uneditable branch 3 times, most recently from 44efbc6 to bf4c40f Compare September 24, 2026 08:29
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@benjaminVadon
benjaminVadon force-pushed the keep-unknown-alarms-uneditable branch from bf4c40f to 6322bda Compare September 24, 2026 10:22
@sonarqubecloud

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Three unresolved moderate issues affect alarm replacement, parsing, and API enforcement.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 1 Medium severity · 1 Low severity

Open (2)

Comment on lines +71 to +72
if action.is_none() {
*action = action_value(marker);
action.map_or(true, |action| EDITABLE_ACTIONS.iter().any(|editable| action.eq_ignore_ascii_case(editable)))
}

/// A VALARM no edit may drop, see [`EDITABLE_ACTIONS`].
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