Repository navigation
Todo
Labels
topic:testingUnit, integration, regression, conformance, E2E tests, coverage, flakes, and test infrastructure.
Description
User Story
As an OpenShell maintainer retiring the old E2E harness, I need the fixtures used by multiple active ports to land independently so we can develop and verify those ports in parallel.
Description
- Provider refresh: Extract the refresh CLI helper, shared rotation/revocation scenario, and one working OAuth consumer from test(e2e): port gateway-configuration tests that need no restart to feature suites #5792. Share the additional-CA environment with the GitHub App and additional-CA ports. Keep both Bearer and Basic OAuth assertions; verify sandbox egress trust on the GitHub App port’s Podman lane without rebuilding the supervisor image or restarting the gateway. Keep GitHub-specific endpoints and real gh/Git probes in test(e2e): port the tests added to e2e/rust after the migration inventory #5907.
- OIDC and workspace setup: If test(oidc-auth): port the OIDC authorization tests to testkit #5787 and the OIDC slice of test(e2e): migrate the Python E2E suites to Rust #5624 are both actively blocked, extract the Keycloak user/session setup, gateway client setup, and workspace lifecycle that they duplicate. Keep browser login and authorization cases in the ports. Do not block the other parts of test(e2e): migrate the Python E2E suites to Rust #5624 on this extraction.
- Adopt existing helpers rather than adding new ones: Use test(testkit): share environment and provider helpers across E2E ports #5780’s gateway override role in new override writers, including test(e2e): port the tests added to e2e/rust after the migration inventory #5908’s content-guard setup. Document new environment inputs in the contract table. Keep the middleware streaming fixture with its suite.
Context
Follow-up to #5780 and #5928, under the migration in #5281 and helper inventory in #5296. Keep Kubernetes access and shared-supervisor fixtures in the single Kubernetes migration PR. Restart and destructive test infrastructure are tracked separately by #5918 and #5527.
Definition of Done
- The OAuth and GitHub App ports can use the same refresh helper without carrying each other’s tests or duplicating the scenario.
- Each extracted helper has a runnable consumer and documents its environment requirements.
- OIDC extraction is either shared by both active ports or explicitly left with its first consumer.
Metadata
Metadata
Assignees
Labels
topic:testingUnit, integration, regression, conformance, E2E tests, coverage, flakes, and test infrastructure.
Activity