Skip to content

Missed Seer comment #1335

Description

@BYK

#1223 (comment)

Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: packages/cli/src/commands/alert/issues/edit.ts#L123-L126

Potential issue: When a partial edit is applied to an issue alert, such as using only
the --action flag, the code may construct a new, incomplete filter object. This occurs
if the response from getIssueAlertWorkflowDocument does not include an actionFilters
array. The code at lines 123-126 defaults to an empty object ({}) in this scenario. A
subsequent PUT request then replaces the entire existing action filter with this
incomplete object, silently removing other configured properties like logicType and
conditions from the alert rule, effectively destroying the filter configuration.

Activity

  1. self-assigned this
    on Aug 2, 2026
  2. added
    jaredTrigger the Jared agent to work on stuff
    on Aug 2, 2026
  3. added a commit that references this issue on Aug 18, 2026
    ac0b837
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

jaredTrigger the Jared agent to work on stuff

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions