Skip to content

fix(webui): sync task detail drawer with polling and live session chat#282

Merged
duguwanglong merged 1 commit into
devfrom
fix/webui-queued-section-detail-sync
May 18, 2026
Merged

fix(webui): sync task detail drawer with polling and live session chat#282
duguwanglong merged 1 commit into
devfrom
fix/webui-queued-section-detail-sync

Conversation

@xiami762
Copy link
Copy Markdown
Contributor

Summary

  • Merge the open execution detail into the queued list rows so the drawer and table stay consistent with the latest fetched snapshot.
  • Poll getExecution by id every 30s while the detail drawer is open so status changes (for example completed → running) are reflected even when the list filter is stale.
  • Mount SessionChat with live={true} whenever the task has a sessionID, and add regression tests for live props and polling behavior.

Test plan

  • npm test -- --run src/pages/Task/QueuedSection.test.tsx (Vitest)
  • Manually open a queued task with a session, confirm chat streams and status updates after backend transitions

Made with Cursor

Merge the open detail snapshot into the visible list, poll execution by id
while the drawer is open, and enable SessionChat live streaming whenever a
session id exists so completed/running transitions stay accurate.

Co-authored-by: Cursor <cursoragent@cursor.com>
@duguwanglong duguwanglong merged commit 99140d1 into dev May 18, 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