Skip to content

ci: linux check times out when a PR touches MODULE.bazel #15472

Done

Description

@TrapsterDK

A PR that touches MODULE.bazel, MODULE.bazel.lock or .dx/bazelrc/* makes every target affected. check (linux_x86_64) then runs dx check --coverage on the whole repo and hits the 20-minute job limit.

Seen on 2026-12-02: run 46829258228 (main-gate-green) built dx in 75s, then the gate step ran from 07:03 until it was cancelled at 07:21. rules-julia-0-9-0 and rustfmt-toolchain-optional-rust hit the same limit.

Fix:

  • Split whole-repo coverage into shards when the affected set is the whole repo.
  • Lock and bazelrc changes run the gate without coverage, and coverage runs in the shards.
  • check (linux_x86_64) finishes under 20 minutes for a PR that only changes MODULE.bazel.lock.

Part of #15405.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hxb7tMzRqzVaKmAvVT

Activity

  1. TrapsterDK commented on Dec 4, 2026

    @TrapsterDK
    CollaboratorAuthor

    Already fixed on main. PR checks run --affected without coverage, and check has a 60-minute timeout. Whole-repo coverage runs only nightly. A lock-only PR resolves to 0 affected targets. Only .bazelversion, MODULE.bazel, and changes to modules that register toolchains still widen the set, and those widen on purpose.

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