bazelbuild / continuous-integration

Bazel's Continuous Integration Setup
https://buildkite.com
Apache License 2.0
253 stars 134 forks source link

Print top N slowest targets... #1989

Closed fweikert closed 2 weeks ago

fweikert commented 2 weeks ago

...when --print_shard_summary is set.

This change adds a new annotation that shows the 20 slowest test(shard)s.

Example: https://buildkite.com/bazel/bazel-bazel-macos-ninja/builds/1939#annotation-slowest_targets (Note: The latest version of the code drops the "in 1 out of 1 run(s)" part.)

meteorcloudy commented 2 weeks ago

Looks like this change somehow confused: https://buildkite.com/bazel/bazel-bazel/builds/28529#019097b1-64c7-4cd3-9cd1-dde000d943cc

meteorcloudy commented 2 weeks ago

Maybe we need to switch the order of those two job?