pr_01m47d24b0e6n91zwymwxg0vpx/services/actions/wrangler.jsonc

36 lines1,424 bytesCodeBlame
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": "smart" },
8 "main": "build/index.js",
9 "build": { "command": "cargo install -q worker-build@0.8.7 && worker-build --release" },
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 ],
29 // Every event on the bus: what starts workflows, and pushes that change them.
30 "queues": {
31 "consumers": [{ "queue": "g1t-events-actions", "max_batch_size": 10, "max_batch_timeout": 1, "max_retries": 3 }]
32 },
33 // Schedules, jobs waiting for room, and jobs whose runner went quiet.
34 "triggers": { "crons": ["* * * * *"] },
35 "observability": { "enabled": true }
36}