Skip to content

Set linked components to operational when incident is fixed#333

Merged
jbrooksuk merged 1 commit intomainfrom
fix-incident-update-components-link-1
Mar 5, 2026
Merged

Set linked components to operational when incident is fixed#333
jbrooksuk merged 1 commit intomainfrom
fix-incident-update-components-link-1

Conversation

@jbrooksuk
Copy link
Member

@jbrooksuk jbrooksuk commented Mar 5, 2026

Summary

  • When an incident update sets the status to fixed, automatically updates all linked component pivot statuses back to operational
  • Adds updateComponentsToOperational method to CreateUpdate action that iterates linked components and resets their pivot component_status
  • Includes unit test verifying the behavior

Test plan

  • Verify existing tests pass
  • Confirm that creating an incident update with status fixed sets linked component pivot statuses to operational
  • Confirm that incident updates with other statuses do not affect component pivot statuses

🤖 Generated with Claude Code

When an incident update sets the status to "fixed", automatically update
all linked component pivot statuses back to operational.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jbrooksuk jbrooksuk merged commit c3a585c into main Mar 5, 2026
31 checks passed
@jbrooksuk jbrooksuk deleted the fix-incident-update-components-link-1 branch March 5, 2026 12:30
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.

1 participant