Skip to content

Conversation

@aasoni
Copy link
Contributor

@aasoni aasoni commented Nov 7, 2025

Description of Changes

When computing rowId for non primary key tables the typescript sdk incorrectly used the entire data buffer.
This resulted in rowIds being incorrect when multiple rows were present within an update.

Expected complexity level and risk

1

Testing

Tested this in the context of developing the collaborator feature on the spacetime.com website.
Without this change, updates to tables without primary keys were sometimes not applied to the client cache.
With this update no further issues were observed.

Copy link
Collaborator

@coolreader18 coolreader18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@cloutiertyler cloutiertyler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this with Alessandro

@cloutiertyler cloutiertyler added this pull request to the merge queue Nov 7, 2025
Merged via the queue into master with commit d4dc289 Nov 7, 2025
24 of 25 checks passed
bfops pushed a commit that referenced this pull request Nov 8, 2025
#3603)

# Description of Changes

When computing rowId for non primary key tables the typescript sdk
incorrectly used the entire data buffer.
This resulted in rowIds being incorrect when multiple rows were present
within an update.

# Expected complexity level and risk

1

# Testing

Tested this in the context of developing the collaborator feature on the
spacetime.com website.
Without this change, updates to tables without primary keys were
sometimes not applied to the client cache.
With this update no further issues were observed.

Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants