mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-26 15:48:41 +00:00
* perf(notifications): notify returns the row it wrote instead of reading it back The service hands the driver the row the store built on insert, and a group replacement builds the row it leaves from the one it looked up, so neither path reads the row back from the primary. * perf(notifications): mark-ack reads the row's fixed columns from a replica The type, app uid and audience the dismissal event carries never change, so they are read from a replica alongside the update, and from the primary only when the replica has no row yet. * test(notifications): cover a repeat dismissal and tidy notify docs * fix(notifications): a repeat mark-ack returns without waiting for the replica read, and a failed replica read is logged * refactor(notifications): NotificationRow spells out the row's columns, and a replacement passes the app uid it already has