Skip to content

Adopt server usage count unconditionally on identity resolve - #65

Merged
sgardoll merged 1 commit into
mainfrom
fix/usage-sync-server-authoritative
Aug 25, 2026
Merged

Adopt server usage count unconditionally on identity resolve#65
sgardoll merged 1 commit into
mainfrom
fix/usage-sync-server-authoritative

Conversation

@sgardoll

Copy link
Copy Markdown
Owner

The old gate only adopted the server count when it was >= local,
so a client whose localStorage ran ahead could never be corrected
downward and stayed blocked at its own inflated count. The server
counter is global truth per identity - always adopt it.

The old gate only adopted the server count when it was >= local,
so a client whose localStorage ran ahead could never be corrected
downward and stayed blocked at its own inflated count. The server
counter is global truth per identity - always adopt it.
@sgardoll
sgardoll merged commit 89d73b2 into main Aug 25, 2026
4 checks passed
@sgardoll
sgardoll deleted the fix/usage-sync-server-authoritative branch August 25, 2026 09:53
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.

1 participant