Skip to content

ci: Shard container-e2e-test across 2 parallel executors - #2239

Merged
ferenc-csaky merged 2 commits into
mainfrom
ci/shard-container-e2e-tests
Jul 30, 2026
Merged

ci: Shard container-e2e-test across 2 parallel executors#2239
ferenc-csaky merged 2 commits into
mainfrom
ci/shard-container-e2e-tests

Conversation

@velo

@velo velo commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Splits the 22 container IT classes across 2 CircleCI executors, using the native circleci tests split --split-by=timings rather than the TestShardingExtension used by integration-tests — the extension lives in sqrl-testing-integration test sources and isn't on the container module's classpath, and timings-based splitting balances better than hashing given how much container test runtimes vary.

Adds store_test_results for the failsafe reports so the timing data exists to split on (first run falls back to name-based split).

parallelism keeps a single ci/circleci: container-e2e-test status context, so no change needed in .github/workflows/build.yml.

Note: the docker image build step now runs on both executors, in parallel.

Signed-off-by: Marvin Froeder <marvin@datasqrl.com>
@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 17.63%. Comparing base (8b8622f) to head (676b27a).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #2239   +/-   ##
=========================================
  Coverage     17.63%   17.63%           
  Complexity     1077     1077           
=========================================
  Files           610      610           
  Lines         17762    17762           
  Branches       2167     2167           
=========================================
  Hits           3132     3132           
  Misses        14312    14312           
  Partials        318      318           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

…e-test (#2240)

Both parallel nodes produced failsafe-summary.xml, causing CircleCI to fail
both "Uploading test results" steps. Collect only TEST-*.xml files into a
shard-indexed subdirectory before store_test_results to avoid the conflict.

AI-Generated: true

Co-authored-by: circleci-app[bot] <127350680+circleci-app[bot]@users.noreply.github.com>
@velo
velo requested a review from ferenc-csaky July 29, 2026 19:25
@ferenc-csaky
ferenc-csaky merged commit 363a22b into main Jul 30, 2026
18 of 19 checks passed
@ferenc-csaky
ferenc-csaky deleted the ci/shard-container-e2e-tests branch July 30, 2026 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants