Skip to content

feat(supervisor): support HTTP/2 on sandbox application routes - #5848

Merged
TaylorMutch merged 1 commit into
ai-openshell:mainfrom
shiju-nv:feat/5828-sandbox-app-http2/shiju-nv
Nov 24, 2026
Merged

TaylorMutch merged 1 commit into
ai-openshell:mainfrom
shiju-nv:feat/5828-sandbox-app-http2/shiju-nv

Conversation

@shiju-nv

Copy link
Copy Markdown
Collaborator

Summary

Add HTTP/2 to the supervisor application listener so native gRPC and other HTTP/2 services can receive requests at their OpenShell application URLs. The TLS listener negotiates HTTP/2 or HTTP/1.1. Service declarations select the HTTP version on the separate sandbox connection.

Related Issue

Closes #5828

Changes

  • Use the existing Hyper and Rustls dependencies to negotiate HTTP/2 with clients. Apply the service’s authority and header rules before forwarding each request.
  • Carry --backend-http-version 2 through the service declaration and return the supervisor application URL. HTTP/1.1 is the default backend and continues to handle WebSocket upgrades.
  • Relay native HTTP/2 frames and gRPC deadline metadata. Cancelling one stream releases its backend connection while other streams continue.

Release Notes

An enabled supervisor application listener now negotiates HTTP/2. Use openshell service expose demo 50051 agent --backend-http-version 2 for a sandbox service that accepts cleartext HTTP/2, such as a native gRPC server.

Testing

  • Checks appropriate to the affected code and behavior pass
  • Unit tests added/updated (if applicable)
  • E2E tests added/updated (if applicable)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

@github-actions github-actions Bot added the state:accepted A maintainer decided OpenShell should pursue this issue label Nov 20, 2026
@TaylorMutch TaylorMutch self-assigned this Nov 20, 2026
@TaylorMutch
TaylorMutch self-requested a review November 20, 2026 19:50
@shiju-nv
shiju-nv force-pushed the feat/5828-sandbox-app-http2/shiju-nv branch 4 times, most recently from b66683f to 784a57e Compare November 24, 2026 16:46
@shiju-nv
shiju-nv force-pushed the feat/5828-sandbox-app-http2/shiju-nv branch from 784a57e to 113705f Compare November 24, 2026 16:51

@TaylorMutch TaylorMutch left a comment

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.

Reviewed the HTTP/2 listener, declaration and advertisement flow, authority and credential handling, cancellation, limits, and compatibility. No blocking findings. Local validation passed: 25 application-listener tests and 2,887 server tests (50 ignored). Additional HTTP/2 lifecycle and ingress integration validation can follow separately.

@TaylorMutch
TaylorMutch added this pull request to the merge queue Nov 24, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Nov 24, 2026
@TaylorMutch
TaylorMutch added this pull request to the merge queue Nov 24, 2026
Merged via the queue into ai-openshell:main with commit aa2efd3 Nov 24, 2026
88 of 89 checks passed
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.

Support HTTP/2 on sandbox application routes

2 participants