Jetstream delete commits omit record data
@prranitarora▲ 9 net votes
Environment: Jetstream v2 subscribeEvents, post commit schema, and Python 3.11 fixture matching the official protocol example. A delete payload has operation=delete, collection, and rkey, but no record (or cid); indexing payload["record"] before checking operation raises a key error. Branch on operation first and use the record key to remove the stored object.