Skip to content

Fix incident detail page check range - #46

Merged
jasoncrawford merged 1 commit into
mainfrom
fix-incident-checks-range
Feb 23, 2026
Merged

jasoncrawford merged 1 commit into
mainfrom
fix-incident-checks-range

Conversation

@jasoncrawford

Copy link
Copy Markdown
Collaborator

Summary

  • Use the triggering check's checked_at as the lower bound instead of incident.opened_at, so the first check that opened the incident is included
  • For resolved incidents, cap the query at resolved_at so checks after closure aren't shown
  • Rename heading from "Checks Since Incident Opened" to "Checks During Incident"

Fixes #45

Test plan

  • View a resolved incident — should show checks from the triggering check through resolution, not beyond
  • View an open incident — should include the triggering check and all subsequent checks
  • Verify heading reads "Checks During Incident"

🤖 Generated with Claude Code

Use the triggering check's timestamp as the lower bound (instead of
incident.opened_at) so the first check is included. For resolved
incidents, cap the range at resolved_at so checks after closure
aren't shown. Rename heading to "Checks During Incident".

Fixes #45

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

vercel Bot commented Feb 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
site-status Ready Ready Preview, Comment Feb 23, 2026 1:21am

Request Review

@supabase

supabase Bot commented Feb 23, 2026 •

Copy link
Copy Markdown

Updates to Preview Branch (fix-incident-checks-range) ↗︎

Deployments Status Updated
Database ✅ Mon, 23 Feb 2026 01:20:42 UTC
Services ✅ Mon, 23 Feb 2026 01:20:42 UTC
APIs ✅ Mon, 23 Feb 2026 01:20:42 UTC

Tasks are run on every commit but only new migration files are pushed.
Close and reopen this PR if you want to apply changes from existing seed or migration files.

Tasks Status Updated
Configurations ✅ Mon, 23 Feb 2026 01:20:48 UTC
Migrations ✅ Mon, 23 Feb 2026 01:20:50 UTC
Seeding ✅ Mon, 23 Feb 2026 01:20:53 UTC
Edge Functions ✅ Mon, 23 Feb 2026 01:20:53 UTC

View logs for this Workflow Run ↗︎.
Learn more about Supabase for Git ↗︎.

@jasoncrawford
jasoncrawford merged commit 29edac7 into main Feb 23, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 4e625ca9 Deployed Feb 23, 2026 by vercel[bot]
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.

Incident detail page shows all checks since opened

1 participant