Skip to content

[Bug]:harnessAgent 配置ossAmount,agentRun沙箱销毁时,并没有把工作空间备份到oss中 #2538

Open

Description

@yudaobin
HarnessAgent agent =
              HarnessAgent.builder()
                  .name("skill-execution-hello")
                  .sysPrompt("You are a helpful skill executor.")
                  .model("dashscope:qwen-plus")
                  .workspace("/Users/yudaobin/Documents/agentscope-workspace")
                  .filesystem(new AgentRunFilesystemSpec()
                      .addOssMount(new AgentRunOssMountConfig()
                          .setBucketName("ydb-agentrun")
                          .setBucketPath("/agentrun")
                          .setEndpoint("http://oss-cn-hangzhou-internal.aliyuncs.com")
                          .setMountDir("/home/user/agentscope/workspace"))
                      .apiKey("xxx")
                      .accountId("xxx")
                      .region("cn-hangzhou")
                      .templateName("xx-xx-xx")
                      .mcpServerUrl("https://xxx.agentrun-data.cn-hangzhou.aliyuncs.com/templates/xx-xx-xx/mcp")
                      .sandboxIdleTimeoutSeconds(1200)
                      .isolationScope(IsolationScope.USER))
                  .memory(
                      MemoryConfig.builder()
                          .flushTrigger(MemoryConfig.FlushTrigger.never())
                          .build())
                  .build();

AgentRunSandbox 释放时,并没有把沙箱中工作空间备份到oss 目录 “/agentrun” 中

Activity

  1. added
    bug
    on Aug 3, 2026
  2. Peng-io commented on Aug 4, 2026

    @Peng-io
    Contributor
  3. added
    area/build
    area/core/model
    area/core/tool
    area/harness
    on Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/buildarea/core/modelarea/core/toolarea/harnessbug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions