Skip to content

ci(e2e): freeze new legacy Rust E2E tests - #5909

Draft
matthewgrossman wants to merge 5 commits into
mainfrom
ci/5906-freeze-e2e-rust/matthewgrossman
Draft

matthewgrossman wants to merge 5 commits into
mainfrom
ci/5906-freeze-e2e-rust/matthewgrossman

Conversation

@matthewgrossman

Copy link
Copy Markdown
Member

Summary

Give Kubernetes and VM tests a testkit home, then stop adding tests to the legacy Rust E2E tree. The E2E suite quickstart in TESTING.md explains what belongs in each suite and how to run it locally or in tmachine.

Related Issue

Closes #5906

Changes

  • Run a Kubernetes smoke test with the k3s and k3s-ha installers, and a VM smoke test alongside conformance on the VM host lane.
  • Document where new E2E tests go and how to run conformance, feature, and driver suites.
  • Reject new files under e2e/rust/tests and newly added test attributes under e2e/rust. Existing tests can still be edited or deleted. A maintainer can apply the proposed test:e2e-rust-exception label for coverage without a suite yet.

Do not merge until #5695 supplies the Docker suite, the six migration redirects are sent, and the exception label is agreed.

Testing

  • Both suites passed Clippy and nextest discovery. Both harnesses recognized an unsupported test entry.

  • Lockfile alignment, Rust formatting, workflow lint, shell syntax, freeze script ShellCheck, and Markdown lint passed.

  • The freeze check passed the eight existing port PRs and rejected the six PRs adding legacy tests. Local fixtures also covered merge-base comparison and the label bypass.

  • Live k3s, k3s-ha, and VM host E2E remain to be run in CI.

  • Checks appropriate to the affected code and behavior pass

  • E2E tests added/updated

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)

@github-actions github-actions Bot added the state:accepted A maintainer decided OpenShell should pursue this issue label Nov 23, 2026
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
@matthewgrossman
matthewgrossman force-pushed the ci/5906-freeze-e2e-rust/matthewgrossman branch from 53d1497 to 8a1a589 Compare November 24, 2026 03:29

- name: Test accepted-work library, review-readiness, and issue labeling
run: "mise run test:accepted-work ::: test:review-readiness ::: test:label-issue"
e2e-rust-freeze:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: My first thought when I see something like this is why we don't use "common" freeze tooling, but it's probably not worth it.

# Retry dependency preparation, then build once.
nix build --no-link .#openshell-test-runner || nix build --no-link .#openshell-test-runner
for family in features drivers/podman; do
for family in features drivers/podman drivers/kubernetes; do

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we still don't have drivers/vm or drivers/docker tests?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or mayb ethe clarifying queston is: Why don't we also list the vm family here? Is it because we don't run that in tmachine (although the longer-term goal is to still use the runner for a "local" environement).

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state:accepted A maintainer decided OpenShell should pursue this issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci(e2e): stop new tests from landing in e2e/rust, with a testkit home for each kind of test

2 participants