Skip to content

fix(bin): log parsed backend ports in design-code-proxy startup line - #497

Merged
dezren39 merged 1 commit into
mainfrom
creator/496-design-code-backends-log
Oct 21, 2026
Merged

dezren39 merged 1 commit into
mainfrom
creator/496-design-code-backends-log

Conversation

@dezren39

@dezren39 dezren39 commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Fixes #496.

The Backends startup line hardcoded 18745/18744 although ANTIGRAVITY_LS_PROXY_PORT/CODEX_PROXY_PORT are parsed (strictly validated, PR #493) and the route table uses them. Interpolate the parsed variables.

Verified:

  • Custom ports: ANTIGRAVITY_LS_PROXY_PORT=19001 CODEX_PROXY_PORT=19002 → log now reads Backends: Antigravity LS (19001), Codex (19002), ...
  • Defaults: output unchanged (18745/18744)
  • node --test bin/proxy-port.test.mjs 9/9 pass

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Summary by CodeRabbit

  • Bug Fixes
    • Startup logs now display the configured Antigravity Language Server and Codex backend ports, improving accuracy when custom ports are used.

@dezren39
dezren39 requested a review from a team as a code owner October 21, 2026 18:00
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-21T18:01:56.641530Z 357329c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 51d40def-6925-4c06-ae9d-610b21b202a1
📥 Commits

Reviewing files that changed from the base of the PR and between d7a6d90 and 357329c.

📒 Files selected for processing: 1
  • bin/design-code-proxy.mjs

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

The design-code-proxy startup log now reports the configured Antigravity LS and Codex backend ports instead of fixed port numbers. The AMR upstream URL remains dynamic.

Changes: Backend port logging

Layer / File(s) Summary
Report configured backend ports
bin/design-code-proxy.mjs
The Backends startup log uses the configured Antigravity LS and Codex port values.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix · Severity of issue fixed: Low

Merge Risk: ⚪ Minimal · up to 35732

The startup log correctly reports configured and default backend ports, with no remaining merge risk identified.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: the startup log now reports parsed backend port values instead of hardcoded values.
Linked Issues check Passed Issue #496 requires the Backends log to show the parsed backend ports, preserve default output, and keep the existing test suite passing. The PR replaces the hardcoded 18745 and 18744 values with …
Out of Scope Changes check Passed The diff changes only the Backends startup log in bin/design-code-proxy.mjs. The change directly implements issue #496 and does not add unrelated behavior or files.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Full details: Linked Issues check

Explanation

Issue #496 requires the Backends log to show the parsed backend ports, preserve default output, and keep the existing test suite passing. The PR replaces the hardcoded 18745 and 18744 values with ${ANTIGRAVITY_LS_PORT} and ${CODEX_PROXY_PORT}. The PR evidence reports that custom-port and default-port behavior works and that node --test bin/proxy-port.test.mjs passes 9/9 tests.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files.

✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dezren39
dezren39 merged commit bb63565 into main Oct 21, 2026
4 checks passed
@dezren39
dezren39 deleted the creator/496-design-code-backends-log branch October 21, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

design-code-proxy startup log hardcodes backend ports — misreports custom ANTIGRAVITY_LS_PROXY_PORT/CODEX_PROXY_PORT

1 participant