Skip to content

Track multiplayer presence history#33

Merged
agustin-lowpoly merged 1 commit into
mainfrom
presence-history
Jun 24, 2026
Merged

Track multiplayer presence history#33
agustin-lowpoly merged 1 commit into
mainfrom
presence-history

Conversation

@agustin-lowpoly

Copy link
Copy Markdown
Contributor

Summary

  • add bounded 24h minute-bucket history to the PartyKit presence room
  • expose history peaks and latest bucket values from /parties/presence/global
  • cover same-minute join/leave peak retention and old bucket pruning

Validation

  • node --test test/multiplayer/presence.test.mjs
  • pnpm test
  • pnpm build
  • local partykit dev presence write/read/clear checked before packaging

Deploy note

  • history starts accumulating only after the PartyKit worker deploy containing this change

@agustin-lowpoly agustin-lowpoly merged commit e06e37a into main Jun 24, 2026
1 check passed
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