Skip to content

fix: stabilize workspace transport and session persistence#7

Closed
pallyoung wants to merge 1 commit intodevelopfrom
fix/workspace-transport-stability
Closed

fix: stabilize workspace transport and session persistence#7
pallyoung wants to merge 1 commit intodevelopfrom
fix/workspace-transport-stability

Conversation

@pallyoung
Copy link
Copy Markdown
Contributor

Summary

  • move hot workspace mutations onto websocket-first transport with HTTP fallback, including session updates, agent resize, terminal resize, and controller heartbeat
  • debounce session activity persistence and workspace view sync so drag/input heavy flows stop spamming RPC calls while keeping UI repaint and terminal fit behavior stable
  • harden terminal/session stream restore paths to reduce garbled UTF-8 output, preserve snapshot merges, and add coverage for runtime attach, layout persistence, and transport fallbacks

Test Plan

  • node --test tests/agent-service.test.ts tests/workspace-route-runtime.test.ts tests/workspace-runtime-controller.test.ts tests/ws-rpc-fallback.test.ts tests/workspace-ready-runtime.test.ts tests/session-service.test.ts tests/session-actions.test.ts tests/session-title-persistence.test.ts tests/session-status-display.test.ts
  • pnpm build:web
  • cargo check --manifest-path apps/server/Cargo.toml

@pallyoung
Copy link
Copy Markdown
Contributor Author

Closing this PR and keeping the changes directly on develop.

@pallyoung pallyoung closed this Mar 29, 2026
@pallyoung pallyoung deleted the fix/workspace-transport-stability branch March 29, 2026 07:50
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.

1 participant