Skip to content

Add automation pause and attention states #1975

Closed

Description

@sentry-junior

Parent: #1970. Coordinate list filters with #1972 and web actions with #1973.

Scheduled and event Automations have different lifecycle states. In the reviewed code, scheduled Automations use active, blocked, completed, and deleted; event storage uses active and deleted. Neither has a distinct user pause state. See scheduled storage and event storage.

Approved scope

  • Add a real paused state for both trigger types. Do not use blocked to mean paused by a person.
  • Provide permission-checked pause and resume actions. Preserve the Automation and its execution history.
  • Keep paused, blocked, trigger unavailable, and last run failed distinct. Automation state and execution outcome are separate facts.
  • Add a Needs attention view with the reason and a relevant next action, such as inspecting the failed execution or resolving a blocked requirement.
  • Do not treat an intentional pause or completed one-off Automation as an error. A failed execution must not automatically imply that future work is disabled.
  • State clearly what pause and resume mean for already-started work and missed triggers. Do not imply that pause cancels an in-flight execution.

Acceptance criteria

  • Paused scheduled and event Automations do not start new work from future triggers.
  • Resume preserves identity, history, and credential rules. Completed work is not restarted implicitly.
  • The list and details explain why an Automation is not running.
  • Needs attention finds relevant accessible Automations across the full collection, not only the current result page.
  • Extend the primary integration scenarios to cover pause, resume, dispatch boundaries, and access checks.

This is lifecycle work, not just a visual enabled toggle. No manual labels or new classification system.

via David Cramer.

--

View Junior Session [Sentry]

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions