Skip to content

refactor(session)!: remove public suspend and resume controls - #3409

Merged
EItanya merged 1 commit into
mainfrom
refactor/remove-session-suspend-resume
Oct 27, 2026
Merged

EItanya merged 1 commit into
mainfrom
refactor/remove-session-suspend-resume

Conversation

@EItanya

@EItanya EItanya commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Agent runtime lifecycle is already platform-managed. This removes the public Session suspend/resume RPCs, UI controls, and chat resume plumbing. Automatic quiescence keeps the Session READY, and the next interaction wakes the Actor through Substrate ingress.

Sandboxes retain explicit suspend/resume. Internal Session suspension remains for scheduled-run deadline cleanup when no scheduled task can be identified.

This intentionally breaks the Session API by removing SuspendSession, ResumeSession, and their four request/response messages. Generated bindings, callers, tests, and lifecycle docs are updated together.

Runtime lifecycle ownership
flowchart LR
    client["Client"] -->|agent interaction| ingress["Substrate ingress"]
    ingress -->|wake| agent["Agent Actor"]
    quiescence["Session quiescence worker"] -->|suspend after settlement| agent
    client -->|explicit suspend/resume| service["SandboxService"]
    service -->|runtime lifecycle| sandbox["Sandbox Actor"]
Loading

Validation:

  • Focused Go race suites passed for Session, Sandbox, Substrate, gRPC, MCP, A2A gateway, scheduled-run controller, and app wiring. Go lint and E2E compilation passed.
  • UI typecheck and lint passed, along with 682 unit tests and 60 browser tests.
  • Protobuf lint and full generation passed. A later repeat hit the Buf Python-plugin rate limit. Buf breaking reports only the intentional RPC/message removals.
  • Live Kubernetes/Substrate E2Es and the full repository Go suite were not run.

@EItanya
EItanya requested a review from a team as a code owner October 27, 2026 20:35
@EItanya
EItanya added this pull request to the merge queue Oct 27, 2026
Merged via the queue into main with commit bc8002d Oct 27, 2026
30 of 32 checks passed
@EItanya
EItanya deleted the refactor/remove-session-suspend-resume branch October 27, 2026 21:14
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