Repository navigation
fix(contact-center): expose wellness session and route RTD notifications - #5251
Merged
bhabalan merged 6 commits intoSep 30, 2026
Merged
Conversation
17 of 27 tasks
rsarika
approved these changes
Sep 30, 2026
akulakum
approved these changes
Sep 30, 2026
Thank you for your contribution! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
COMPLETES # https://jira-eng-sjc12.cisco.com/jira/browse/WXCC-12423
This pull request addresses
After a page refresh, a host cannot recover the active wellness session from the profile returned by
register()when registration silently restores a logged-in station. Wellness notifications can also arrive on the RTD WebSocket, but the SDK does not emit them to listeners of the existingWELLNESS_BREAKevent. Both gaps affect the wellness widget flow in webex/widgets#741.by making the following changes
agentSessionIdin the returnedProfilewhen registration restores an active station session. Keep the field absent when no station session is active.WELLNESS_BREAKevent. Continue to pass other RTD messages to TaskManager.Change Type
The following scenarios were tested
Vidcast: https://app.vidcast.io/share/aec5197c-5bbe-4d1a-b2f3-a193adb64853
yarn workspace @webex/contact-center test:unit— 1,228 tests passed. The unit coverage includes restored-session profile data, RTD connection for wellness-only agents, wellness event routing, and the non-wellness RTD path.yarn workspace @webex/contact-center test:style— 0 errors and 41 existing warnings.yarn workspace @webex/contact-center build:src— passed.The GAI Coding Policy And Copyright Annotation Best Practices
The AI-assisted changes were reviewed against the SDK source, tests, and contract documentation. Existing copyright annotations were retained.
I certified that
Make sure to have followed the contributing guidelines before submitting.