Skip to content

test(testkit): extract provider profile and configuration helpers - #5930

Closed
matthewgrossman wants to merge 3 commits into
mainfrom
test/5928-provider-testkit-api/matthewgrossman
Closed

matthewgrossman wants to merge 3 commits into
mainfrom
test/5928-provider-testkit-api/matthewgrossman

Conversation

@matthewgrossman

Copy link
Copy Markdown
Member

Summary

Extract the provider setup API from #5657 so provider, OIDC, and Python E2E ports can share it without waiting for one another. This is independent of #5780.

Related Issue

Closes #5928.

Changes

  • Add typed Profile and Credential builders and an awaitable ProviderBuilder for --config, preserving cleanup and environment-only credential values.
  • Use typed profiles in existing credential-gating and Keycloak refresh tests without changing their assertions. Use testkit’s existing provider cleanup in the Keycloak test.
  • Leave service exposure and the provider migration in test(e2e): port provider tests from e2e/rust to testkit #5657.

Release Notes

Testing

  • Testkit workspace tests pass.
  • Formatting and locked Clippy checks pass for testkit, support, conformance, continuity, features, and Podman drivers.
  • Live credential-gating and Keycloak refresh E2E rows: requested in CI.

Checklist

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

create_provider and install_provider return a builder that creates the
provider when awaited, so tests can chain .config(key, value) for
provider create --config. Existing callers are unchanged.

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 added the test:e2e Requires end-to-end coverage label Nov 24, 2026
@github-actions github-actions Bot added the state:accepted A maintainer decided OpenShell should pursue this issue label Nov 24, 2026
@matthewgrossman

Copy link
Copy Markdown
Member Author

Superseded by #5780, which now contains the provider testkit API and both existing-suite migrations. Closing this duplicate PR; #5928 is tracked by #5780.

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 test:e2e Requires end-to-end coverage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(testkit): extract provider profile and configuration helpers

1 participant