Skip to content

cuda-unit clippy gate (#3636) does not run on apr-cli-only diffs — apr-cli is outside GPU_CRATES #4336

Closed

Description

@noahgift

The clippy --features cuda gate added for #3636 runs in the cuda-unit job, which is gated on gpu_touched. scripts/ci_gpu_touched.sh GPU_CRATES (spec row 67-C1) does not include crates/apr-cli, and 30 files there contain #[cfg(feature = "cuda")]. A PR touching only apr-cli's cuda code never runs the lint. (Found by the sonnet quorum lane on the #3636 gate.)

Options:

  • (a) Add apr-cli to GPU_CRATES. This sends every apr-cli PR through gpu-quick and cuda-unit, a runner-cost increase and a change to 67-C1.
  • (b) Add a separate apr-cli-touched output that runs only the clippy step. This needs a step-level if so the 18-minute test steps are skipped.
  • (c) Run check_clippy_cuda.sh in cuda-nightly.yml, which catches the gap within 24 hours.

Needs a runner-cost decision.

🤖 Generated with Claude Code

Activity

  1. added this to the backlog milestone on Sep 24, 2026
  2. added 4 commits that reference this issue on Sep 24, 2026
  3. noahgift commented on Oct 12, 2026

    @noahgift
    MemberAuthor

    evidence for close: #4655 / 989cb01 (on main), how checked:

    • scripts/ci_gpu_touched.sh on main keeps apr-cli out of GPU_CRATES (:49) and adds it as CUDA_LINT_CRATES="apr-cli" (:56), so an apr-cli-only diff now runs the cuda clippy lint.
    • Its self-test passes on main: 19 checks, 0 failed, including the apr-cli-only diff case giving cuda_lint=1.
  4. noahgift commented on Oct 12, 2026

    @noahgift
    MemberAuthor

    Cop batch close (FLOW-004 drain, ≤43/d): fix verified on main — merged #4655 ; ancestor of origin/main: 989cb01 . Evidence: #4336 (comment)

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

    P1High prioritybugSomething isn't workingowner:aprender-a7owner sessionsize:MK̂ 3-4 h

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions