René's URL Explorer Experiment


Title: design-code-proxy startup log hardcodes backend ports — misreports custom ANTIGRAVITY_LS_PROXY_PORT/CODEX_PROXY_PORT · Issue #496 · developing-today/code · GitHub

Open Graph Title: design-code-proxy startup log hardcodes backend ports — misreports custom ANTIGRAVITY_LS_PROXY_PORT/CODEX_PROXY_PORT · Issue #496 · developing-today/code

X Title: design-code-proxy startup log hardcodes backend ports — misreports custom ANTIGRAVITY_LS_PROXY_PORT/CODEX_PROXY_PORT · Issue #496 · developing-today/code

Description: Problem bin/design-code-proxy.mjs's startup "Backends" log line hardcodes the two backend ports, although both are now strictly validated environment variables in the same file. With custom ports configured, the log misreports where the ...

Open Graph Description: Problem bin/design-code-proxy.mjs's startup "Backends" log line hardcodes the two backend ports, although both are now strictly validated environment variables in the same file. With custom ports c...

X Description: Problem bin/design-code-proxy.mjs's startup "Backends" log line hardcodes the two backend ports, although both are now strictly validated environment variables in the same file. With ...

Opengraph URL: https://github.com/developing-today/code/issues/496

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"design-code-proxy startup log hardcodes backend ports — misreports custom ANTIGRAVITY_LS_PROXY_PORT/CODEX_PROXY_PORT","articleBody":"## Problem\n\n`bin/design-code-proxy.mjs`'s startup \"Backends\" log line hardcodes the two backend ports, although both are now strictly validated environment variables in the same file. With custom ports configured, the log misreports where the proxy will actually route — the exact diagnostic an operator reads first when a backend is unreachable.\n\n## Evidence (verified on main d7a6d909)\n\n- `bin/design-code-proxy.mjs:8-9` parses the real values:\n  - `ANTIGRAVITY_LS_PORT = parseProxyPort('ANTIGRAVITY_LS_PROXY_PORT', 18745)`\n  - `CODEX_PROXY_PORT = parseProxyPort('CODEX_PROXY_PORT', 18744)`\n  (strict validation added by PR #493, closing #483.)\n- The route table (`bin/design-code-proxy.mjs:17-27`, the `MODELS` entries) uses those parsed variables.\n- But `bin/design-code-proxy.mjs:302` logs literals:\n\n  ```js\n  console.log(`[design-code-proxy] Backends: Antigravity LS (18745), Codex (18744), AMR Upstream (${AMR_UPSTREAM_URL})`);\n  ```\n\n  The adjacent Listening line (:301) correctly interpolates `${PORT}`.\n\n- Live repro this run:\n\n  ```\n  $ DESIGN_CODE_PROXY_PORT=19003 ANTIGRAVITY_LS_PROXY_PORT=19001 CODEX_PROXY_PORT=19002 node bin/design-code-proxy.mjs\n  [design-code-proxy] Listening on http://127.0.0.1:19003\n  [design-code-proxy] Backends: Antigravity LS (18745), Codex (18744), AMR Upstream (https://amr-link.open-design.ai/v1)\n  ```\n\n  The proxy routes to 19001/19002 but the log claims 18745/18744.\n\n- Dedup: no open or recently closed issue names the Backends log line (searched \"design-code-proxy Backends log\" and \"hardcoded ports startup log\"). The other four proxies' startup lines interpolate `${PORT}` and name no backend ports — this is the only site. The bin proxies exist only in this repo.\n\n## Why it matters\n\nCustom backend ports are a supported configuration (#483/#493 made them strictly validated env vars, and #434 adds `{env:VAR:-fallback}` substitution for these proxy base URLs). An operator debugging a failed backend with non-default ports will be told by the proxy's own log that it is talking to ports it is not using.\n\n## Acceptance criteria\n\n- The Backends log line interpolates the parsed `ANTIGRAVITY_LS_PORT` / `CODEX_PROXY_PORT` values instead of the literals 18745/18744.\n- With custom `ANTIGRAVITY_LS_PROXY_PORT` / `CODEX_PROXY_PORT` set, the startup log shows those ports; with defaults, output is unchanged.\n- Existing `bin/proxy-port.test.mjs` suite still passes.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-21T17:59:12Z","url":"https://github.com/developing-today/code/issues/496"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:6c41fd23-6b28-2e96-04b7-39de2d51500f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCEFA:3AD124:C3D6D2:FD29E2:6B063EC5
html-safe-nonced56e44e8152044768dd7cf78789f1184501e3391cf551ab808fd0675ac1cffae
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUZBOjNBRDEyNDpDM0Q2RDI6RkQyOUUyOjZCMDYzRUM1IiwidmlzaXRvcl9pZCI6IjY3Nzg5MzAxMjk4NTIwNTUyMzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca94688c95dce0d2b6bd64ea06f3ad5dfbdeb77463122b47c9aff03a8e50bf6b6
hovercard-subject-tagissue:5965801232
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/496/issue_layout
twitter:imagehttps://opengraph.githubassets.com/54d54a62688b66d7cad412a35688925b18f8eccdedd2a4b5f8aee1e696962d37/developing-today/code/issues/496
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/54d54a62688b66d7cad412a35688925b18f8eccdedd2a4b5f8aee1e696962d37/developing-today/code/issues/496
og:image:altProblem bin/design-code-proxy.mjs's startup "Backends" log line hardcodes the two backend ports, although both are now strictly validated environment variables in the same file. With custom ports c...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
Nonedcf72c457c022486d23c3cbb0dd21aba537a87611ca9ddabd1799cf2eaa9b297
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0f38f5735226749ec5e08a8649dce4cb2613d9ad
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/496#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F496
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F496
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/496
Reloadhttps://github.com/developing-today/code/issues/496
Reloadhttps://github.com/developing-today/code/issues/496
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests167 (167)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/496
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/496
#497https://github.com/developing-today/code/pull/497
design-code-proxy startup log hardcodes backend ports — misreports custom ANTIGRAVITY_LS_PROXY_PORT/CODEX_PROXY_PORThttps://github.com/developing-today/code/issues/496#top
#497https://github.com/developing-today/code/pull/497
https://github.com/dezren39
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 21, 2026https://github.com/developing-today/code/issues/496#issue-5965801232
d7a6d90https://github.com/developing-today/code/commit/d7a6d90911dd12414c9df2d8daab83a825f88cf1
fix(bin): validate *_PROXY_PORT strictly in all five proxies #493https://github.com/developing-today/code/pull/493
bin proxies: *_PROXY_PORT parsed with bare parseInt — invalid values crash opaquely or bind the wrong port #483https://github.com/developing-today/code/issues/483
#483https://github.com/developing-today/code/issues/483
#493https://github.com/developing-today/code/pull/493
#434https://github.com/developing-today/code/issues/434
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 21, 2026https://github.com/developing-today/code/issues/496#event-33873997648
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#497https://github.com/developing-today/code/pull/497
on Oct 21, 2026https://github.com/developing-today/code/issues/496#event-33874554776
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/496
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/496
dezren39https://github.com/dezren39
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.