Title: nix ci red on main: proxy-port guard misses muse/commandcode proxies — opencode.jsonc hardcodes 18747/18748 · Issue #866 · developing-today/code · GitHub
Open Graph Title: nix ci red on main: proxy-port guard misses muse/commandcode proxies — opencode.jsonc hardcodes 18747/18748 · Issue #866 · developing-today/code
X Title: nix ci red on main: proxy-port guard misses muse/commandcode proxies — opencode.jsonc hardcodes 18747/18748 · Issue #866 · developing-today/code
Description: Problem 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: Open Graph Description: Problem 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 hardc...
X Description: Problem 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 hardc...
Opengraph URL: https://github.com/developing-today/code/issues/866
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"nix ci red on main: proxy-port guard misses muse/commandcode proxies — opencode.jsonc hardcodes 18747/18748","articleBody":"## Problem\n\n`nix ci` (treefmt job) fails on main since the fleet proxy/config commits (a936e167, f5749275, 187da70d):\n\n- `.github/scripts/check-proxy-port-fallbacks.sh` fails with: `.opencode/opencode.jsonc hardcodes a literal proxy port — use {env:\u003cVAR>:-\u003cport>} so the copies cannot drift (#435).`\n- Verified on main a480b6a0 and 7ce0d74c: nix ci runs 40182802819 / 40183235188 FAILURE; the same failure hits unrelated PRs branched from current main (e.g. PR #857's fresh treefmt run 40182863546).\n\n## Root cause\n\n`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:\n\n1. the guard script's proxy table still lists only the original five, so the two new ports are never checked, and\n2. `.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.\n\n## Fix (in the sweep PR)\n\n- Add MUSE_PROXY_PORT and COMMANDCODE_PROXY_PORT rows to the guard's proxy table.\n- opencode.jsonc: use `{env:MUSE_PROXY_PORT:-18747}` (commented muse provider) and `{env:COMMANDCODE_PROXY_PORT:-18748}` (commandcode provider).\n\n## Acceptance\n\n- `bash .github/scripts/check-proxy-port-fallbacks.sh` passes (7 proxies).\n- nix ci treefmt job green on main again.","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-25T10:13:56Z","url":"https://github.com/developing-today/code/issues/866"}
react-profiling 0 react-import-map react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 route-pattern /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) route-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:5d94c249-756d-b5a7-b258-81c37c13b06b current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id 9092:0DF6:A0F9E4:D1679B:6B063669 html-safe-nonce 758d7f8d347c4cb57c98f2e4a76f8656b4f3954e14270e138719a7df61cc0e92 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDkyOjBERjY6QTBGOUU0OkQxNjc5Qjo2QjA2MzY2OSIsInZpc2l0b3JfaWQiOiI0NTU4NzgwMzU1MzcyNzkxNDAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= visitor-hmac 789f94d06faf84b206ac875e0f750c46116b653c28e68f9f15566ce61bc4a635 hovercard-subject-tag issue:6023312819 github-keyboard-shortcuts repository,issues,copilot google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I octolytics-url https://collector.github.com/github/collect analytics-location / fb:app_id 1401488693436528 apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/866/issue_layout twitter:image https://opengraph.githubassets.com/43433ee72d1f783708c9aa6330622e9dff37851685f53dac0aef34b2a94886dc/developing-today/code/issues/866 twitter:card summary_large_image og:image https://opengraph.githubassets.com/43433ee72d1f783708c9aa6330622e9dff37851685f53dac0aef34b2a94886dc/developing-today/code/issues/866 og:image:alt Problem 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 hardc... og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username dezren39 hostname github.com expected-hostname github.com None c3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0 turbo-cache-control no-preview go-import github.com/developing-today/code git https://github.com/developing-today/code.git octolytics-dimension-user_id 26439447 octolytics-dimension-user_login developing-today octolytics-dimension-repository_id 627308783 octolytics-dimension-repository_nwo developing-today/code octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 627308783 octolytics-dimension-repository_network_root_nwo developing-today/code turbo-body-classes logged-out env-production page-responsive disable-turbo false browser-stats-url https://api.github.com/_private/browser/stats browser-errors-url https://api.github.com/_private/browser/errors release 9eb3bb1597d09170a5f282cd38ae376dee1a5ec1 ui-target full theme-color #1e2327 color-scheme light dark react-app-name issues
Response headers:
Server github.com Content-Type text/html; charset=utf-8 Cache-Control max-age=0, private, must-revalidate
URLs of crawlers that visited me.