Parent: #231 · Blocked by: #236, #237
Scope
Wire transaction handling into the existing digest loop and WebSocket broadcast pipeline.
Changes
ServerMessage enum — add variant
pub enum ServerMessage {
IssueCreated { issue: Issue },
IssueUpdated { issue: Issue },
EventReceived { issue_id: String, event_id: String },
TransactionReceived { transaction_id: String, name: String, duration_ms: f64 }, // NEW
}
Digest loop — handle ParsedEnvelope.transactions
- After processing events, check if envelope has transactions
- Insert each transaction into DB via
insert_transaction()
- Broadcast
TransactionReceived to subscribed WebSocket clients for that project
Tasks
Effort: ~2 hours
Parent: #231 · Blocked by: #236, #237
Scope
Wire transaction handling into the existing digest loop and WebSocket broadcast pipeline.
Changes
ServerMessageenum — add variantDigest loop — handle
ParsedEnvelope.transactionsinsert_transaction()TransactionReceivedto subscribed WebSocket clients for that projectTasks
TransactionReceivedvariant toServerMessageenvelope.transactionsafterenvelope.eventsEffort: ~2 hours