Skip to content
73 linesCodeBlameRaw

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas1{
2 "$schema": "../../node_modules/wrangler/config-schema.json",
3 "name": "g1t-status",
4 "account_id": "1e6f2cffa3f445920836e8ebe446bb58",
5 "compatibility_date": "2026-09-26",
6 "main": "./src/index.ts",
7 "workers_dev": false,
8 "preview_urls": false,
9 // The status page. A Worker of its own, bound to nothing it reports on
10 // but billing, so it stays up when the site does not. A custom domain,
11 // whose DNS record Cloudflare makes on the first deploy.
12 "routes": [{ "pattern": "status.g1t.sh", "custom_domain": true }],
13 // Every minute: check each part and keep the result.
14 "triggers": { "crons": ["* * * * *"] },
15 // The fonts, from packages/theme, served from the page's own origin.
16 "rules": [{ "type": "Data", "globs": ["**/*.woff2"], "fallthrough": false }],
17 // Each part's last check, 90 days of daily tallies, and incidents.
18 // Made by `npx wrangler d1 create g1t-status`; put its id here.
19 "d1_databases": [
20 {
21 "binding": "DB",
22 "database_name": "g1t-status",
23 "database_id": "dba85721-96dc-401d-9121-a6c587d614b2",
24 "migrations_dir": "migrations"
25 }
26 ],
27 // Billing has no public address: its price book is read through this.
Git storage hardened, pages in tens of milliseconds, honest security alerts, and costs reconciled daily28 // Git storage (Cloudflare Artifacts) has none either: how it answered
29 // lately is read from the repos service (`store_health`). Nothing else
30 // is bound, so every other check goes over the internet.
31 "services": [
32 { "binding": "BILLING", "service": "g1t-billing" },
33 { "binding": "REPOS", "service": "g1t-repos" }
34 ],
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas35 // Email to subscribers (confirmations, incident and maintenance
36 // updates) and the staff alert for detected drafts, through Cloudflare
37 // Email Sending, as identity sends its own. Subscriptions also need the
38 // STATUS_SECRET secret, which signs unsubscribe links:
39 // npx wrangler secret put STATUS_SECRET
40 // Without either, the page offers the feeds only.
Fast pages, required checks on the branch, self-hosted runners, honest incidents41 //
Merge status detection: first-byte speed probe, deploy windows, 4 of 5 with a re-check, check history, reminders42 // The deploy tool (scripts/deploy.mjs) says when a deploy starts and
43 // finishes (POST /deploys, bearer STATUS_DEPLOY_TOKEN), so restarts do
44 // not draft incidents. The same value is the STATUS_DEPLOY_TOKEN Actions
45 // secret on flagon-io/g1t. Optional; without it, deploys are not announced:
Fast pages, required checks on the branch, self-hosted runners, honest incidents46 // npx wrangler secret put STATUS_DEPLOY_TOKEN
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas47 "send_email": [{ "name": "EMAIL", "remote": true }],
48 "vars": {
49 // Where each part is. An empty one leaves that part off the page,
50 // for an installation that does not run it.
51 "SITE_URL": "https://g1t.sh",
52 "API_URL": "https://api.g1t.sh",
53 "MCP_URL": "https://mcp.g1t.sh",
54 "DOCS_URL": "https://docs.g1t.sh",
55 "PAGES_URL": "https://g1t.page",
56 "MODELS_URL": "https://models.g1t.sh",
57 // A public repository that always exists, whose branches are listed
58 // as a clone would.
59 "PROBE_REPO": "flagon-io/g1t",
60 "SUPPORT_URL": "https://g1t.sh/support",
61 // This page's own address, for links in email and the feeds.
62 "STATUS_URL": "https://status.g1t.sh",
63 // sudo, for the link in the staff alert.
64 "SUDO_URL": "https://sudo.g1t.sh",
Merge status detection: first-byte speed probe, deploy windows, 4 of 5 with a re-check, check history, reminders65 // Who hears when a part fails four of five checks and a draft
66 // incident is made, and again when it waits unacknowledged (after
67 // 45 minutes, then every 6 hours). Empty sends none.
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas68 "STATUS_ALERT_EMAIL": "hey@flagon.io",
69 "STATUS_FROM": "g1t status <noreply@g1t.sh>",
70 "OG_IMAGE": "https://og.g1t.sh/image?path=%2Fstatus&v=2"
71 },
72 "observability": { "enabled": true }
73}

This file's history is long; its oldest lines are credited to the oldest commit read.