Skip to content

test(agentstudio): add Sandbox coverage and examples - #307

Merged
luk384090-cloud merged 1 commit into
dashscope:mainfrom
guningLt:codex/agentstudio-sandbox-tests-examples
Dec 3, 2026
Merged

luk384090-cloud merged 1 commit into
dashscope:mainfrom
guningLt:codex/agentstudio-sandbox-tests-examples

Conversation

@guningLt

@guningLt guningLt commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add focused Sandbox API coverage and runnable recipes for the APIs merged in #306.

  • Add 11 offline tests for image resolution, template/instance payloads, independent model credentials, turns/SSE, files, error metadata and release.
  • Add three examples: ordinary Sandbox lifecycle, managed Harness chat and native Web UI preview. The examples release owned resources and preserve reusable templates or borrowed resources.
  • Extend the existing example dry-run harness. Production SDK code, dependencies and CI configuration are unchanged.

Validation

  • JDK 8: 796 SDK tests passed; 3 existing tests skipped.
  • Examples: 46 checks passed, including actual MockWebServer executions of both HTTP recipes and native preview wait/close checks.
  • CI formatting selector and all three new example files passed.
  • Fresh JAR build and documentation checks passed.
  • The 11 Sandbox tests also passed against the latest main with these eight files applied.

The native Web UI example is compiled and its local wait/close behavior is tested; this PR does not add another live Sandbox test run.

@guningLt
guningLt requested a review from kevinlin09 December 3, 2026 06:05
@luk384090-cloud
luk384090-cloud merged commit d67b9b1 into dashscope:main Dec 3, 2026
6 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