Skip to content

feat: scope sandboxes to sessions - #6

Merged
yanpgwang merged 1 commit into
mainfrom
codex/session-scoped-sandbox
Jul 27, 2026
Merged

feat: scope sandboxes to sessions#6
yanpgwang merged 1 commit into
mainfrom
codex/session-scoped-sandbox

Conversation

@yanpgwang

Copy link
Copy Markdown
Owner

Summary

  • introduce a session-scoped sandbox manager that reuses one sandbox across runs in the same session
  • release the sandbox when its session is deleted while preserving isolation between sessions
  • document lifecycle semantics and the current restart/orphan-cleanup limitations
  • add concurrency, reuse, isolation, failure, and service-level lifecycle coverage

Validation

  • go test ./...
  • go test -race ./...
  • go vet ./...
  • git diff --check
  • go test -race -count=20 ./internal/sandbox ./internal/app

@yanpgwang
yanpgwang merged commit eb3e3ab into main Jul 27, 2026
2 checks passed
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