Infrastructure (#16696)

What runs on your own cloud, what it's for, what it costs, and when it ends; and building one more thing, through a plan you see before any money moves.

Where

All four read infraOf and plan through planCompose in src/actions/infra.ts, which plans with src/cloud/plan.ts; only a forge admin sees them.

The plan

Every change to the compose form is planned again on the server (POST /infra/plan); the page adds no sums. The tray's line says what is added, the month's change, the account after it against its ceiling, and the time to ready: "+ 1 machine, + 1 disk · +$13.00 a month · $13.00 of $50 · ready in about 4 min". Its steps open under it. A refusal is said in the forge's own words with a link to the exact control that fixes it: the account's write switch or ceiling on Cloud accounts, or the domain for deployed forges on Pinned forges.

Build refuses a plan that changed since it was shown, so nobody builds what they did not see. Without a script, See the plan shows the same tray.

The build

Build runs in the background and appends infra.applied (the wants and each step's sentence), then one infra.step per step (started, done or failed), or infra.refused when it was refused before its first step. The tray is a live region on those events: each step shows as it happens, then "Ready at" its name with the link. A build that stopped says why with Build again, which plans the same wants against what exists now and skips what is done.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs