Skip to content

feat(webui): restore sessions from display replay - #566

Closed
delete-cloud wants to merge 1 commit into
mainfrom
feat/webui-session-recovery
Closed

delete-cloud wants to merge 1 commit into
mainfrom
feat/webui-session-recovery

Conversation

@delete-cloud

Copy link
Copy Markdown
Owner

Summary

  • add webui session list, session summary loading, full history replay through durable run display-events, and resume-mode sending after restoring a session
  • render assistant markdown with react-markdown and replace ad hoc diff text with a lightweight structured diff/patch panel
  • document the session runs replay contract used by GUI history restore

Verification

  • pnpm typecheck
  • pnpm test
  • pnpm build
  • pnpm peers check
  • Browser/DevTools manual flow: created a session against http://127.0.0.1:18080, reloaded the tab, restored from the session list via /sessions/{id}, /sessions/{id}/runs, /runs/{run_id}/display-events, then continued via POST /sessions/{id}/resume?event_format=display

Notes

  • Local provider execution returned final_result error during run_model, so the HTTP stream and restore/resume request flow were verified, but a successful model answer and ask-mode approval roundtrip were not fully exercised in this local environment.

@coderabbitai

coderabbitai Bot commented Jun 11, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: dd175008-e457-40b1-a01e-fadf47b7b88d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/webui-session-recovery

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Add session list, durable display-event replay, resume streaming, markdown assistant rendering, and lightweight diff panel.

Verification: pnpm typecheck; pnpm test; pnpm build; pnpm peers check; browser flow create session, reload, restore via runs replay, continue via /resume.
@delete-cloud
delete-cloud force-pushed the feat/webui-session-recovery branch from 451d6e3 to 6ea4f1e Compare June 11, 2026 17:41
@delete-cloud
delete-cloud deleted the feat/webui-session-recovery branch June 11, 2026 21:21
@delete-cloud

Copy link
Copy Markdown
Owner Author

Superseded by #567. GitHub refused reopening this PR after the head branch was restored, so the same branch now continues in the replacement draft PR.

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