Skip to content

feat(sdk): add extension auth for middleware E2E - #2784

Draft
pimlock wants to merge 1 commit into
mainfrom
1733-supervisor-middleware-e2e-sdk/pimlock
Draft

feat(sdk): add extension auth for middleware E2E#2784
pimlock wants to merge 1 commit into
mainfrom
1733-supervisor-middleware-e2e-sdk/pimlock

Conversation

@pimlock

@pimlock pimlock commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add authenticated supervisor middleware end-to-end coverage and introduce an opt-in Rust SDK surface for verifying gateway-minted extension credentials.

The initial E2E covers the HTTP happy path against a Docker-backed gateway. It verifies that a sandbox request reaches an authenticated external middleware service, is transformed before forwarding, and arrives at the upstream with the expected replacement and header mutation.

Related Issue

Related to #1733.

Changes

  • add the openshell-sdk extension Cargo feature with a self-contained gateway JWT verifier
  • add an authenticated TLS middleware fixture and HTTP transformation happy-path E2E
  • add a dedicated mise task and GitHub Actions E2E lane
  • document the Rust extension verification boundary and usage
  • keep openshell-extension-core out of the SDK's direct dependencies

Testing

  • mise run pre-commit passes
  • SDK extension authentication unit tests pass
  • Standalone middleware fixture builds with its locked dependency graph
  • Authenticated Docker middleware E2E passes

Checklist

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

Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Aug 17, 2026

Copy link
Copy Markdown

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.

@github-actions

Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant