Skip to content

Run CI on Apple silicon now that only the darwin-arm64 CLI is bundled - #18

Merged
duharry0915 merged 1 commit into
mainfrom
fix/ci-macos-runner
Oct 1, 2026
Merged

duharry0915 merged 1 commit into
mainfrom
fix/ci-macos-runner

Conversation

@duharry0915

Copy link
Copy Markdown
Contributor

What was broken

CI failed on #17 and on main after it merged:

plugin:validate FAILED — could not inspect the bundled AgentMail CLI global options
Error: This AgentMail plugin package does not bundle the AgentMail CLI for linux-x64 (bundled: darwin-arm64). …

plugin:validate runs the bundled CLI's --help on the host, to check the CLI's global options against the plugin's restricted-option guard. #17 bundles only the darwin-arm64 CLI so the package can publish to ClawHub, but CI ran on ubuntu-latest. I verified #17 only on a darwin-arm64 machine and missed that.

What changed

  • Full job on macos-latest (Apple silicon), so plugin:validate exercises the executable we ship. The restricted-option check stays intact rather than being skipped.
  • New test-linux job (npm ci, build, npm test on ubuntu-latest). Most gateways run the email channel on Linux, so its tests keep running there.

Verification

  • The test-linux steps pass in node:24.15.0 on x86_64 under Docker: 241 tests.
  • The test job steps (plugin:check, plugin:validate, pack:verify, npm test) pass on darwin-arm64.

0.2.2 will be published from this PR's merge commit once CI is green.

🤖 Generated with Claude Code

plugin:validate runs the bundled CLI's --help to check its global options
against the plugin's restricted-option guard. Since #17 the package bundles
only the darwin-arm64 CLI, so on the ubuntu runner validation failed with
"does not bundle the AgentMail CLI for linux-x64".

- Run the full job on macos-latest so validation exercises the shipped
  executable.
- Add a test-linux job (build + tests) so the email channel, which most
  gateways run on Linux, stays tested there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@duharry0915
duharry0915 merged commit 4ae26ff into main Oct 1, 2026
2 checks passed
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