Skip to content

docs(manual): qualify database-unavailable reporting expectations #4044

Closed

Description

@yannickmonney

The manual DATABASE_UNAVAILABLE entry says nothing reaches SENTRY_DSN from either the backend or browser while the database is unavailable. That is too broad: the SSE outage watcher intentionally reports one warning after a sustained outage, and #4031 also reports a startup failure after its bounded retry budget expires. A manual tester can currently mistake the intended report for a regression.

Observed by source review at 845f3bdb0f8480fba31d42e3008d6a267ff1190b; the subsequent count-only merge f277869aab49c81d9c37d0a7a1969b3eedceddeb does not change these paths. No production outage or probe was performed.

Evidence:

  • services/platform/tests/manual/reference/error-codes.md:182 states: “nothing reaches SENTRY_DSN, from the backend or from the app's browser”.
  • services/platform/backend/realtime/sse.ts:72–110 tracks an outage and reports once at warning level after the configured threshold; the default is 60 seconds. Recovery resets the watch.
  • The EN/DE/FR observability pages and fix(platform): wait out a restarting database when the backend boots #4031 already distinguish transient recovery from sustained startup failure. Keep those semantics aligned.
  • The exact browser filter remains only UPSTREAM_UNAVAILABLE at 502/503/504 and DATABASE_UNAVAILABLE at 503. It has no duration timer; this issue does not ask to add one or restore per-request browser noise.

Expected repair: qualify the manual row as the per-request behavior, explicitly distinguish the sustained SSE warning and exhausted startup budget, and sweep the nearby manual/observability references for the same overstatement. Preserve runtime behavior and existing narrow browser exclusions. Follow the docs contract, run the relevant manual/docs guards, and cite the existing automated proof or a local synthetic check for the threshold and recovery reset. No production testing.

This is a documentation correction found during root acceptance of TALE-416, distinct from #4035 (knowledge boot), #4037 (database-origin classification), #4041 (driver crash) and #4042 (void-round fixture classification). A bounded GitHub duplicate search found no open issue for this wording. Persistent app-tier availability-monitoring coverage is a separate verification question, not an established defect in this report.

Activity

  1. added 2 commits that reference this issue on Oct 3, 2026
    29633fc
    1420f71
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions