g1t/services/actions/wrangler.jsonc
| 1 | { |
| 2 | "$schema": "../../node_modules/wrangler/config-schema.json", |
| 3 | "name": "g1t-actions", |
| 4 | "account_id": "1e6f2cffa3f445920836e8ebe446bb58", |
| 5 | "compatibility_date": "2026-09-26", |
| 6 | // Runs next to its database: moving a run along makes many queries in turn. |
| 7 | "placement": { "mode": "off" }, |
| 8 | "main": "build/index.js", |
| 9 | "build": { "command": "node ../../scripts/build-rust-worker.mjs" }, |
| 10 | // Reached only through service bindings. |
| 11 | "workers_dev": false, |
| 12 | "d1_databases": [ |
| 13 | { |
| 14 | "binding": "DB", |
| 15 | "database_name": "g1t-actions", |
| 16 | "database_id": "95ccaa88-8e15-4b90-81e2-0d02d8ce869d", |
| 17 | "migrations_dir": "migrations" |
| 18 | } |
| 19 | ], |
| 20 | // ACTIONS_KEY (secret): seals secrets at rest. Never regenerate it: |
| 21 | // secrets saved under the old key could no longer be opened. |
| 22 | "services": [ |
| 23 | { "binding": "REPOS", "service": "g1t-repos" }, |
| 24 | { "binding": "WORK", "service": "g1t-work" }, |
| 25 | { "binding": "IDENTITY", "service": "g1t-identity" }, |
| 26 | { "binding": "RUNNER", "service": "g1t-runner" }, |
| 27 | { "binding": "EVENTS", "service": "g1t-events" }, |
| 28 | // A repository's secrets and variables belong to its project. |
| 29 | { "binding": "PROJECTS", "service": "g1t-projects" }, |
| 30 | // Self-hosted runners' time, recorded on usage at $0. |
| 31 | { "binding": "BILLING", "service": "g1t-billing" } |
| 32 | ], |
| 33 | // actions/cache entries, which the API writes: deleted here when they |
| 34 | // are evicted or expire. |
| 35 | "r2_buckets": [{ "binding": "ACTIONS_CACHE", "bucket_name": "g1t-actions-cache" }], |
| 36 | // Every event on the bus: what starts workflows, and pushes that change them. |
| 37 | "queues": { |
| 38 | "consumers": [{ "queue": "g1t-events-actions", "max_batch_size": 10, "max_batch_timeout": 1, "max_retries": 3 }] |
| 39 | }, |
| 40 | // Schedules, jobs waiting for room, and jobs whose runner went quiet. |
| 41 | "triggers": { "crons": ["* * * * *"] }, |
| 42 | "observability": { "enabled": true } |
| 43 | } |