Skip to content

fix(inference): coordinator covers MacIntelMetal — canary --features metal was broken - #1633

Merged
joelteply merged 1 commit into
canaryfrom
fix/coordinator-macintelmetal-arm
Jun 15, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/coordinator-macintelmetal-arm

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Problem

cargo check -p continuum-core --features metal,accelerate fails to compile on canary: error[E0004]: non-exhaustive patterns: TargetSilicon::MacIntelMetal not covered at inference/coordinator.rs:140.

#1624 added the MacIntelMetal governor variant (Intel Mac w/ Metal GPU, task #52) and updated policy_selector.rs, but missed coordinator_silicon_for's match. That match is in the --features metal path, and the Linux CI (cargo test -p continuum-core --lib, no metal) runs without it — so the break shipped green. The GPU-first build path has been down on canary since.

Fix

Map MacIntelMetal → TargetSilicon::Gpu (it's a real Metal-addressable GPU, not Apple-silicon UnifiedMemory). One match arm + doc.

Validation

cargo check -p continuum-core --features metal,accelerate → Finished, 0 errors (on a fresh M5 Pro). Caught precisely because this box builds the metal path the Linux CI can't.

Note

Cross-OS/feature-matrix gap: consider adding a macOS/--features metal build to CI so metal-only breaks don't ship green again.

…ary --features metal was broken

#1624 added the MacIntelMetal governor variant (Intel Mac w/ Metal GPU, task
#52) but `coordinator_silicon_for`'s match in inference/coordinator.rs wasn't
updated → non-exhaustive patterns → `cargo check -p continuum-core --features
metal,accelerate` FAILED to compile on canary. The Linux CI runs WITHOUT the
metal feature, so it stayed green and the break shipped — the GPU-first build
path was down.

Map MacIntelMetal → TargetSilicon::Gpu (a real Metal-addressable discrete/
integrated GPU, not Apple-silicon UnifiedMemory). Caught by a local --features
metal build on a fresh M5 Pro.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@joelteply
joelteply merged commit 4bbcc7c into canary Jun 15, 2026
4 checks passed
@joelteply
joelteply deleted the fix/coordinator-macintelmetal-arm branch June 15, 2026 21:26
joelteply added a commit that referenced this pull request Oct 31, 2026
Card 2a0d34cf: land the identity custody fix in base.

762adeb2 is the airc canary head + the read-never-mints identity
custody fix (fix/read-never-mints-identity, card 4b2dbdf3): a READ of
the work board on a named home no longer silently mints and overwrites
a citizen's identity.key; init --as mints explicitly.

Bumps every workspace pin in Cargo.toml [workspace.dependencies]
(airc-core, airc-blobs, airc-protocol, airc-ipc, airc-bus, airc-lib,
airc-wire, airc-trust, airc-work) and re-resolves Cargo.lock to the new
rev (15 lock entries).

This rev already carries #1623 (sealed progress / terminal reply
lifecycle, which satisfied the c7083d04 BLOCKED note) plus #1618, #1624,
#1630, #1633, #1635 on top.

Suite status: airc suite green at 762adeb2 (identity_commands 10/10,
airc-identity unit+doc). continuum suite re-run follows against this pin.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant