GeezerVison is showing github.com — test(mcpx): execid tests use testsupport.TempDir (fixes macOS failures, #282) by dezren39 · Pull Request #283 · developing-today/code
Conversation
dezren39
commented
Oct 18, 2026
•
edited by coderabbitai
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Fixes #282. Port of dezren39/nix PR #385 (for nix#366) to this repo's pkgs/mcpx copy — the last unported nix fix in the copy.
ExecStamp reports the executable path with symlinks resolved, but TestExecIdentityFollowsTheExecutableNotTheCommandName and TestExecIdentityResolvesAgainstTheServersOwnPath compared it against a path joined from an unresolved t.TempDir() — on macOS that's under /var → /private/var, so both tests fail on every Mac. They now use testsupport.TempDir(t) (already used by this package's merge_test.go), with the explanatory comment re-pointed to #282. The other t.TempDir() sites in the file don't compare against a resolved stamp path and stay untouched, matching the nix fix. Post-fix file differs from nix's post-fix version only in that issue reference. No production code changes.
Verified:
- Pre-fix repro (compiled test binary, symlinked TMPDIR —
go test canonicalises TMPDIR and masks it): both tests FAIL with the stamp naming the resolved path vs the unresolved expectation; post-fix both PASS under the same simulation.
- Full
internal/config suite green; go vet clean; gofmt clean.
Summary by CodeRabbit
- Tests
- Updated executable-identity test setup to use shared temporary-directory support and account for platform-specific path resolution.
- No end-user-facing behavior changes.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…ths compare equal (#282)
Codex Review Summary
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
⚠️ Failed 2026-10-18T12:16:49.213676Z |
fa55e5c |
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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

Note Currently processing new changes in this PR. This may take a few minutes, please wait...
⚙️ Run configuration
-
- Configuration used: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
18d2f715-b247-452c-94cb-67a3f7384f65
📥 Commits
-
Reviewing files that changed from the base of the PR and between d7ccd44 and fa55e5c.
📒 Files selected for processing: 1
-
pkgs/mcpx/internal/config/execid_test.go
+----------------------------------+
| The only good bug is a dead bug. |
+----------------------------------+
\
\ (\__/)
(•ㅅ•)
/ づ
✨ 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
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Oct 28, 2026
This was referenced Nov 21, 2026
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|