broker: choose Sydney (AMD sizes) or San Francisco 2 (Regular sizes) — DigitalOcean withdrew the Regular sizes from syd1 (GOTCHAS #420) #2198
No reviewers
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss!2198
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/broker-syd1-amd-sizes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The TuIA re-founding failed at "Rent the gateway server":
DigitalOcean refused: Size is not available in this region. DigitalOcean no longer sellss-2vcpu-4gbors-4vcpu-8gbin syd1. It still sells their-amdversions there (same specs, list $28 / $56), and still sells the Regular sizes in sfo2, the only US region that does.Ben asked to be able to choose between Sydney on AMD and the US on the Regular sizes.
Change
RentalConfig.RegionSizesinbroker/internal/broker/rentals.go: region → offered size → the size actually rented there.RentandRentDeviceapply it after resolving the region and size.broker/cmd/broker/main.go:gatewayRegionSizesmaps syd1 to-amd. sfo2 has no entry, so it rents the Regular sizes.scripts/gateway-image/build.sh:s-2vcpu-4gb-amd;IDSS_GATEWAY_IMAGE_REGIONS(default sfo2). The broker offers only the regions the newest snapshot is in, so without this the US option would disappear at the next rebuild.Tests
rentals_regionsize_test.go, written to fail first: syd1 rents-amd, sfo2 rents the Regular size, and a device rent is mapped too.cmd/broker/presets_test.go: the default size is offered, and every preset has a syd1 mapping.go test ./...passes inbroker/, and the gateway-image script tests pass.The app reads sizes and regions from the live offer, so it doesn't need a rebuild. After merge, CI publishes the broker and deploys it through the installer fixed in #2197.
🤖 Generated with Claude Code
broker: rent the -amd sizes — DigitalOcean withdrew s-2vcpu-4gb / s-4vcpu-8gb from syd1 (GOTCHAS #420)to broker: choose Sydney (AMD sizes) or San Francisco 2 (Regular sizes) — DigitalOcean withdrew the Regular sizes from syd1 (GOTCHAS #420)