Files
floci/.github/ci
Hector Ventura 257e004600 ci: shard Build and Test into a 4-way profile-grouped matrix (#2506)
The suite grew past its timeout: 7,855 tests in mid-July to 11,800 today,
19-20 minute runs against the (now 30-minute) cap, with 51 serialized Quarkus
augmentations before any test executes. Sharding is the only >3x lever.

- 4 shards, each a deterministic slice computed at runtime from the compiled
  test classes, so a new package can never silently fall outside every shard.
- Group-by-profile partitioner: classes sharing a @TestProfile land in one
  shard atomically, since per-shard augmentation cost is distinct profiles
  times ~5.4s and a split group pays its augmentation once per shard.
- ci-summary aggregation gate fails on any shard failure, any class assigned
  to two shards, or any class assigned to none, checked against the same
  commit's own class list rather than a hardcoded count.
- The maven cache step is split into restore (all shards) / save (shard 1
  only) so four shards do not race one save key.
- Best-effort background Docker image prefetch per shard, pulling only the
  images that shard's tests use.
- Per-shard timeout drops to 15 minutes; expected worst shard ~5.5-6.5 min.
2026-08-23 23:11:54 -05:00
..