[PR #5816] fix: prioritize session list loading when resuming with -c #11600

Closed
opened 2026-02-16 18:16:28 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5816

State: closed
Merged: Yes


Summary

Changes

When using -c flag:

  1. session.list() is now loaded in the blocking phase (instead of non-blocking)
  2. The continue effect triggers at "partial" status (instead of waiting for "complete")

This ensures the session data is available immediately, so navigation to the resumed session happens before the dashboard ever renders.

Testing

  1. Start opencode, create a session with messages
  2. Exit
  3. Run opencode -c
  4. Session should appear directly without dashboard flash
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5816 **State:** closed **Merged:** Yes --- ## Summary - Fixes #5815 - Eliminates the confusing dashboard flash when using `opencode -c` to resume a session ## Changes When using `-c` flag: 1. `session.list()` is now loaded in the blocking phase (instead of non-blocking) 2. The continue effect triggers at "partial" status (instead of waiting for "complete") This ensures the session data is available immediately, so navigation to the resumed session happens before the dashboard ever renders. ## Testing 1. Start opencode, create a session with messages 2. Exit 3. Run `opencode -c` 4. Session should appear directly without dashboard flash
yindo added the pull-request label 2026-02-16 18:16:28 -05:00
yindo closed this issue 2026-02-16 18:16:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11600