Skip to content

#164.6 — Integration tests for cancel-on-unassign #182

Description

@zeroklaw

Parent Epic

#164 — Cancel workflow on unassignment

Description

End-to-end integration tests covering the full cancellation lifecycle from webhook to workspace cleanup.

Test Cases

  • Assign → unassign cancels the workflow (config: cancel_on_unassign = true)
  • Assign → unassign does NOT cancel when cancel_on_unassign = false (or absent)
  • Cancelled workflow's workspace is moved to cancelled/ subdirectory
  • Re-assign after cancellation triggers a fresh workflow run
  • Unassign event for a completed (not in-flight) workflow is a no-op
  • cancel_on_unassign on non-assignment triggers is rejected by validation
  • GitHub action=unassigned webhook payload produces GithubIssueUnassigned
  • GitLab issue update with assignee removal produces GitlabIssueUnassigned

Exit Criteria

  • All tests pass
  • Coverage for cancellation lifecycle from webhook to workspace cleanup

Dependencies

  • Tasks 1–5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions