feat: settle on WARMBLY_NODE_REGION as the one region variable for every role, because the join script wrote it while the worker still read WORKER_REGION, so a joined worker reported no region and the placement geography term stayed dead for exactly the machines that had been given one

This commit is contained in:
Matthew Meszaros
2026-09-09 05:04:55 -07:00
parent de60bc3784
commit 704fecdcc0
6 changed files with 19 additions and 8 deletions
+3 -3
View File
@@ -702,10 +702,10 @@ var table = []Entry{
Resolve: envValue("WORKER_ID"),
},
{
Key: "WORKER_REGION", Group: GroupWorkers, RuntimeChangeable: ChangeBootOnly,
Effect: "Where this worker egresses from, as a free-form label. Placement prefers a worker near where a mailbox's provider expects sign-ins; unset scores neutral.",
Key: "WARMBLY_NODE_REGION", Group: GroupWorkers, RuntimeChangeable: ChangeBootOnly,
Effect: "Where this node egresses from, as a free-form label. Placement prefers a worker near where a mailbox's provider expects sign-ins; unset scores neutral.",
DocsAnchor: docsWorkers,
Resolve: envValue("WORKER_REGION"),
Resolve: envValue("WARMBLY_NODE_REGION"),
},
{
Key: "MAIL_TLS_INSECURE", Group: GroupWorkers, RuntimeChangeable: ChangeBootOnly,