posta.room/v1 kind refactor + leave action + pkg/posta additions #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issues-1-2-3"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bundles three issues (each landed as one commit):
#2 — fold
posta.room.broadcast/v1intoposta.room/v1with action discriminatorposta.room/v1is the room-payload kind;action: "broadcast"carries the wrapper. Per-action versioning rule documented (incompatible change to any action ⇒ bump the whole kind).cmd/gen-vectorswrites the new shape; vectors10-room-broadcast-roundtripand11-room-broadcast-tampered-innerregenerated.pkg/postatest runner checks bothkindandaction.#3 — `action: "leave"` membership opt-out
#1 — `pkg/posta` additions
Follow-up (out of scope, different repo): `posta-server/internal/keys` can now drop its local copy and import from `pkg/posta`.
Test plan
Pull request closed