Skip to content

feat(uptime): Include response capture in incident evidence#106491

Merged
wedamija merged 1 commit intomasterfrom
danf/uptime-response-capture-incident
Jan 27, 2026
Merged

feat(uptime): Include response capture in incident evidence#106491
wedamija merged 1 commit intomasterfrom
danf/uptime-response-capture-incident

Conversation

@wedamija
Copy link
Member

When an uptime incident is created, look up the most recent response capture from the failure sequence and include its ID in the occurrence evidence_data. This allows the API/UI to retrieve and display the captured response.

Also adds generate_scheduled_check_times_ms utility for extrapolating scheduled check times forward or backward from a base time.

Project Context

This is part of the Uptime Response Capture feature - storing HTTP response data (body + headers) when downtime incidents are created to help users debug failures.

PRs in this series:

  1. sentry-kafka-schemas: Schema changes
  2. uptime-checker: Response capture config and logic
  3. sentry: Storage model (UptimeResponseCapture)
  4. sentry: Config production and toggle helper
  5. sentry: Consumer capture creation
  6. sentry: Incident integration <-- this PR
  7. sentry: API and UI

@wedamija wedamija requested a review from a team as a code owner January 17, 2026 01:30
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 17, 2026
@wedamija wedamija force-pushed the danf/uptime-response-capture-consumer branch from 71a7826 to 0d26091 Compare January 22, 2026 00:46
@wedamija wedamija requested a review from a team as a code owner January 22, 2026 00:46
@wedamija wedamija force-pushed the danf/uptime-response-capture-incident branch from fc7bd4a to 2e52e00 Compare January 22, 2026 00:46
@wedamija wedamija force-pushed the danf/uptime-response-capture-consumer branch from 0d26091 to cbba0cd Compare January 22, 2026 21:58
@wedamija wedamija force-pushed the danf/uptime-response-capture-incident branch from 2e52e00 to c8d0631 Compare January 22, 2026 21:59
@wedamija wedamija force-pushed the danf/uptime-response-capture-consumer branch from a51ddc4 to 73b1000 Compare January 22, 2026 22:31
@wedamija wedamija force-pushed the danf/uptime-response-capture-incident branch from c8d0631 to 61361f1 Compare January 22, 2026 22:32
Copy link
Member

@jaydgoss jaydgoss left a comment

Choose a reason for hiding this comment

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

LGTM

Base automatically changed from danf/uptime-response-capture-consumer to master January 26, 2026 23:59
When an uptime incident is created, look up the most recent response capture
from the failure sequence and include its ID in the occurrence evidence_data.
This allows the API/UI to retrieve and display the captured response.

Also adds generate_scheduled_check_times_ms utility for extrapolating
scheduled check times forward or backward from a base time.

## Project Context

This is part of the Uptime Response Capture feature - storing HTTP response
data (body + headers) when downtime incidents are created to help users debug
failures.

PRs in this series:
1. sentry-kafka-schemas: Schema changes
2. uptime-checker: Response capture config and logic
3. sentry: Storage model (UptimeResponseCapture)
4. sentry: Config production and toggle helper
5. sentry: Consumer capture creation
6. sentry: Incident integration <-- this PR
7. sentry: API and UI
@wedamija wedamija force-pushed the danf/uptime-response-capture-incident branch from 61361f1 to e3a87be Compare January 27, 2026 00:39
@wedamija wedamija merged commit ae1faf2 into master Jan 27, 2026
66 checks passed
@wedamija wedamija deleted the danf/uptime-response-capture-incident branch January 27, 2026 18:25
priscilawebdev pushed a commit that referenced this pull request Feb 2, 2026
When an uptime incident is created, look up the most recent response
capture from the failure sequence and include its ID in the occurrence
evidence_data. This allows the API/UI to retrieve and display the
captured response.

Also adds generate_scheduled_check_times_ms utility for extrapolating
scheduled check times forward or backward from a base time.

## Project Context

This is part of the Uptime Response Capture feature - storing HTTP
response data (body + headers) when downtime incidents are created to
help users debug failures.

PRs in this series:
1. sentry-kafka-schemas: Schema changes
2. uptime-checker: Response capture config and logic
3. sentry: Storage model (UptimeResponseCapture)
4. sentry: Config production and toggle helper
5. sentry: Consumer capture creation
6. sentry: Incident integration <-- this PR
7. sentry: API and UI

<!-- Describe your PR here. -->
@github-actions github-actions bot locked and limited conversation to collaborators Feb 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants