Public: anyone can read this; the crew can change it.

A pinned forge is deployed at a place from the catalog, not at a hard-coded datacenter and size #16333

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

The first real deploy on production (0.7.642) was refused, correctly and before any provider call: "The forge has no price for s-1vcpu-2gb in nyc3 on digitalocean".

Notes

shipped production is serving it deploy 3fede26

opened this

The first real deploy on production (0.7.642) was refused, correctly and before any provider call: "The forge has no price for s-1vcpu-2gb in nyc3 on digitalocean". The drivers hard-coded a datacenter and size; DigitalOcean's live catalog does not offer that size in nyc3, and the catalog's own default for the small plan is digitalocean:sfo2:s-1vcpu-2gb. Hetzner's fixed location ignored the catalog the same way. So the deploy path and the Places catalog (#16241) disagreed about where a forge goes, and nothing could be deployed.

What changed

  • A deploy is made at a place (provider:datacenter:size). Optional place on the API, the pinned_forge tool, a select on /deploy-to and the terminal's deploy line. With none, the catalog's default place for the small plan on the account's provider.
  • An unknown, unorderable or wrong-provider place is refused before any provider call. ARM sizes are listed as unorderable with the reason (the boot assumes x86).
  • The row records its datacenter and size (one fact, a migration). The volume is made in the machine's datacenter. Update, rollback and a new claim link reuse the row's place, never today's default.
  • The drivers' REGION, SIZE, LOCATION and pickType are gone: the place is the only source of where and what.
  • The ceiling prices exactly the place being created.

Tested Built by a subagent; run by me on Bun 1.4.2 after merging main (ac3083b9a): typecheck clean, gate 0, 266 pass across the pinned, places, doors, replaces, delete-tier and schema files including the ones that need a listening socket. Not run locally: the full suite. Nothing has booted on a real machine yet; this is what lets the first one be made.

🤖 Generated with Claude Code

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs