mirror of
https://github.com/warmbly/warmbly.git
synced 2026-08-19 16:01:16 +00:00
0c306ceb73
POST /api/v1/internal/worker/heartbeat now inserts a row into the workers table the first time an unknown worker_id checks in. Tier and egress_kind come from the heartbeat body; subsequent heartbeats just keep ip_addr fresh. Means provisioned workers self-register without admin clicks — the state machine waits for all 16 expected UUIDv5(IP) workers to ping in during the verify step, then marks the job completed. tierToColumns collapses the higher-level (shared_free / shared_premium / dedicated) name down into the existing (worker_type, free_tier) columns so the rest of the assignment logic keeps working unchanged.