clockworklabs / clockworklabs/SpacetimeDB

TypeScript SDK - DbConnection does not handle a disconnect when browser tab was in background

Open
#3,025 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
25.2k
Forks
1.1k
Avg merge
2d 7h
Merged PRs (30d)
46

Description

This issue was reported by a user in the Discord.

Image

Discord thread: https://discord.com/channels/1037340874172014652/1353438905122295818/1353438905122295818

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the TypeScript SDK's DbConnection implementation and review the linked Discord thread for the reported background-tab disconnect behavior. Reproduce the disconnect after a browser tab is backgrounded, then verify that DbConnection handles the resulting disconnect as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
databases, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.