Skip to content

fix(agent): make compaction deadline-safe - #517

Merged
tallcode merged 1 commit into
mainfrom
codex/compaction-command-timeouts
Sep 7, 2026
Merged

tallcode merged 1 commit into
mainfrom
codex/compaction-command-timeouts

Conversation

@tallcode

@tallcode tallcode commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • acknowledge manual compaction immediately and correlate its terminal lifecycle by operation ID
  • keep streaming channels deadline-free while applying shared per-command unary deadlines across Desktop, TUI, CLI, Channels, and Loop
  • reject conflicting session mutations during compaction and make same-request retries idempotent
  • add an Agent-owned shell timeout that terminates the process tree
  • make explicit TCP transport authoritative after the local IPC migration

Validation

  • cargo fmt --all -- --check
  • cargo fmt --check --manifest-path desktop/src-tauri/Cargo.toml
  • cargo clippy for affected workspace crates and Desktop Tauri with -D warnings
  • cargo check for RPC, Agent, Channels, Loop, CLI, TUI, and Desktop Tauri
  • RPC wire and transport tests; Agent compaction, gRPC, session lifecycle, and shell-timeout tests
  • Desktop Rust suite: 1112 passed
  • Desktop Vitest suite: 692 passed
  • Desktop ESLint and TypeScript checks; 3 existing Tailwind warnings, 0 errors
  • proto regeneration and git diff --check

@tallcode
tallcode enabled auto-merge (squash) September 7, 2026 09:01
@tallcode
tallcode merged commit 35df446 into main Sep 7, 2026
12 checks passed
@tallcode
tallcode deleted the codex/compaction-command-timeouts branch September 7, 2026 09:09
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