Skip to content

feat: Add Linear hooks, action item endpoints, and backfill#205

Merged
spalmurray merged 11 commits into
mainfrom
spalmurray/linear-action-items-hooks
May 22, 2026
Merged

feat: Add Linear hooks, action item endpoints, and backfill#205
spalmurray merged 11 commits into
mainfrom
spalmurray/linear-action-items-hooks

Conversation

@spalmurray
Copy link
Copy Markdown
Contributor

PR 3 of 4 in the Linear action items series. Adds:

  • Linear hooks: create parent issue on incident creation, sync title on title/visibility changes, redact private incident titles
  • Action items list endpoint with sync-on-read
  • Force sync endpoint (POST /incidents//sync-action-items/)
  • Backfill: if an incident is missing a Linear connection when synced, creates one automatically
  • DRYs up incident ID parsing across all views with parse_incident_id() helper
  • Tests for hooks, views, backfill path

@spalmurray spalmurray marked this pull request as ready for review May 21, 2026 16:58
@spalmurray spalmurray requested a review from a team as a code owner May 21, 2026 16:58
Comment thread src/firetower/incidents/views.py
Comment thread src/firetower/incidents/hooks.py
Comment thread src/firetower/incidents/views.py
Comment thread src/firetower/incidents/tests/test_action_items.py
Comment thread src/firetower/incidents/hooks.py
Comment thread src/firetower/incidents/hooks.py
Comment thread src/firetower/incidents/hooks.py
Comment thread src/firetower/incidents/hooks.py
Comment thread src/firetower/incidents/hooks.py
Comment thread src/firetower/incidents/hooks.py
Comment thread src/firetower/incidents/hooks.py
Comment thread src/firetower/incidents/hooks.py
Comment thread src/firetower/incidents/tests/test_action_items.py
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 4c6de28. Configure here.

Comment thread src/firetower/incidents/services.py
Comment thread src/firetower/incidents/hooks.py
@spalmurray spalmurray merged commit cb38539 into main May 22, 2026
34 of 35 checks passed
@spalmurray spalmurray deleted the spalmurray/linear-action-items-hooks branch May 22, 2026 17:49
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.

2 participants