You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
nix ci red on main: proxy-port guard misses muse/commandcode proxies — opencode.jsonc hardcodes 18747/18748 #866
nix ci (treefmt job) fails on main since the fleet proxy/config commits (a936e16, f574927, 187da70):
.github/scripts/check-proxy-port-fallbacks.sh fails with: .opencode/opencode.jsonc hardcodes a literal proxy port — use {env:<VAR>:-<port>} so the copies cannot drift (#435).
home/common/default.nix gained two proxies — museProxyPort = 18747 and commandcodeProxyPort = 18748 — whose scripts already use the guarded pattern (bin/muse-proxy.mjs:32 parseProxyPort('MUSE_PROXY_PORT', 18747), bin/commandcode-proxy.mjs:58 parseProxyPort('COMMANDCODE_PROXY_PORT', 18748), session var COMMANDCODE_PROXY_PORT at default.nix:614), but:
the guard script's proxy table still lists only the original five, so the two new ports are never checked, and
.opencode/opencode.jsonc keeps literal ports: the live commandcode provider baseURL (line 4216, 127.0.0.1:18748) and the commented-out muse provider baseURL (line 4149, 127.0.0.1:18747), both matching the guard's literal-port grep.
Fix (in the sweep PR)
Add MUSE_PROXY_PORT and COMMANDCODE_PROXY_PORT rows to the guard's proxy table.
opencode.jsonc: use {env:MUSE_PROXY_PORT:-18747} (commented muse provider) and {env:COMMANDCODE_PROXY_PORT:-18748} (commandcode provider).
Activity
developing-today commentedon Oct 25, 2026
CODE-129
fix(ci): guard muse/commandcode proxy ports, drop literal ports in op…