Skip to content

fix(session): async metadata resolve and workspace session matching#301

Merged
GCWing merged 1 commit intomainfrom
gcwing/dev
Mar 28, 2026
Merged

fix(session): async metadata resolve and workspace session matching#301
GCWing merged 1 commit intomainfrom
gcwing/dev

Conversation

@GCWing
Copy link
Copy Markdown
Owner

@GCWing GCWing commented Mar 28, 2026

Summary

  • Persistence: �uild_session_metadata is now async and awaits
    esolve_workspace_session_identity instead of utures::executor::block_on, avoiding blocking inside async contexts.
  • Session ordering: sessionBelongsToWorkspaceNavRow compares paths with isSamePath in addition to normalized remote paths so local/remote forms still match.
  • Flow chat: Relaxes workspace path filtering when selecting sessions for restore and removes the preferred-mode early return that left �ctiveSessionId unset.
  • App layout: When there are no historical sessions, seed an initial session even if �ctiveSessionId is already set.

Testing

  • Manual: open workspace with remote/history edge cases if applicable

- Replace block_on in build_session_metadata with async resolve_workspace_session_identity

- sessionBelongsToWorkspaceNavRow: use isSamePath with normalized remote paths

- FlowChatManager: relax path filter and preferred-mode early return for session restore

- AppLayout: seed initial session when no history regardless of activeSessionId
@GCWing GCWing merged commit a7e2024 into main Mar 28, 2026
1 check passed
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