Skip to content

Three CLI tests fail on macOS: platform assumptions (Windows scheduled task, CUDA runtime dir, release receipt) #5586

Open

Description

@joelteply

Found while testing #5396 on the M5 (macOS, tree 515c17b, 2026-10-29 11:42Z). Pre-existing: none of these files are touched by that PR. CI runs these on Linux/Windows only, so they never fail there (plan line 10: host-dependent tests).

  • continuum-cli-lifecycle installed_release::tests::active_receipt_requires_owned_exact_files_and_hash_closure (installed_release.rs:489): validate_receipt(..).is_ok() fails.
  • continuum bin tests::reboot_tests::prebuilt_reboot_options_are_explicit_and_strict (reboot_tests.rs:147): panics "scheduled task deployment is Windows-only"; the Windows-only arm needs cfg(windows) or a platform-neutral expectation.
  • continuum bin tests::core_artifact_tests::native_launch_preserves_runtime_overrides_and_configured_path (core_artifact_tests.rs:117): expects a cuda-13.2/Library/bin runtime dir prepended to the child PATH; on macOS only operator-bin is.

Fix: each test states the platform it asserts (an adapter's expectation per OS, never a cfg inside logic), so cargo test gives the same result on every host. Owner: Fable.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Activity

  1. joelteply commented on Oct 29, 2026

    @joelteply
    ContributorAuthor

    Also macOS/host-timing: continuum-kernel gpu::backends::metal::tests::pressure_updates_after_first_tick (mod.rs:361) failed on the M5 at 12:43Z while builds ran beside it (sleeps 1.2 s, expects Metal pressure > 0). Untouched by #5581; CI does not run it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions