Skip to content

test(mcpx): probe daemon.inlineStartTimeout and daemon.probeTimeout (#8473 chain 41) - #11879

Merged
dezren39 merged 1 commit into
mainfrom
test/mcpx-probes-chain41
Nov 18, 2026
Merged

dezren39 merged 1 commit into
mainfrom
test/mcpx-probes-chain41

Conversation

@dezren39

@dezren39 dezren39 commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Before: daemon.inlineStartTimeout and daemon.probeTimeout were exempt from the settings effect guard, with nothing checking that either changes behavior.

After: each has an e2e probe. A 1ns inline start bound makes an inline ls fail with "the in-process daemon did not answer", and a 1ns probe bound hides a live sibling daemon from the connection ladder that a second configuration reports. The exemption pin goes from 99 to 97.

How: two probes in effect_test.go, registered in EffectProbes on both sides, with their exemption lines removed.

Refs #8473


Generated by Claude Code


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

…8473 chain 41)

daemon.inlineStartTimeout: with daemon.inline=always and a 1ns bound the
inline rung fails with "the in-process daemon did not answer"; the
default bound lists demo.

daemon.probeTimeout: a second configuration with autostart off fails
with the connection ladder. By default its sibling rung reports the
first configuration's live daemon; with a 1ns bound no dial finishes
and no sibling is reported.

Drops two exemptions; the pin goes from 99 to 97.

Refs #8473

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dezren39
dezren39 marked this pull request as ready for review November 18, 2026 19:37
@dezren39
dezren39 requested a review from a team as a code owner November 18, 2026 19:37
@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • 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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T19:40:21.536156Z 3704781 Draft marked ready
ℹ️ 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
dezren39 merged commit 817a094 into main Nov 18, 2026
1 check failed
@dezren39
dezren39 deleted the test/mcpx-probes-chain41 branch November 18, 2026 19:39

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3704781586

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +2897 to +2898
if out := ladder(); !strings.Contains(out, "1 other daemon(s) here") {
t.Fatalf("oracle: with the default probe bound the live sibling should be reported, got:\n%s", out)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep the sibling probe's sockets in a short, isolated directory

With ordinary TMPDIR=/tmp, this test's long name makes both the state socket path and the private runtime fallback exceed the 100-byte limit in daemon/paths.go, so socketPath places the socket directly in /tmp. siblingSockets in cli/connect.go then counts every listening *.sock in that directory, without filtering by state directory. An unrelated socket or another concurrently running suite therefore makes this exact-one assertion fail despite correct timeout behavior. Set a short, isolated state directory, such as one created by testsupport.SocketDir(t), before starting the daemon.

Useful? React with 👍 / 👎.

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.

2 participants