feat(09-02): convert high-frequency callsites to granular emitEvent
- Replace publishDomainChanged() with granular events at 9 high-frequency callsites - saveTask/deleteTask emit task-updated events in ipc-core-work-graph-handlers - decideApproval emits approval-updated, addComment emits task-updated - worker-service emits run-updated for status changes and completion - worker-service emits agent-updated for budget hard-stop pause - orchestration-service emits agent-updated for auto-pause, run-updated for dispatch - Wire emitEvent dependency to orchestration-service via service-graph - Keep publishDomainChanged for low-frequency and multi-entity paths Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
c1de05a7f1
commit
5124209ddb
5 files changed
+20
-11
No files matched your search
@@ -169,6 +169,7 @@ export function createServiceGraph({
|
||||
db,
|
||||
logger,
|
||||
publishDomainChanged,
|
||||
emitEvent,
|
||||
notify,
|
||||
createRunToken,
|
||||
getApiPort: () => apiServerRef.current?.getPort() ?? 0,
|
||||
|
||||
Reference in new issue
Block a user