fix: retire 'gal' HOSTNAME default → 'sol-prod' #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/hostname-gal-default"
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?
Last hardcoded retired host in the engine source:
server.js:101const HOSTNAME = process.env.HOSTNAME || 'gal'.Changed the fallback to
'sol-prod'(the engine's actual host). Inert — the deployed engine always setsHOSTNAME=sol-prodvia compose/vault — but if it were ever unset,'gal'would makeisLocal()wrong and break deploys, whereas'sol-prod'is correct.Note:
sol-prod, notsol-dev, for this one specifically — it's the engine's own execution host (used byisLocal(server)), sosol-devhere would re-break the exactisLocalbug just fixed. (App manifestgal→sol-devmapping is separate.)Completes the retired-host cleanup alongside PR #10 (ALLOWED_NODES, REGISTRY_SERVERS, port binding, fallbacks).
🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.