Repository navigation
test(e2e): stop E2E port PRs from conflicting on shared list files - #6143
Open
matthewgrossman wants to merge 6 commits into
Open
matthewgrossman wants to merge 6 commits into
matthewgrossman wants to merge 6 commits into
Conversation
…mber Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
…ads them Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
github-actions
Bot
requested review from
SDAChess,
TaylorMutch,
elezar and
purp
December 1, 2026 21:14
matthewgrossman
force-pushed
the
test/e2e-shared-list-conflicts/matthewgrossman
branch
2 times, most recently
from
December 1, 2026 22:03
7cd9b4c to
4236deb
Compare
…-matrix.yaml The matrix is keyed by environment and installer, with sorted suite lists, so the file shows what each environment runs and changes that add different suites edit different lines. tasks/scripts/e2e-suite-rows.sh expands it into the rows e2e-suites.yml and check-conformance-program.sh read. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
matthewgrossman
force-pushed
the
test/e2e-shared-list-conflicts/matthewgrossman
branch
from
December 1, 2026 22:54
4236deb to
36a816b
Compare
…conflicts/matthewgrossman Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
3 tasks
matthewgrossman
force-pushed
the
test/e2e-shared-list-conflicts/matthewgrossman
branch
from
December 1, 2026 23:55
03bcafd to
cc74f1a
Compare
|
🌿 Preview your docs: https://nvidia-preview-pr-6143.docs.buildwithfern.com/openshell |
tasks/scripts/e2e_suite_rows.py replaces the shell and jq expansion of tests/suites/ci-matrix.yaml. The rows are unchanged. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
matthewgrossman
force-pushed
the
test/e2e-shared-list-conflicts/matthewgrossman
branch
from
December 2, 2026 00:52
cc74f1a to
81a0c98
Compare
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
E2E port PRs all edit the same shared lists, so each merge conflicts with the other open ports. This PR moves each of those lists into one file per suite, crate or feature environment, without changing any environments, CI rows, check names or built crates.
Related Issue
Closes #6142
Changes
One commit per refactor:
tests/support/Cargo.toml:members = ["*"]withexclude = ["target"], liketests/suites/features.tests/tmachine/config.nix: each feature environment is its own file,tests/tmachine/features/<feature>.nix, loaded withbuiltins.readDir.tests/support/README.md: the shared table keeps only the variables that testkit, the runner and CI own. Each support crate already documents its variables, and the environment that sets them, in its module docs, and each fixture names a missing variable in the test failure. I filled two gaps in the keycloak and container-engine module docs. A list of per-crate links would be another shared list, so there isn't one..github/workflows/e2e-suites.ymltotests/suites/ci-matrix.yaml, keyed by environment and installer, with each listing its suites. The file shows what each environment runs. Installers and environments are grouped by compute driver. Suite lists stay sorted, so ports that add different suites edit different lines.installerssets each installer's gateway and options.suitesholds only conformance and the two continuity disruptions. Any other suite is a workspace path, or a crate directory in one such asfeatures/cdi.tasks/scripts/e2e_suite_rows.py(run withuv) builds complete rows (package,disruption,suite,artifact) for the workflow andcheck-conformance-program.sh, which Branch Checks runs on every PR. A crate directory resolves to its Cargo package name:features/kubernetes-updatesruns--package openshell-test-feature-kubernetes-updates, and its checks keep the directory name. The script rejects unsorted or duplicate lists, unknown suites, crate directories and installers, and unknown keys. It accepts several matrix files, but nothing uses that yet.runs-on.selectjob checks outsource-shato read the matrix, the same revision the suites job runs, and sets upuvto run the script.ai-openshell/desktop. Before that, continuity and the feature environments need a home in core.Rebasing an open port onto this
Take main's version of each conflicting file, then:
tests/support/Cargo.toml: nothing to add.tests/tmachine/config.nix: put a new feature intests/tmachine/features/<name>.nixandgit addit, because the flake only sees tracked files.tests/support/README.md: document new variables in the crate's module docs.e2e-suites.yml: add the suite to each environment's sorted list intests/suites/ci-matrix.yaml.Testing
tmachine config: the
tmachine-configderivation path and the full evaluated config are identical to main's on x86_64-linux, aarch64-linux and aarch64-darwin (27 environments).E2E matrix: I ran the select step for all 24 combinations of
family,external-driversandupgrade-source. Every combination gives exactly the same matrix entries as main, every field included, and the 47 check names are unchanged.Matrix validation: an unsorted or duplicate list, an unknown suite, crate directory, installer or key, or a
runnerin the file fails the expansion. Addingfeatures/kubernetes-updatesto a temporary copy resolves it to packageopenshell-test-feature-kubernetes-updates.check-conformance-program.sh: the list of known environments is unchanged. I didn't run the whole script locally.tests/support:cargo metadatalists the same eight members. Lockedcargo check,cargo fmt --checkandcargo clippy -D warningspass, and so docheck-cargo-lockfiles.shandcheck_cargo_lockfile_alignment.py.actionlint, shellcheck, zizmor (no new findings) and the license-header check pass.
Checks appropriate to the affected code and behavior pass
Unit tests added/updated (if applicable)
E2E tests added/updated (if applicable)
Checklist