[all-commits] [llvm/llvm-project] ce7e18: [bazel] Shard clang's analysis_flow_sensitive_test...

UebelAndre via All-commits all-commits at lists.llvm.org
Fri Oct 2 09:07:12 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce7e1864de80d5695ddc064fb0a785125898af22
      https://github.com/llvm/llvm-project/commit/ce7e1864de80d5695ddc064fb0a785125898af22
  Author: UebelAndre <github at uebelandre.com>
  Date:   2026-10-02 (Fri, 02 Oct 2026)

  Changed paths:
    M utils/bazel/llvm-project-overlay/clang/unittests/BUILD.bazel

  Log Message:
  -----------
  [bazel] Shard clang's analysis_flow_sensitive_tests (#228487)

The dataflow suite is 384 test cases across 22 files and grows with
every release. As one unsharded binary it runs for 135 s on a fast
agent, and on a slower one it overran Bazel's default 300s "moderate"
timeout on all three `--flaky_test_attempts`:

```
  @llvm-project//clang/unittests:analysis_flow_sensitive_tests
      TIMEOUT in 3 out of 3 in 300.1s
```

Give it the same declaration this file already uses for its other large
gtest binaries (ast_tests, ast_matchers_tests, format_tests,
rename_tests, tooling_tests, tooling_syntax_tests): `size = "medium"`
and `shard_count = 20`. Each shard then gets its own timeout for ~19
cases, which is a few seconds even on a slow machine.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list