Spec requirement
RTP17e: When automatic presence re-entry fails, the channel should emit an UPDATE event with error code 91004 and a message that indicates the failure and the clientId of the member that failed to re-enter.
Current behaviour
The error message is 'Presence auto re-enter failed' without including the clientId.
Reproduction
RUN_DEVIATIONS=1 npx mocha --no-config --require tsx/cjs 'test/uts/realtime/presence/realtime_presence_reentry.test.ts' --timeout 30000 --grep "RTP17e - failed re-entry emits UPDATE with error"
UTS test
test/uts/realtime/presence/realtime_presence_reentry.test.ts — asserts error.message.includes('my-client').
┆Issue is synchronized with this Jira Task by Unito
Spec requirement
RTP17e: When automatic presence re-entry fails, the channel should emit an UPDATE event with error code 91004 and a message that indicates the failure and the clientId of the member that failed to re-enter.
Current behaviour
The error message is
'Presence auto re-enter failed'without including the clientId.Reproduction
UTS test
test/uts/realtime/presence/realtime_presence_reentry.test.ts— assertserror.message.includes('my-client').┆Issue is synchronized with this Jira Task by Unito