Skip to content

fix(tui): retry replay attachments and preserve blocked drafts - #833

Merged
GraciousGazelles merged 11 commits into
mainfrom
repair/w12448-replay-retry-draft-20260909
Sep 8, 2026
Merged

GraciousGazelles merged 11 commits into
mainfrom
repair/w12448-replay-retry-draft-20260909

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Summary

  • Retry attachment when selecting a cached replay-only thread, including active re-selection.
  • Install resumed thread state before restoring live input; keep failed retries in replay mode.
  • Preserve composer drafts when a replay-only submission is blocked, including slash-popup dispatch paths.
  • Add focused retry, fallback, draft-preservation, and popup regression coverage.

This is a bounded successor slice of #651. It does not change event-queue ordering, closure handling, or the central replay mutation policy; remaining predecessor capabilities are retained for separate work.

Validation

Scoped source review is clean on ea6ad2a. Fresh GitHub-hosted compilation and regression checks are pending. No local build or test execution is claimed.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces support for handling replay-only threads in the TUI, blocking mutations and inputs on replay-only transcripts while preserving drafts during retries. It also updates the session lifecycle to allow retrying live thread attachments. Feedback points out significant code duplication and inconsistent error handling in the newly added retry block in session_lifecycle.rs, recommending a simplified guard condition to leverage the existing activation logic.

@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Sep 8, 2026
Merged via the queue into main with commit cf68073 Sep 8, 2026
94 checks passed
@GraciousGazelles
GraciousGazelles deleted the repair/w12448-replay-retry-draft-20260909 branch September 8, 2026 23:10
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