Skip to content

feat(slo): UI display of SLO state#245

Merged
rgibert merged 10 commits into
mainfrom
rgibert/action-item-slos-ui
Jun 10, 2026
Merged

feat(slo): UI display of SLO state#245
rgibert merged 10 commits into
mainfrom
rgibert/action-item-slos-ui

Conversation

@rgibert

@rgibert rgibert commented Jun 8, 2026

Copy link
Copy Markdown
Member

Resolves RELENG-175

Adds displaying of the outstanding SLO times in the Firetower UI.

image

@rgibert rgibert self-assigned this Jun 8, 2026
@rgibert rgibert requested a review from a team as a code owner June 8, 2026 19:10
@linear-code

linear-code Bot commented Jun 8, 2026

Copy link
Copy Markdown

RELENG-175

Comment thread frontend/src/routes/$incidentId/components/ActionItemsList.tsx
Comment thread src/firetower/settings.py Outdated

@sentry-warden sentry-warden Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Unresolved git merge conflict in config.py causes SyntaxError on startup

The file src/firetower/config.py contains unresolved git conflict markers (<<<<<<< HEAD, =======, >>>>>>> main) starting at line 80, which will cause a SyntaxError and prevent the application from starting entirely.

Evidence
  • grep confirms <<<<<<< HEAD is present at src/firetower/config.py:80.
  • Reading the file shows a three-way conflict block with ||||||| f7852f4 and >>>>>>> main markers inside the LinearConfig class body.
  • Python cannot parse conflict markers as valid syntax, so any import of firetower.config will raise SyntaxError.
  • settings.py imports ConfigFile from firetower.config, so Django will fail to start.
  • The config.example.toml hunk adds action_item_slo_days_medium_priority = 28, which corresponds to the HEAD side of this unresolved conflict (HEAD uses 28, main uses 30).

Identified by Warden code-review

Comment thread src/firetower/config.py Outdated
Comment thread src/firetower/incidents/serializers.py
Comment thread src/firetower/incidents/tests/test_action_items.py
Comment thread frontend/src/routes/$incidentId/components/ActionItemsList.tsx Outdated
Remove duplicate LINEAR dict keys (F601) and fix prettier formatting.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Agent transcript: https://claudescope.sentry.dev/share/ZK2AgPjlKdYNIFl6rOc-fi8usXZ--0tlXG8ZxqUJtZ4
Comment thread src/firetower/incidents/serializers.py Outdated
…unding

Serializer fallback was 28 days for medium priority but LinearConfig
defaults to 30. Also fix Math.floor rounding that showed partial-day
overdue items as "1d overdue" instead of "0d overdue".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Agent transcript: https://claudescope.sentry.dev/share/z531hN0j-cWcnmayYgfR23cZ3mB8ELH_d5ibE2w-Ye4

@cursor cursor Bot left a comment

Copy link
Copy Markdown

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 bd25d86. Configure here.

Comment thread config.example.toml
rgibert added 2 commits June 8, 2026 16:44
When settings.LINEAR is None, SLO days fall back to 0 and the
serializer returns null for slo_deadline. The UI already handles
null deadlines by not rendering SLO labels.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Agent transcript: https://claudescope.sentry.dev/share/vusOyvEa0qawftmyz5AgtFwz9J1CStCrRVLTWbbBUzo
Comment thread src/firetower/incidents/tests/test_action_items.py
@rgibert rgibert merged commit 5053f66 into main Jun 10, 2026
38 checks passed
@rgibert rgibert deleted the rgibert/action-item-slos-ui branch June 10, 2026 14:00
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