0
Fork 0
mirror of https://github.com/zeronsh/comet.git synced 2026-11-16 18:57:19 +00:00
comet/edge/test/unit
Wing aec924c131 Relay: old clients no longer hold a chat or an account back
One old app anywhere on an account kept every chat on stored rows, and a rollout
had to wait out a 14-day window to see them all. A chat now goes to generation 3
whatever else is on the account. Old clients read that as a chat2 room as they
always have, and when one opens a chat the room tells its host, which stores for
as long as it's there. So storage is paid per chat, only while an old client has
that chat open.

With nothing left to gate, the rollout has one control: CHAT_RELAY_LAYER on the
edge, for everyone or a list of user ids. Engines run the layer by default and
follow the room's answer, with ZERON_RELAY_LAYER=0 as a kill switch. Gone: the
registry's list of old clients, the account-wide rule, and CLOUD_RELAY_LAYER.

The smoke test proves it against shipped v0.2.138, v0.2.137 and v0.2.116.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
History 2026-11-09 00:46:21 -07:00
..
card-web.test.ts Cards: Maintainer first, as a dark pill (#1193) 2026-11-03 16:27:35 -07:00
card.test.ts Plugins and templates: consent bound to capabilities, engine-held decisions, hardened runtime (#1139) 2026-11-03 11:33:36 -07:00
cloud-access.test.ts Zeron Cloud, provider switching, and the phone model picker (#966) 2026-10-22 03:18:13 -07:00
credit-pricing.test.ts Cloud: a credit is a minute of a small machine, from a cutover day 2026-11-06 17:35:29 -07:00
earned-badges.test.ts Edge: badge earned by an early first claim (#1136) 2026-11-02 23:13:24 -07:00
edge-identity.test.ts Plugins and templates: consent bound to capabilities, engine-held decisions, hardened runtime (#1139) 2026-11-03 11:33:36 -07:00
install-script.test.ts Relay: old clients no longer hold a chat or an account back 2026-11-09 00:46:21 -07:00
loro-persistence.test.ts Sync: update loro to 1.17 so streaming chats stop leaking memory (#1116) 2026-10-31 11:55:18 -07:00
sandbox-providers.test.ts Durable Cloud: machine sizes, wake failures, disk levels and data expiry 2026-11-06 12:15:15 -07:00