forge.StatusPage gets no page: nothing is rendered, recorded or published, and no scaffold adds one. It needs forge v1.12.0 or later.
Where the checks come from
An uptime check is an outside-in HTTP request that the platform’s prober makes on a schedule, from its own cluster, and writes into the environment’s telemetry. A hosted environment is probed with nothing declared: forge derives oneGET / check per hosted frontend, per hosted workload with an exposed port, and per route that names a public host. Each defaults to a 60 second interval and a 10 second timeout, and counts a 2xx or 3xx answer as up. A route’s own path may legitimately answer 404 or ask for a login, so a route check counts any answer below 500 as up.
You declare more checks, or replace a derived one by reusing its name, with forge.Uptime:
url, a route of the same bundle, or a hosted target workload or frontend. The prober dials public addresses only, and a url that names a loopback, private, link-local or cluster-internal host is refused when you render. The environment’s default alerts fire when a check fails three probes in a row, and when a certificate is within 14 days of expiring. Read the raw probes with forge obs metrics query prod uptime.check.up --group-by check --since 3h.
Declare the components
A component is a public name for one or more of the environment’s uptime checks. Addstatus_page to the environment’s bundle in deploy/kcl/<env>/main.k:
checks of a component must name checks in the environment’s final list, meaning the derived ones minus any you skip, plus the ones you declare in forge.Uptime.checks. Render refuses any other name and lists the checks the environment does have, so a typo fails before a deploy.
The page is opt-in per component. A check that no component names never appears on it, which is how a derived check such as route-admin stays off a public page. A component’s state is the worst state among its checks.
The other rules are limits: 1 to 50 components with unique names of up to 64 characters, a description up to 200 characters, a title up to 100, at most 10 links, and http(s) link URLs with no credential. The logo must be https, and the accent color a #rrggbb value.
Check the result with forge env shape prod --json. The resolved page is recorded in the release shape as status_page, with each component’s checks sorted and the components in the order you wrote them.
Declaring a page does not publish it
The declaration holds what the page says. It does not hold whether the page is public. Going public is a separate, audited step taken by a person in the control plane, like binding a domain, so rolling back a release can neither publish nor unpublish a page. Incidents, maintenance windows and their updates are live control-plane state too, written by people, which an agent may draft but not publish.States a component can be in
A person can override a component’s state, for example to dismiss a single-region false positive, and the page then labels it “set manually”. Each state appears as an icon and a word, never as a color alone.
Render a page yourself
The page is one JSON document,forge.status/v1, and one renderer, both in the Go package forge/pkg/statuspage (forge project libraries statuspage prints its API). statuspage.Render(doc) validates the document and returns three files:
statuspage.Decode reads a status.json back and refuses an unknown schema or field. You do not need a Reliant account for any of this: fill a document from your own monitor and the same page renders. A team that wants its own design can build it from status.json instead of using index.html.
What a public page never shows
The document is an allowlist, and a test pins its fields so none can become public without someone deciding it should. It carries the page’s title, logo, links and accent color, the component names, descriptions and states, daily availability, and the text and times of published incidents and maintenance. It never carries check names, URLs or hostnames, HTTP statuses, error types, latency, certificate expiry, environment, organization or project ids, alert names, issue titles, who published an update, whether an agent drafted it, or any draft. Update bodies are plain text: blank lines make paragraphs, and every character is escaped, so no HTML or Markdown reaches the page.Limits to plan around
Probes run from one region, the platform’s own cluster, so a check cannot tell a regional network problem from an outage. A page served by the same platform as your hosted app goes down with it if the platform’s static hosting is down. Both are properties of the first version, and the second is a reason to host the page somewhere independent once publishing ships.Related topics
- Hosted dashboards, alerts and issues: where the alerts on a failing check land
- Limits: the live availability of Reliant’s own services, on its public status page
- Querying with forge obs: read the probe results behind a component