Files
tellet-qandClaude Opus 5 663ae2c236 tests: use local cache when building image for e2e tests (#8822)
* tests: use local cache when building image for e2e tests

* tests: make e2e local-cache image build safe under pytest-xdist

- Serialize builder creation and the build with a `filelock` lock (the
  approach recommended by pytest-xdist for session fixtures), since
  every xdist worker runs the session fixture; workers that wait on the
  lock reuse the image built by the first one instead of rebuilding.
- Keep the buildx builder between sessions instead of removing it in a
  finalizer, which also avoided one worker deleting a shared builder.
- Fix README: CI pre-builds the image in the workflow (there is no
  `build-e2e-image` artifact); note the cache dir is never pruned.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 11:52:27 +02:00
..
2024-07-08 18:17:43 +00:00