Skip to content

mcpx: darwin/arm64 test-compile gate (#1988) - #2995

Merged
dezren39 merged 1 commit into
mainfrom
queue/3285-1988-darwin-compile-gate
Oct 31, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/3285-1988-darwin-compile-gate

Conversation

@dezren39

@dezren39 dezren39 commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

What

Adds a darwin/arm64 cross-compile gate for mcpx test packages (#1988 follow-up from triage task 2893):

Out of scope (per the task packet): fixing SOCK_CLOEXEC (#237), adding a macOS runner (#1973/#1983), running the suite on darwin (#1988 stays open for the real Mac run).

Verification (laptop, at main c1b9052)

  • Baseline re-verified fresh: darwin go build ./... passes; exactly one test package fails to compile — internal/daemon, same error as the packet recorded at 4d15775.
  • Gate with exception list: passes in ~38s (33s scan), reporting the one known exception.
  • Gate with DARWIN_COMPILE_EXCEPTIONS="": fails (exit 1), naming internal/daemon — proves it detects the class.
  • Workflow YAML parses; script is shellcheck-clean at warning severity.

Refs #1988, #237. Queue task 3285.


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

Nothing in CI compiled mcpx test packages for darwin, so a Linux-only test constant (syscall.SOCK_CLOEXEC in internal/daemon, #237) was invisible until a Mac run. scripts/darwin-compile-check.sh cross-compiles go build ./... plus every test binary for darwin/arm64; DARWIN_COMPILE_EXCEPTIONS is the single exception list (today: internal/daemon -> #237, delete when its compile fix lands). Wired as a step in the mcpx test (push) and stress-pr (PR) jobs on the existing ubuntu runners; local command documented in pkgs/mcpx/AGENTS.md.

Verified on laptop at c1b9052: gate passes in ~38s with the exception; with DARWIN_COMPILE_EXCEPTIONS emptied it fails naming internal/daemon (takeover_test.go:24 SOCK_CLOEXEC). Baseline re-verified fresh: darwin build passes, exactly one test package fails to compile.
@dezren39
dezren39 requested a review from a team as a code owner October 31, 2026 08:33
@coderabbitai

coderabbitai Bot commented Oct 31, 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 54 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: d86c6b78-a8c3-4d34-a6cd-cc0fd431dc6a
Commits

Reviewing files that changed from the base of the PR and between c1b9052 and 5b5c2b5.

Files selected for processing: 3
  • .github/workflows/mcpx.yml
  • pkgs/mcpx/AGENTS.md
  • pkgs/mcpx/scripts/darwin-compile-check.sh
  • 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 Oct 31, 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-31T08:35:17.077832Z 5b5c2b5 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

🤖 Agent note · parked

@dezren39
dezren39 merged commit fa7e71b into main Oct 31, 2026
10 checks passed
@dezren39
dezren39 deleted the queue/3285-1988-darwin-compile-gate branch October 31, 2026 10:28
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