Skip to content

[Bug]:2.0.2版本,k8s sandbox 不能通过快照进行冷恢复,因为快照id用的是一个随机生成的新的 #2986

Closed

Description

@focusnothing

Describe the bug
io.agentscope.extensions.sandbox.kubernetes.KubernetesSandboxClient#create 中,快照ID是随机生成的一个新的,不是AgentState中存储的那个。

To Reproduce
必现现象

Expected behavior
期望能够将之前的快照文件,恢复到新的沙箱环境

Activity

  1. added
    bug
    on Sep 4, 2026
  2. ordinary-s commented on Sep 5, 2026

    @ordinary-s
    Contributor

    I'd like to work on this issue. I'll reproduce the cold-restore failure, investigate how the persisted snapshot ID is handled in KubernetesSandboxClient#create, and add regression tests alongside the fix.

    Could you please assign this issue to me? Thanks!

  3. focusnothing commented on Sep 7, 2026

    @focusnothing
    Author

    I'd like to work on this issue. I'll reproduce the cold-restore failure, investigate how the persisted snapshot ID is handled in KubernetesSandboxClient#create, and add regression tests alongside the fix.

    Could you please assign this issue to me? Thanks!

    Hi @ordinary-s, thanks for offering to take this on! Your plan sounds great.
    I'm just the issue reporter and don't have permission to assign issues in this repo, but feel free to go ahead — the maintainers can assign it to you, and you can reference this issue (#2986) in your PR when it's ready.

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions