js_status
Checks the search index, local cache, and upstream MDN, TypeScript, and npm endpoints, returning an overall status of ok, degraded, or error.
Instructions
Real health check: search index, local cache and upstream endpoints.
The cache check gains read_only: true plus read_only_reason
when the database cannot be written (P5). It stays an "ok" check on
purpose: a cache that only reads is a degraded optimisation, not a sick
server, so overall does not change.
Probes developer.mozilla.org, typescriptlang.org and registry.npmjs.org with a light GET (8s timeout each, through the politeness layer — no curl subprocess). Never raises; returns {"server", "version", "checks": {...}, "politeness": {...}, "overall": "ok"|"degraded"|"error"} where overall is "error" when the search index is unavailable, "degraded" when any check fails, and "ok" otherwise. The "politeness" block holds the layer's counters (robots cache state, throttle delays, budget use, conditional-GET hits) and is not a check: it never changes "overall".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||