Skip to content

Measure browser observed API outages and recovery duration - #121

Merged
mzupan merged 3 commits into
mainfrom
codex/frontend-browser-outage-health
Nov 15, 2026
Merged

mzupan merged 3 commits into
mainfrom
codex/frontend-browser-outage-health

Conversation

@mzupan

@mzupan mzupan commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

The availability dialog currently detects browser/proxy outages without reporting their impact. Add low-volume probe outcome/duration summaries and one outage-duration summary after confirmed recovery. Keep only one bounded in-memory outage transition while ingest may be unreachable; do not emit an outage on a single transient failure. Offline browsers, network errors, timeouts, HTTP failures and invalid proxy responses use fixed reason values. 401/403/429 remain reachable, and hidden/stopped probes are not counted as failures.

Uses the identical bounded aggregate helper shared with #118; this is a standalone main-based PR. #117 enables collection in released images. Same-service self-monitoring still needs an external synthetic check for complete outages.

Validation: 26 focused availability/aggregation/privacy tests and production build/typecheck. Tests cover two-probe confirmation, recovery-only emission, offline duration, duplicate recovery suppression, stopped probes and preservation through the RUM sanitizer.

Combined validation: all six frontend health PRs merge together without conflicts. The integrated suite passes 645 tests in 107 files and the production build/typecheck. A production-bundle Chrome smoke verified runtime opt-in, actual package version/environment, API/body events, failed lazy-route navigation, investigation completion/malformed-event counts and browser offline/recovery duration. Eleven custom event types arrived through the SDK and production privacy scrubber without query text or user identifiers in their attributes.

@mzupan
mzupan merged commit 9dd2920 into main Nov 15, 2026
4 checks passed
@mzupan
mzupan deleted the codex/frontend-browser-outage-health branch November 15, 2026 22:23
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.

1 participant