Files
floci/.github/ci
Priamo Germosen 9eb3ba38ed ci: weigh the two slow EMR Docker classes when partitioning test shards (#7901)
partition.sh balances shards by class count, which says nothing of how
long a class runs. EmrDockerRunnerDockerIntegrationTest and
EmrHiveStepsDockerIntegrationTest take about 540s between them, so the
shard holding them ran 1246s of Surefire's 1500s while the others ran
641s to 869s, and one run has already been cut at the limit.

- SLOW_CLASSES gives the seconds of those two, by class name, so a
  package rename leaves them alone. A class counts for that many average
  classes, and every other class counts as one, so with none listed the
  assignment is what it was.
- Groups are packed heaviest first by that weight rather than by their
  number of classes, and a slow class without a profile goes before the
  others, so the rest are placed around them.
- A name that no longer matches a class is an annotation, not a failure,
  as a stale key is for the image prefetch: the shards are only uneven.

Summing the 2026-11-09 run's class timings over the classes at this
commit, the slowest shard goes from 1136s to 989s. A profile of its own
for the EMR classes gave 1321s and a sixth shard 1117s, as neither tells
the partition that those classes are slow.
2026-11-10 22:47:50 -06:00
..