Skip to content

gate: whole-repo check and coverage pass on every OS #14802

Backlog

Description

@TrapsterDK

Any change to MODULE.bazel, or a whole-repo dx generate, makes --affected cover the whole repo. Each run then stops at the first analysis error, so failures show up one run at a time.

Run with these failures: https://github.com/devhusdk/rules_dx/actions/runs/45315316979

Part of #14772

🤖 Generated with Claude Code

Activity

  1. added
    enhancement
    P0
    model:opus
    on Nov 24, 2026
  2. TrapsterDK commented on Nov 24, 2026

    @TrapsterDK
    CollaboratorAuthor

    Two more items from #14799:

    🤖 Generated with Claude Code

  3. TrapsterDK commented on Nov 24, 2026

    @TrapsterDK
    CollaboratorAuthor

    Three more failures that hit unrelated PR runs, from the #14799 review:

    • macOS runners run out of disk during check and coverage. //rust/tests/fixtures/consumer_wasm:acquisition and //apple/tests:entry_and_srcs_test were lost.
    • The outer Bazel runs out of memory during Linux coverage. It aborted //cc/tests/fixtures/hello:toolchain_action_tests_compile_llvm and //android/tests:native_library_tests_floor_level_test.
    • //erlang/tests/fixtures/negative/undeclared_header:nif_header_hidden_test fails to build on Linux.
    • On Windows, the check format step reports rust files on main that rustfmt has not formatted.

    🤖 Generated with Claude Code

  4. TrapsterDK commented on Nov 24, 2026

    @TrapsterDK
    CollaboratorAuthor

    With --keep_going (#14803, run 45336738256) the gate shows failures outside this checklist. #14803 does not touch these files.

    All OSes:

    • //tools/api:api_test: api/starlark.json is stale (bazel run //tools/api:update).
    • //core/modules:consumer_deps_test: nested MODULE.bazel.lock files lack rules_dart 0.9.1 / rules_flutter 0.1.0.
    • format: rustfmt in cli/cli/src/exec/affected.rs and cli/plan/src/resolve/rule_graph.rs.
    • lint: about 20 clippy findings, including in tools/testing/analysis_scaling_check.rs, deploy/private/release/{verify,candidate}_test.rs and cli/cli/src/lib.rs.

    Windows:

    • //cli/exec_{quality,update}:*_test_upstream fail to compile: dead code and unused imports under cfg(windows).
    • Clippy fails on //tools/testing/hermetic:qt_tasks.
    • Tests fail: npm_hub_test, dx_release_tools_test, candidate_identity_test, workspace_cwd_test, {cc,cmake,qt}_consumer_test, and dx_plan_test (resolve::base git tests, coverage only).
    • coverage: failed to delete output files for //cli/cli:dx_upstream.

    windows_arm64 only:

    • The ring cargo build script cannot find clang.

    macOS coverage:

    • adopt::watch::probe_tests::edits_during_a_slow_command_queue_exactly_one_more_iteration failed once (timing).
  5. TrapsterDK commented on Nov 24, 2026

    @TrapsterDK
    CollaboratorAuthor

    #14819 merged with these fixes:

    • API snapshot.
    • Windows test crates that would not compile.
    • npm_hub_test, dx_release_tools_test and workspace_cwd_test on Windows.
    • Clippy findings on every OS: unused dependencies, unfulfilled expectations, collapsible ifs and indexing.
    • Clippy now runs on a forwarded Rust crate in the upstream's own configuration. Together with quality: clippy lint_test for the native process crates (closes #14784) #14807 this fixes the qt_tasks "os error 3" on Windows.

    Still open:

    • //core/modules:consumer_deps_test: the nested caches lack rules_dart 0.9.1 / rules_flutter 0.1.0. The lock-refresh.yml nested=true dispatch was cancelled with the queue, and the branch is now deleted, so this needs a fresh branch.
    • Windows coverage only: git tests in dx_plan_test and candidate_identity_test fail with "program not found". The action PATH contains C:\Program Files\Git\bin. collect_coverage.sh runs the test under Git bash, which maps that entry to /bin and then back to Git\usr\bin, where there is no git.exe. This is a likely cause but is not verified.
    • {cc,cmake,qt}_consumer_test on Windows: dx init needs --accept-license visual-studio-build-tools. The cc fixture cannot carry module lines (GO_GUARD_LANGS), so this needs an owner decision.
    • windows_arm64: ring cannot find clang.
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

    P0enhancementmodel:opus

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions