Repository navigation
test(sandbox): run a testkit suite in Branch E2E - #4822
Closed
matthewgrossman wants to merge 1 commit into
Closed
matthewgrossman wants to merge 1 commit into
matthewgrossman wants to merge 1 commit into
Conversation
Add the first suite written on testkit, tests/suites/sandbox, with one test adapted from the sandbox-lifecycle suite in #4629 by Evan Lezar, and run it in CI. A new testkit-e2e job in Branch E2E reuses the Docker E2E workflow to start a Docker-backed gateway with e2e/with-docker-gateway.sh and run `mise run e2e:testkit`, which is a plain `cargo test` of the suite. The job isn't part of the Core E2E result yet. Branch Checks and the mise tasks also run fmt and clippy for the new workspace. Co-authored-by: Evan Lezar <elezar@nvidia.com> Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
🌿 Preview your docs: https://nvidia-preview-pr-4822.docs.buildwithfern.com/openshell |
matthewgrossman
added this pull request to stack #4824
October 22, 2026 04:51
This was referenced Oct 22, 2026
Draft
matthewgrossman
removed this pull request from stack #4824
October 22, 2026 05:29
matthewgrossman
added this pull request to stack #4825
October 22, 2026 05:30
matthewgrossman
removed this pull request from stack #4825
October 22, 2026 16:01
Member
Author
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.
Stack
Part of a stack of four; each PR targets the one below it. The tmachine move (#4726) has merged, so the stack uses its
tests/tmachine/paths.SessionAPI, with a plan running on CI.Still to come, on top of #4774: moving the release lanes onto plans and deleting the old suites, once the plan has run the ported suites green.
Summary
Runs a testkit test in CI. A new
testkit-e2ejob in Branch E2E reuses the Docker E2E workflow to start a Docker-backed gateway and runmise run e2e:testkit, a plaincargo testof one new suite. There is no VM, runner, plan, or Nix archive.The first test is adapted from the
sandbox-lifecyclesuite in @elezar's draft #4629.Related Issue
Part of #3954
Changes
tests/suites/sandbox/: a testkit suite workspace withlong_running_exec_delete, plus a README with guidance on what a test may assert.mise run e2e:testkit: runs the suite undere2e/with-docker-gateway.sh. Same task locally and in CI.testkit-e2ejob inbranch-e2e.yml(labeltest:e2e): callse2e-docker-test.ymlwith a one-entry suite matrix, after the binaries and images are built. It is not incore-e2e-result.needs, so it doesn't gate merges yet.TESTING.mddescribes the lane.Deliberately cut for now
This is the simplest thing that runs testkit tests in CI. Left out on purpose, to come back in later PRs:
test/3954-plan-driven-ci/matthewgrossman) explores that.--lockedNix test archives. Not needed while the suite builds with plain cargo. They matter once testkit is built into Nix archives.tests/suites/sandboxfor now. The plannedconformance/featureslayout lands with the migration, when the oldtests/suites/conformancegoes away.requires. Not needed until a runner selects tests.Testing
mise run e2e:testkitpasses locally against a Docker gateway (1/1). fmt, clippy, and the lockfile check pass.testkit-e2ejob itself. It needs Branch E2E (test:e2e) or a manual dispatch.Checklist
🤖 Generated with Claude Code