Skip to content

fix(home): drop openchamber wants on manual proxy units - #2094

Merged
dezren39 merged 1 commit into
mainfrom
fix/openchamber-proxy-wants
Oct 30, 2026
Merged

dezren39 merged 1 commit into
mainfrom
fix/openchamber-proxy-wants

Conversation

@dezren39

@dezren39 dezren39 commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Problem

Same pattern PR #2092 fixed for openclaw-gateway, here for openchamber.service (home/common/default.nix): the seven model proxies are owned by the proxy-supervisor (transient fps-* units on canonical ports 18742-18749, live model lists), and the old manual per-proxy units are stopped fallbacks — but openchamber still declared Wants on four of them:

  • clef-proxy.service
  • codex-proxy.service
  • antigravity-ls-proxy.service
  • design-code-proxy.service

Any OpenChamber restart would re-pull those manual units. The manual design-code-proxy unit is the known harmful one: it fights the supervisor's instance for its already-taken port (tracked in #883).

Change

home/common/default.nix: remove the four manual proxy units from openchamber's Wants, with a comment in the same style as #2092 recording why they must not come back (supervisor owns the proxies; reached by port; manual units are fallbacks — see #883). network-online.target and mcpx.service stay — mcpx is a real unit dependency. The After ordering entries are left in place (ordering only, harmless).

Not in this change

Twin of #2092 (the same fix for openclaw-gateway in home/openclaw/default.nix); the two changes are independent, touch different files, and are based independently on main. The manual unit declarations themselves are intentionally retained as manual one-off fallbacks — their declarations say so — so they are not removed here.

Verification (post-merge deploy)

  • converge + nixos-rebuild switch --flake …#amd on the laptop
  • restart openchamber; confirm the manual proxy units stay inactive and the supervisor-owned proxies still answer on :18745 / :18746
  • systemctl --user reset-failed agy-proxy.service to clear its stale failure entry

Refs #883
Twin: #2092


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

The provider proxies are owned by the proxy-supervisor (transient fps-* units on the canonical ports), but openchamber still declared Wants on the manual clef/codex/antigravity-ls/design-code proxy units, so an OpenChamber restart would re-pull them; the manual design-code-proxy unit fights the supervisor instance for its port (#883). OpenChamber reaches the proxies by port, not by unit; only mcpx is a real unit dependency. Twin of the openclaw-gateway change (#2092), which touched home/openclaw/default.nix; this one touches home/common/default.nix.
@dezren39
dezren39 requested a review from a team as a code owner October 29, 2026 02:49
@coderabbitai

coderabbitai Bot commented Oct 29, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 39 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 22fea01f-1da2-411f-b7ac-e5a7f7fe8a08
Commits

Reviewing files that changed from the base of the PR and between bd88019 and afb8495.

Files selected for processing: 1
  • home/common/default.nix
  • 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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 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-29T02:50:47.205796Z afb8495 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.

@dezren39

Copy link
Copy Markdown
Member Author

Superseded by the proxy service-model redesign tracked in #2104 (design decision 2026-10-28 23:05 CDT).

Instead of dropping openchamber's Wants on the proxy units, the redesign makes the units those Wants name — clef-proxy, codex-proxy, antigravity-ls-proxy, design-code-proxy — proper automatic flake-declared user services (WantedBy default.target, canonical ports, same entry points the proxy-supervisor runs today), and retires the proxy-supervisor's process ownership in the same change. OpenChamber's Wants are then correct as-is on main and are kept, with Wants+After soft semantics (mcpx / network-online unchanged).

Leaving this PR open and unmerged per the redesign plan — do not merge.

@dezren39 dezren39 closed this Oct 30, 2026
@dezren39 dezren39 reopened this Oct 30, 2026
@dezren39
dezren39 added this pull request to the merge queue Oct 30, 2026
Merged via the queue into main with commit c68cd06 Oct 30, 2026
6 checks passed
@dezren39
dezren39 deleted the fix/openchamber-proxy-wants branch October 30, 2026 03:34
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.

1 participant