Skip to content

feat(tui): hydrate pending session work#36158

Closed
opencode-agent[bot] wants to merge 1 commit into
v2from
tui-pending
Closed

feat(tui): hydrate pending session work#36158
opencode-agent[bot] wants to merge 1 commit into
v2from
tui-pending

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

What

  • Fetch session.pending.list when refreshing TUI session messages.
  • Merge pending user/synthetic inputs and compaction barriers into local message state.
  • Track pending user/synthetic IDs so existing row rendering keeps them queued until promotion.
  • Render live session.compaction.admitted barriers immediately and reconcile them with session.compaction.started.

Tests

  • bun typecheck from packages/tui
  • bun test test/cli/tui/data.test.tsx from packages/tui

Note: initial bun install failed because node-gyp is not installed for native scripts; bun install --ignore-scripts completed and the TUI checks above pass.

@kitlangton

Copy link
Copy Markdown
Contributor

Superseded by #36433, which will hydrate from the pending API with a deterministic promotion-race regression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants