Skip to content

fix(web-ui): handle failed dialog completion in flow chat and notifications#636

Merged
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:fix/web-ui-dialog-turn-completion-failure
May 10, 2026
Merged

fix(web-ui): handle failed dialog completion in flow chat and notifications#636
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:fix/web-ui-dialog-turn-completion-failure

Conversation

@bobleer
Copy link
Copy Markdown
Collaborator

@bobleer bobleer commented May 10, 2026

Summary

  • Treat DialogTurnCompleted with success: false as a failed turn: invoke failure handling and settle subagent tool items as error with contextual finish_reason.
  • Background completion notifications distinguish success vs failure and pass through finishReason.
  • Add notify.* strings for failed dialog completion (en, zh-CN, zh-TW).
  • Extend unit tests for EventHandlerModule and useDialogCompletionNotify.

Verification

  • pnpm run lint:web
  • pnpm run type-check:web
  • Targeted Vitest: hooks and EventHandlerModule test files.

…ations

- Route unsuccessful DialogTurnCompleted through failure handling and
  settle subagent tool items as error with finish_reason context
- Pass success and finishReason into background completion notification copy
- Add notify strings for failed dialog completion (en/zh-CN/zh-TW)
- Extend unit tests for EventHandlerModule and useDialogCompletionNotify
@bobleer bobleer merged commit b43c0bc into GCWing:main May 10, 2026
4 checks passed
@bobleer bobleer deleted the fix/web-ui-dialog-turn-completion-failure branch May 11, 2026 02:42
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