Skip to content

[Communication - Chat] ChatClient Chat Operations successfully deletes a thread failing in nightly runs #19848

Closed

Description

Communication - Chat nightly test runs are failing with:

Error message:
chatThreadId cannot be null or undefined.

Stack trace:
Error: chatThreadId cannot be null or undefined.
at SerializerImpl.serialize (/Users/runner/work/1/s/sdk/core/core-client/src/serializer.ts:148:13)
at calculateUrlReplacements (/Users/runner/work/1/s/sdk/core/core-client/src/urlHelpers.ts:81:52)
at getRequestUrl (/Users/runner/work/1/s/sdk/core/core-client/src/urlHelpers.ts:21:27)
at ChatApiClient.sendOperationRequest (/Users/runner/work/1/s/sdk/core/core-client/src/serviceClient.ts:125:17)
at ChatImpl.deleteChatThread (/Users/runner/work/1/s/sdk/communication/communication-chat/src/generated/src/operations/chat.ts:74:24)
at ChatClient.deleteChatThread (/Users/runner/work/1/s/sdk/communication/communication-chat/src/chatClient.ts:54:49)
at Context. (/Users/runner/work/1/s/sdk/communication/communication-chat/test/public/chatClient.spec.ts:70:24)
at callFn (/Users/runner/work/1/s/common/temp/node_modules/.pnpm/mocha@7.2.0/node_modules/mocha/lib/runnable.js:374:21)
at Test.Runnable.run (/Users/runner/work/1/s/common/temp/node_modules/.pnpm/mocha@7.2.0/node_modules/mocha/lib/runnable.js:361:7)
at Runner.runTest (/Users/runner/work/1/s/common/temp/node_modules/.pnpm/mocha@7.2.0/node_modules/mocha/lib/runner.js:619:10)
at /Users/runner/work/1/s/common/temp/node_modules/.pnpm/mocha@7.2.0/node_modules/mocha/lib/runner.js:745:12
at next (/Users/runner/work/1/s/common/temp/node_modules/.pnpm/mocha@7.2.0/node_modules/mocha/lib/runner.js:536:14)
at /Users/runner/work/1/s/common/temp/node_modules/.pnpm/mocha@7.2.0/node_modules/mocha/lib/runner.js:546:7
at next (/Users/runner/work/1/s/common/temp/node_modules/.pnpm/mocha@7.2.0/node_modules/mocha/lib/runner.js:448:14)
at /Users/runner/work/1/s/common/temp/node_modules/.pnpm/mocha@7.2.0/node_modules/mocha/lib/runner.js:509:7
at done (/Users/runner/work/1/s/common/temp/node_modules/.pnpm/mocha@7.2.0/node_modules/mocha/lib/runnable.js:314:5)
at callFn (/Users/runner/work/1/s/common/temp/node_modules/.pnpm/mocha@7.2.0/node_modules/mocha/lib/runnable.js:397:7)
at Hook.Runnable.run (/Users/runner/work/1/s/common/temp/node_modules/.pnpm/mocha@7.2.0/node_modules/mocha/lib/runnable.js:361:7)
at next (/Users/runner/work/1/s/common/temp/node_modules/.pnpm/mocha@7.2.0/node_modules/mocha/lib/runner.js:470:10)
at Immediate. (/Users/runner/work/1/s/common/temp/node_modules/.pnpm/mocha@7.2.0/node_modules/mocha/lib/runner.js:514:5)
at processImmediate (node:internal/timers:464:21)

For more details check here:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

ClientThis issue points to a problem in the data-plane of the library.Communicationtest-reliabilityIssue that causes tests to be unreliable

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions