Repository navigation
feat: integrate SAA Python sandbox with dynamic dependencies - #587
Merged
zxuexingzhijie merged 2 commits intoJul 28, 2026
Merged
zxuexingzhijie merged 2 commits into
zxuexingzhijie merged 2 commits into
Conversation
zxuexingzhijie
marked this pull request as ready for review
July 28, 2026 08:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dependency,execution, andruntimepackages, while keeping the executor service as the orchestration entry pointWhy
Python generated by the workflow previously ran through project-owned local or Docker execution paths. This duplicated sandbox lifecycle and Docker integration responsibilities and did not provide a controlled dynamic-dependency contract.
The new execution path delegates isolation and lifecycle management to Spring AI Alibaba Sandbox. Each task receives a fresh sandbox, installs validated PEP 723 dependencies into a task-local directory, executes the generated code in a child Python process, returns a bounded result envelope, and cleans up the sandbox automatically.
Behavior and safety
CI fix
VectorStoreConfigurationTestwith the checked-in profile contract: defaultapplication.ymlusessimple, while explicit Milvus and Elasticsearch profile files retain their own typesValidation
./mvnw clean test./mvnw spring-javaformat:validate./mvnw -Dcheckstyle.skip=false checkstyle:checkpnpm buildsix==1.17.0sixinside a fresh SAA sandbox