Skip to content

feat(sdks): enhance Kotlin SandboxPool readiness and observability#617

Merged
Pangjiping merged 6 commits intoalibaba:mainfrom
ninan-nn:feature/update_pool
Apr 3, 2026
Merged

feat(sdks): enhance Kotlin SandboxPool readiness and observability#617
Pangjiping merged 6 commits intoalibaba:mainfrom
ninan-nn:feature/update_pool

Conversation

@ninan-nn
Copy link
Copy Markdown
Collaborator

@ninan-nn ninan-nn commented Apr 1, 2026

Summary

  • refine the experimental Kotlin SandboxPool configuration so acquire and warmup paths can use different readiness settings
  • add warmupSandboxPreparer to initialize a warmed sandbox after readiness succeeds and before it is put into the idle pool
  • expand pool observability with detailed lifecycle state, idle entry snapshots, maxIdle/failure/backoff/in-flight counters, and state store idle entry inspection
  • extend PoolCreationSpec with extensions and builder conveniences so pool-created sandboxes align better with Sandbox.Builder
  • update Kotlin SDK README examples for the new pool capabilities

Testing

  • Not run (explain why)
  • Unit tests
  • Integration tests
  • e2e / manual verification
  • Ran ./gradlew :sandbox:test --tests *Pool*

Breaking Changes

  • None
  • Yes (describe impact and migration path)
  • This change targets the experimental Kotlin sandbox pool API surface.

Checklist

  • Linked Issue or clearly described motivation
  • Added/updated docs (if needed)
  • Added/updated tests (if needed)
  • Security impact considered
  • Backward compatibility considered

@ninan-nn ninan-nn changed the title Feature/update pool feat(sdks): enhance Kotlin SandboxPool readiness and observability Apr 1, 2026
@ninan-nn ninan-nn force-pushed the feature/update_pool branch from bc342f9 to c83e2ea Compare April 1, 2026 04:07
@ninan-nn ninan-nn marked this pull request as ready for review April 1, 2026 04:07
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c83e2ea28e

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Copy link
Copy Markdown
Collaborator

@Pangjiping Pangjiping left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Pangjiping Pangjiping merged commit 6d38e2c into alibaba:main Apr 3, 2026
20 of 21 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.

2 participants