Files
buildx/build
Tonis Tiigi 2adc53cfb3 build: parallelize forced reference evaluation
Use an errgroup helper to evaluate result refs concurrently during forced
evaluation, and fail fast on the first evaluation error.

This mitigates current case in bake where chained targets with
a multi-platform build could miss secrets and other session properties.

The outline for the issue case:
- Base target is solved but only lazily and not really loaded/tracked
in build graph yet.
- Child targets are loaded, base target waits.
- Evaluate is called for base stage (because it might be missing result
condition), child stage is processed as build result. This happens in
parallel.
- Because `Evaluate()` was called synchronously, it may have not been
 called yet for the second platform while the child target already
 needs to run `RUN --mount=type=secret`.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-03-04 18:09:41 -08:00
..
2025-12-04 09:48:36 +00:00
2025-05-13 20:44:57 +02:00
2026-01-14 09:03:42 -08:00
2026-02-11 10:29:47 +01:00