Skip to content

fix(chat): recover saved replies before empty-response errors - #94

Merged
kahme247 merged 2 commits into
ompweb-dev:mainfrom
andrebrait:fix/resume-response
Sep 13, 2026
Merged

kahme247 merged 2 commits into
ompweb-dev:mainfrom
andrebrait:fix/resume-response

Conversation

@andrebrait

@andrebrait andrebrait commented Sep 13, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Reload and inspect the current saved turn before declaring an empty response after missed SSE frames, including agent_end-only recovery.
  • Distinguish repeated prompts using persisted entry ids; preserve genuine provider errors and tool-only/empty failures.
  • Keep recovery active when the transcript reload itself fails rather than misreporting a missing answer.
  • Capture fresh persisted boundaries before rapid successive sends and interrupt-and-reply.

Verification at merge

Incremental cursor catch-up for still-running sessions is a separate follow-up, not part of the commits merged in this PR.

@andrebrait

Copy link
Copy Markdown
Collaborator Author

Follow-up 5bd8f1d fixes Copilot's stale-boundary race for rapid successive sends and interrupt-and-reply. Both paths now snapshot persisted entries immediately before dispatch rather than using possibly stale React state. Two additional regressions fail before the correction and pass after it. Final local verification: 696 tests passed, 1 existing skip; typecheck/lint passed. Latest upstream CI 34751294396 and matching fork CI 34751302269 are green on Linux and Windows, including production builds. CodeRabbit's completed initial review had no actionable comments. No deployment included.

@kahme247
kahme247 merged commit 0853629 into ompweb-dev:main Sep 13, 2026
3 checks passed
@andrebrait andrebrait changed the title fix(chat): recover saved replies before empty-response errors fix(chat): resume sessions with cursor-based history catch-up Sep 13, 2026
@andrebrait andrebrait changed the title fix(chat): resume sessions with cursor-based history catch-up fix(chat): recover saved replies before empty-response errors Sep 13, 2026
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