Skip to content

Deleting an incident update in the dashboard leaves the incident on the deleted update's status #494

Open

Description

@Iweisc

Watch in BugReels (the Updates tab with both updates is at 0:49, the delete confirmation at 1:30, the incident still Fixed in the list at 1:52)

Deleting an update from the dashboard "Updates" tab does not re-sync the incident status. #398 added SyncIncidentStatus so the status follows the latest update on create, edit and delete, but the dashboard relation manager never calls it.

Reproduced on the 3.x-dev demo (https://v3.cachethq.io/dashboard), which tracks main at c5f06fe.

Steps:

  1. Open an incident with two updates, "Cause identified" (Identified) and "All fixed" (Fixed). Its status is Fixed.
  2. Open the "Updates" tab, click Delete on "All fixed" and confirm.
  3. Open Incidents in the sidebar.

Expected: the incident shows Identified, the status of its latest remaining update.

Actual: the Updates tab lists only "Cause identified", but the incident still shows Fixed in the list, in the API and on the public status page. Since updates cannot be added to a Fixed incident, the operator cannot correct it from there.

Cause: the relation manager registers Filament's stock actions, which delete the row directly:

EditAction::make(),
DeleteAction::make(),

The bulk delete at line 111 has the same problem, and editing an update's status in this tab probably does too, but I only reproduced the single delete. SyncIncidentStatus is only called from CreateUpdate, EditUpdate and DeleteUpdate in src/Actions/Update/. The API and MCP paths use those actions, so they are correct.


This report was drafted with Claude Code (Claude Sonnet 5.5). The bug was reproduced on the demo, and the cause was checked against the linked source.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions