Skip to content

Restore incident baseline status when updates change - #400

Open
jbrooksuk wants to merge 1 commit into
mainfrom
codex/incident-baseline-status
Open

Restore incident baseline status when updates change#400
jbrooksuk wants to merge 1 commit into
mainfrom
codex/incident-baseline-status

Conversation

@jbrooksuk

Copy link
Copy Markdown
Member

Summary

  • add a separate baseline incident status that survives timeline edits and deletions
  • restore the baseline status when the last status-bearing update is cleared or removed
  • cover the migration, API flow, and incident status sync behavior with regression tests

Testing

  • vendor/bin/pest tests/Unit/Actions/Incident/CreateIncidentTest.php tests/Unit/Actions/Incident/UpdateIncidentTest.php tests/Unit/Models/IncidentTest.php tests/Unit/Actions/Update/EditUpdateTest.php tests/Unit/Actions/Update/DeleteUpdateTest.php
  • vendor/bin/pest tests/Feature/Api/IncidentUpdateTest.php tests/Feature/Database/IncidentBaselineStatusBackfillTest.php
  • composer test:lint

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