https://docs.google.com/document/d/1TChZyLjETnSF5mkTXEXBuO2m-FL-E8ceTI1lkHongSg ## Implementation plan - [x] Event storage and emission framework - [x] `/api/events/list` API - [ ] CLI - [x] `dstack event` - [x] `dstack event --watch` - [ ] Event log when provisioning resources - [ ] Event coverage - [ ] Runs - [x] Creation - [x] Status changes - [x] Deletion - [x] In-place update - [ ] Service scaling - [ ] Rolling deployment - [x] Service registration - [ ] Jobs - [x] Creation - [x] Status changes - [x] In-place update - [x] Reachable/unreachable changes - [ ] Probe status - [x] Replica registration - [ ] Fleets - [x] Creation - [x] Status changes - [ ] In-place update - [ ] Instances - [x] Creation - [x] Status changes - [x] Reachable/unreachable changes - [x] Health changes - [ ] shim/runner updates - [x] Users - [x] Creation - [x] Update - [x] Deletion - [ ] Projects - [x] Creation - [x] Update - [x] Deletion - [ ] Membership changes - [ ] Volumes - [x] Creation - [x] Status changes - [x] Deletion - [ ] Attachment/detachment - [ ] To/from existing instance - [ ] To/from instance being created/deleted (RunPod) - [x] Gateways - [x] Secrets - [ ] Backends