fix: 清理 agent-compose sandbox 存储映射并扩容配额 - #67
Merged
Conversation
kingfs
approved these changes
Sep 1, 2026
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.
变更说明
storage.delete(),真正释放持久化记录。remove_on_completion执行前清理同一会话、项目和 Agent 的历史映射;复用请求未返回 sandbox ID 时同步清理失效映射。设计与兼容性
conversation_id时仍不读写持久化存储。StorageInvocationError继续按原有策略降级,不阻断 agent-compose 主流程。验证
cd plugins/agent_compose_strategy && task build:lint、31 项测试、清单校验及打包通过,覆盖率 86.16%。cd plugins/agent_compose_workflow && task build:lint、27 项测试、清单校验及打包通过,覆盖率 84.75%。git diff --check origin/main...HEAD:通过。task check:本地未跟踪的docs/specs/test.md含私网 IP,被仓库安全检查拦截;该文件不在本 PR 中,需由干净检出环境的 CI 复核。风险与回滚