Skip to content

feat(presence): send own proxy id with logout - #31

Merged
hbrombeer merged 1 commit into
mainfrom
feat/proxy-scoped-logout
Aug 2, 2026
Merged

feat(presence): send own proxy id with logout#31
hbrombeer merged 1 commit into
mainfrom
feat/proxy-scoped-logout

Conversation

@hbrombeer

Copy link
Copy Markdown
Member

Part of the proxy drain project. The disconnect fired when a player is transferred to another proxy races that proxy's login — an unscoped logout could delete the session the next proxy just created. Both logout paths (disconnect, abandoned-login release) now carry PROXY_ID; service-player then only deletes while the session still belongs to this proxy.

Depends on groundsgg/library-grpc-contracts#78 → player 0.7.0 (pinned here) — CI stays red until that release exists.

Scopes the session delete to this proxy: a disconnect that raced a
proxy-to-proxy transfer must not remove the session the next proxy just
created (service-player honours the new field, empty keeps the old
unconditional delete). Contracts bump to 0.7.0.
@hbrombeer
hbrombeer marked this pull request as ready for review August 2, 2026 07:51
@hbrombeer
hbrombeer merged commit d1f9896 into main Aug 2, 2026
3 of 5 checks passed
@hbrombeer
hbrombeer deleted the feat/proxy-scoped-logout branch August 2, 2026 07:51
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