Commit Graph

22 Commits

Author SHA1 Message Date
devin 619b4c772c [playersettings] Drop Growth.YIR telemetry and MakerPenSessionCount on write (#145)
* [playersettings] drop Growth.YIR telemetry on write

The client posts its Year-In-Review counters (Growth.YIR.UGC.TubeDistance,
Growth.YIR.DistanceTraveled, …) through PUT /playersettings with a new value every time,
so the change-detection dedupe never skips them. A two-minute tail at ~500 CCU showed
them as about half of all KV writes (3.7 writes/s overall, 448 writes from 448 PUTs).
Nothing server-side reads them and the client has none for a new player, so a PUT naming
one is answered 200 and nothing is stored. Keys stay unseeded for a player whose only
posts are telemetry.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* [playersettings] also drop MakerPenSessionCount

A per-session counter the client bumps on every post, like the Growth.YIR telemetry; nothing
reads it. The maker pen PREFERENCES (MakerPen_SnappingMode and the other MakerPen_* keys) are
kept — the client reads those back.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-26 23:47:04 -04:00
Devin Zuczek e00103c6b3 [msc] make playersettings more efficient 2026-09-30 18:04:56 -04:00
Devin Zuczek 4e070a59bd [all] turn off worker logs for $ 2026-09-22 09:41:20 -04:00
Nexi 222547ee13 [api] audit fixes: account tests, dependencies and security hardening (#54)
* test(accounts): cover three username changes

* chore(deps): update vulnerable runtime dependencies

* fix(security): bound uploads and validate token subjects strictly

---------

Co-authored-by: Nexi (CWN) <communityshieldofficial@gmail.com>
2026-09-08 23:47:58 -04:00
Devin Zuczek 9696c56317 [playersettings] fix delete setting 2026-09-08 23:27:04 -04:00
Devin Zuczek 23b78104e8 updating api docs 2026-07-22 11:43:30 -04:00
Devin Zuczek 086441f6f5 misc cleanup 2026-07-21 01:20:20 -04:00
Devin Zuczek c9996229db update wrangler/workers version 2026-07-13 18:24:00 -04:00
Devin Zuczek 43c3bd93be clean up auth, some storage improvements 2026-07-09 23:28:04 -04:00
Devin Zuczek bdebc50075 move JWT validation to package 2026-07-09 20:15:10 -04:00
Devin Zuczek baf43bfe31 authentication improvements 2026-07-06 21:08:24 -04:00
Devin Zuczek db1460ae06 remove hard defaults 2026-07-01 01:34:42 -04:00
Devin Zuczek ba33003343 updating types 2026-06-30 23:57:29 -04:00
Devin Zuczek 87581ddbcf remove kv IDs 2026-06-30 13:54:21 -04:00
Devin Zuczek 8b42c23764 update some naming conventions 2026-06-30 13:03:46 -04:00
Devin Zuczek c9ec13fc6c update deps 2026-06-29 23:44:57 -04:00
Devin Zuczek 81815ef06c remove hard coded routes 2026-06-29 23:16:42 -04:00
Devin Zuczek 69b89e2dc4 testing generic deploy 2026-06-29 23:16:42 -04:00
Devin Zuczek d0c1a9ff08 fix 2026-06-19 00:34:35 -04:00
Devin Zuczek 1fa841f955 make new account + orientation work 2026-06-16 01:29:48 -04:00
Devin Zuczek e89bf3451f add empty chat endpoint 2026-06-12 17:28:00 -04:00
Devin Zuczek 4d1ea9fe3e add playersettings, img, more match endpoints 2026-06-12 17:15:18 -04:00