feat: Add Linear action item syncing for incidents #139
1 issue
code-review: Found 1 issue (1 medium)
Medium
URL format inconsistency may break Linear attachment matching - `src/firetower/incidents/hooks.py:31`
The changes add trailing slashes to incident URLs in hooks.py (lines 31 and 62) and services.py (line 166), but slack_app/handlers/new_incident.py:315 still constructs URLs without a trailing slash. This inconsistency means the incident URL posted in Slack DMs will not match the URL format used for Linear attachment queries, potentially causing action items to not sync correctly when users attach Linear issues to the Slack-posted link.
Duration: 7m 49s · Tokens: 1.6M in / 20.4k out · Cost: $3.20 (+extraction: $0.00)
Annotations
Check warning on line 31 in src/firetower/incidents/hooks.py
sentry-warden / warden: code-review
URL format inconsistency may break Linear attachment matching
The changes add trailing slashes to incident URLs in `hooks.py` (lines 31 and 62) and `services.py` (line 166), but `slack_app/handlers/new_incident.py:315` still constructs URLs without a trailing slash. This inconsistency means the incident URL posted in Slack DMs will not match the URL format used for Linear attachment queries, potentially causing action items to not sync correctly when users attach Linear issues to the Slack-posted link.