Skip to content

TS SDK logs false "Received SubscriptionError for unknown querySetId" errors #4755

@DexterKoelson

Description

@DexterKoelson

Since the Reduce overhead in the typescript sdk change (#4744), some (maybe all??) TS/React SDK users see console errors like:

Received SubscriptionError for unknown querySetId 19

These appear during normal use and did not occur previously. Reverting #4744 makes them go away. No actual functionality appears broken, the errors are harmless and just annoying.

Root cause: #4744 replaced promise chained #processMessage with a synchronous drain loop. The old promise chain had a bug where any uncaught exception (e.g. from a user row callback) would break the chain and silently drop all subsequent WebSocket messages. The new drain loop correctly recovers, which surfaces benign SubscriptionError messages that were previously swallowed into the void.

Affected versions: any release containing #4744

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions