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

New forge: Hetzner is selectable (cheapest place anywhere when none in the US), and Change place lists one entry per datacenter #16507

Merged opened this

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

Merged

Follow-up to #16496, from testing it on production 1.0.0 as an admin. The owner asked to "quickly deploy one to digital ocean or hetzner with the plus button and new forge whenever i want".

Notes

shipped production is serving it deploy 3fede26

opened this

Follow-up to #16496, from testing it on production 1.0.0 as an admin. The owner asked to "quickly deploy one to digital ocean or hetzner with the plus button and new forge whenever i want". DigitalOcean works end to end from the form: nfdo1 was answering over HTTPS in 8 minutes, then its first-admin page loaded, then it was retired. Hetzner could not be chosen, and Change place was a mess:

  • Hetzner was greyed out: "Nowhere can be ordered: no place in the United States…". Hetzner's cheap line exists only in Europe. Now a provider with no orderable US place falls back to its cheapest orderable place anywhere, and the option shows that city (Nuremberg). The US preference stays for providers that have US places. The page, the Places API and the deploy share chooseDefault, so what is shown is what is deployed.
  • Change place listed 59 radios for DigitalOcean: repeated labels ("New York · $13.00" twice) and every size variant (-amd, -intel, -70gb). Now it lists one entry per datacenter at its cheapest size that meets the plan, cheapest first. Labels are distinct ("New York 1", "New York 3"), and the default's datacenter is not repeated.
  • Refusal copy: what a person reads no longer contains "GET /api/v1/places" or "provider:datacenter:size".

Docs: cloud.md (Where it runs), deploy-to-hetzner.md and pinned-forge.md said the default is US-only; they now describe the fallback.

Tested on Bun 1.4.2. Green:

  • new-forge* (pick-150 included), new-forge-places (5 new tests: EU-only fallback, datacenter dedupe with distinct labels);
  • one-door, order-cloud, doorless, design-lint, tui-newforge, page-budget, pages-budget, places, pinned-hetzner, pinned-ceiling;
  • the web rule tests, mcp-size, llms-budget, contract-openapi.

No type errors in the touched files; tsc's few errors are in unrelated test files and are main's own.

Review

  • Go: /forges/new as an admin with DigitalOcean and Hetzner accounts that allow writes.
  • Look: Hetzner Cloud is selectable with a European city and its price. DigitalOcean's Change place shows one row per datacenter, with no repeated label.
  • Expect: Spawn on Hetzner makes a $0 order and boots in that city.

🤖 Generated with Claude Code

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs