Skip to content

0504 bug#756

Merged
swuecho merged 2 commits into
masterfrom
0504_bug
May 4, 2026
Merged

0504 bug#756
swuecho merged 2 commits into
masterfrom
0504_bug

Conversation

@swuecho

@swuecho swuecho commented May 4, 2026

Copy link
Copy Markdown
Owner

No description provided.

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 626ada8b58

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 623 to +625
if (targetSessionUuid &&
sessionStore.lastRequestedSessionUuid !== targetSessionUuid &&
sessionStore.lastRequestedSessionUuid !== null) {
console.log('Navigation target differs from last requested session, skipping to prevent loop')
sessionStore.lastRequestedSessionUuid === targetSessionUuid) {
console.log('Navigation target matches last requested session, skipping to prevent loop')

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Do not skip navigation for the currently requested session

This condition now returns early when targetSessionUuid equals lastRequestedSessionUuid, but setActiveSession() sets lastRequestedSessionUuid to the same session immediately before calling navigateToWorkspace(). In the normal session-switch flow, this makes navigateToWorkspace() bail out and never call router.push, so the active session state changes while the route stays on the previous chat, breaking session switching/navigation consistency.

Useful? React with 👍 / 👎.

@swuecho swuecho merged commit 4745745 into master May 4, 2026
2 checks 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