Skip to content

Add Linear config to CI toml so action item tests run

4bc74d3
Select commit
Loading
Failed to load commit list.
Open

feat: Add Linear action item syncing for incidents #139

Add Linear config to CI toml so action item tests run
4bc74d3
Select commit
Loading
Failed to load commit list.
@sentry/warden / warden completed Apr 14, 2026 in 10m 48s

1 issue

Low

Race condition in OAuth token refresh may cause redundant token requests - `src/firetower/integrations/services/linear.py:75-83`

The _get_access_token method reads the token and checks expiration without locking, then calls _request_new_token which deletes and recreates the token. In a multi-worker environment, concurrent requests may simultaneously determine the token needs refresh and each request a new token from Linear. While the atomic block prevents data corruption during the write, it doesn't prevent multiple redundant token refresh requests. This wastes API calls and could hit rate limits.

5 skills analyzed
Skill Findings Duration Cost
security-review 0 9m 5s $3.65
django-access-review 0 4m 17s $3.81
django-perf-review 0 10m 37s $2.73
code-review 0 2m 37s $4.02
find-bugs 1 7m 46s $9.20

Duration: 34m 22s · Tokens: 12.6M in / 122.0k out · Cost: $23.42 (+extraction: $0.01, +fix_gate: $0.00)