8000 fix(minimald): key gvproxy state dir by daemon instance id by gominimal-aw-bot[bot] · Pull Request #1832 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

fix(minimald): key gvproxy state dir by daemon instance id - #1832

Merged
norrietaylor merged 3 commits into
mainfrom
inbox-patch/gvproxy-daemon-id-5f536285ff115665
Oct 3, 2026
Merged

norrietaylor merged 3 commits into
mainfrom
inbox-patch/gvproxy-daemon-id-5f536285ff115665

Conversation

@gominimal-aw-bot
Copy link
Copy Markdown
Contributor

Routing-Key: inbox-route/I_kwDOSUhdos8AAAABUsrQzQ

Two native daemons sharing one state root clobber each other's
gvproxy control socket because both use <state_root>/gvproxy as the
gvproxy state directory. Daemon B's attach replaces daemon A's
control socket; A's stop() then deletes B's socket.

Key the gvproxy directory by daemon instance so each daemon gets its
own isolated directory: <state_root>/gvproxy/<daemon_id>/. The
daemon_id is a random 5-char alphanumeric string already generated at
startup and available in scope at the SwitchClient construction site.

Verification

  • cargo fmt --check — passed
  • cargo clippy -p minimald --all-targets --locked — no new warnings (pre-existing double_must_use in remote-proto and needless_borrows_for_generic_args in args are unrelated)
  • cargo build -p minimald --locked — passed
  • cargo test -p minimald --locked — 543 passed; 5 flaky tests fail under parallel execution (port conflicts) but all pass in isolation, pre-existing and unrelated to this change

Two native daemons sharing one state root clobber each other's
gvproxy control socket because both use <state_root>/gvproxy as the
gvproxy state directory.  Daemon B's attach replaces daemon A's
control socket; A's stop() then deletes B's socket.

Key the gvproxy directory by daemon instance so each daemon gets its
own isolated directory: <state_root>/gvproxy/<daemon_id>/.  The
daemon_id is a random 5-char alphanumeric string already generated at
startup and available in scope at the SwitchClient construction site.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@gominimal-aw-bot
gominimal-aw-bot Bot requested a review from a team as a code owner October 2, 2026 23:12
@gominimal-aw-bot gominimal-aw-bot Bot added the agent:fix Agentic fix PR eligible for review iteration; min-aw's worker-iterate gates on it. label Oct 2, 2026
@coderabbitai
coderabbitai Bot commented Oct 2, 2026 •
Copy link
Copy Markdown
Contributor

Warning

Review limit reached

  • Run on-demand review

This review includes 1 billable file and costs up to $0.25.

Or wait 52 minutes for your next included review.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available. Your 55 included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 9fdfda9d-3fc5-4159-bc8e-503b43ee003e
📥 Commits

Reviewing files that changed from the base of the PR and between b176b33 and 68efda8.

📒 Files selected for processing (1)
  • crates/minimald/src/server.rs
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@gominimal-aw-bot gominimal-aw-bot Bot added the agent:resolve Consent gate: pr-conflict-resolver may rewrite this branch label Oct 2, 2026
@norrietaylor norrietaylor changed the title fix: fix(minimald): key gvproxy state dir by daemon instance id fix(minimald): key gvproxy state dir by daemon instance id Oct 3, 2026
@norrietaylor
norrietaylor enabled auto-merge October 3, 2026 07:56
@norrietaylor
norrietaylor added this pull request to the merge queue Oct 3, 2026
Merged via the queue into main with commit ad9844a Oct 3, 2026
34 checks passed
@norrietaylor
norrietaylor deleted the inbox-patch/gvproxy-daemon-id-5f536285ff115665 branch October 3, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent:fix Agentic fix PR eligible for review iteration; min-aw's worker-iterate gates on it. agent:resolve Consent gate: pr-conflict-resolver may rewrite this branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0