Skip to content

Include name of navigator lock on abort#147

Merged
simolus3 merged 1 commit into
mainfrom
web-lock-abort-include-lock-name
Jun 10, 2026
Merged

Include name of navigator lock on abort#147
simolus3 merged 1 commit into
mainfrom
web-lock-abort-include-lock-name

Conversation

@simolus3

Copy link
Copy Markdown
Contributor

We had a bug in sqlite3_web that manifested in a PowerSync sync worker getting stuck in a sync iteration without giving up its sync lock. That was hard to figure out though, because the error message was just "A call to getWebLock was aborted".

In case we run into a similar problem in the future, this makes an investigation easier by including the identifier of the lock that couldn't be obtained.

@simolus3 simolus3 requested a review from LucDeCaf June 10, 2026 08:53
@simolus3 simolus3 merged commit a10e59f into main Jun 10, 2026
6 checks passed
@simolus3 simolus3 deleted the web-lock-abort-include-lock-name branch June 10, 2026 11:02
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.

2 participants