| 1 | { |
| 2 | "$schema": "../../node_modules/wrangler/config-schema.json", |
| 3 | "name": "g1t", |
| 4 | "account_id": "1e6f2cffa3f445920836e8ebe446bb58", |
| 5 | "compatibility_date": "2026-09-26", |
| 6 | // AsyncLocalStorage, for per-request timings and D1 bookmarks |
| 7 | // (app/lib/perf.server.ts). |
| 8 | "compatibility_flags": ["nodejs_als"], |
| 9 | // Where it runs: docs/PERFORMANCE.md. Off runs it in the data centre |
| 10 | // nearest the visitor; scripts/perf/placement-probe.mjs measures the |
| 11 | // alternatives and `apply` changes every Worker's at once. |
| 12 | "placement": { "mode": "off" }, |
| 13 | "main": "./workers/app.ts", |
| 14 | "routes": [{ "pattern": "g1t.sh", "custom_domain": true }], |
| 15 | // The site holds no data of its own; everything goes through services. |
| 16 | // GitHub Actions artifacts, as the API keeps them, for download from a run. |
| 17 | // Uploaded avatars (g1t-avatars), served at /avatars/<sha256>. Read |
| 18 | // only here: the identity service checks and writes them. |
| 19 | "kv_namespaces": [ |
| 20 | { "binding": "BLOBS", "id": "16a4232cb746418db53782aa068be693" }, |
| 21 | { "binding": "AVATARS", "id": "e627b571f07047e187c03e1fc2b3bbdd" } |
| 22 | ], |
| 23 | // The self-hosted runner's releases, served at /downloads/runner/ |
| 24 | // (routes/downloads-runner.ts); published by scripts/runner-release.mjs. |
| 25 | "r2_buckets": [{ "binding": "DOWNLOADS", "bucket_name": "g1t-downloads" }], |
| 26 | "services": [ |
| 27 | { "binding": "IDENTITY", "service": "g1t-identity" }, |
| 28 | { "binding": "REPOS", "service": "g1t-repos" }, |
| 29 | { "binding": "WORK", "service": "g1t-work" }, |
| 30 | { "binding": "RUNNER", "service": "g1t-runner" }, |
| 31 | { "binding": "BILLING", "service": "g1t-billing" }, |
| 32 | { "binding": "EVENTS", "service": "g1t-events" }, |
| 33 | { "binding": "INTEGRATIONS", "service": "g1t-integrations" }, |
| 34 | { "binding": "WEBHOOKS", "service": "g1t-webhooks" }, |
| 35 | { "binding": "ACTIONS", "service": "g1t-actions" }, |
| 36 | { "binding": "DEPLOYMENTS", "service": "g1t-deployments" }, |
| 37 | { "binding": "PROJECTS", "service": "g1t-projects" }, |
| 38 | { "binding": "SECURITY", "service": "g1t-security" }, |
| 39 | { "binding": "CONTEXT", "service": "g1t-context" }, |
| 40 | { "binding": "SEARCH", "service": "g1t-search" }, |
| 41 | // Production screenshots for a project's overview (services/og). |
| 42 | { "binding": "SCREENSHOTS", "service": "g1t-og", "entrypoint": "Screenshots" } |
| 43 | ], |
| 44 | "observability": { "enabled": true }, |
| 45 | "upload_source_maps": true |
| 46 | } |