Repository navigation
feat(behat): add deterministic feature-level sharding (#8974) - #9372
Draft
vitormattos wants to merge 4 commits into
Draft
vitormattos wants to merge 4 commits into
vitormattos wants to merge 4 commits into
Conversation
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
This was referenced Nov 5, 2026
vitormattos
marked this pull request as draft
November 6, 2026 13:17
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements deterministic whole-feature sharding for #8974, without enabling parallel CI or altering Nextcloud installations.
.featurepaths using zero-basedSHARD_INDEXand positiveSHARD_TOTAL; stable for the same revision and shard count.tests/integration/sharding/behat-shard.phpsupports--list,--verify(offline), and--run(one Behat process with only that shard's feature paths).--verifyhandles large totals without iterating millions of empty shards.tests/php/Unit/Behat/so existingcomposer test:unitjobs discover it; fixes PHP-CS-Fixer violations.Verification actually performed
--verify, real LibreSign feature tree--run, genuine Behat 3.34.0, disposable six-feature fixturegit diff --checkThe functional Behat smoke test used the exact Behat version pinned in
tests/integration/composer.lockbut a self-contained fixture, not a full Nextcloud deployment. The full integration suite and concurrent workers were not executed locally; their existing GitHub checks run normally on the PR.Design rationale / upstream
Scope boundary
This PR does not execute shards concurrently, provision databases, isolate Nextcloud installations, change GitHub workflows, migrate to Behat 4, or add shard tags. This merge alone will not speed up CI. All mutable state/worker lifecycle and parallel execution remain #8975. There is no claim that selecting files makes shared Nextcloud installations safe to run concurrently.
Refs #8974, part of #8969.