Skip to content

CI: gate the device surface, the host feature, and the B200 harness #17

Closed

Description

@feitreim

Split out of #4, which delivered the harness but not the automation.

Nothing currently runs on push. Three tiers, increasing in cost:

  1. cargo check / test / clippy --all-targets / fmt --check / doc --no-deps on the device surface. Runs anywhere, no CUDA needed. Should be gating today.
  2. cargo check --features host. Needs a CUDA toolkit for cuda-bindings (it wants cuda.h); no GPU required. A container from the same CUDA 13 devel base modal_app.py uses would do it.
  3. device-tests on a B200. modal_app.py::device_tests already does exactly this and runs in ~1.5 min of GPU time. Wiring it into CI needs a Modal token in secrets and a decision about when it runs — every push is probably wasteful; on-demand via label, or on changes to reg.rs/shared.rs/ldst.rs/tmem.rs, is likelier right.

Tier 1 is the easy win and worth doing on its own. Tiers 2 and 3 are each their own piece of work; do not block tier 1 on them.

Also worth including once it exists: modal_app.py::build is a CPU-only job that runs cargo check --features host --all-targets, cargo test --features host, and a full cargo oxide build device-tests --arch sm_100a against the driver stub — i.e. tier 2 plus a real device-codegen check without a GPU. That is probably the highest value-per-minute job in the whole setup, since it catches post-monomorphization const-assert failures (see #2) that cargo check cannot.

Activity

  1. added
    infra
    on Jul 26, 2026
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

    infra

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions