You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: Replace console.error with structured logging in emitEventToSinks #140
exportasyncfunctionemitEventToSinks(event: HistoryEvent,sinks: HistorySink[]){for(constsinkofsinks){try{awaitsink.append(event)}catch(err){console.error(`Failed to write history event: ${(errasError).message}`)}}}
Activity
minorcell commentedon Feb 11, 2026
Fixed in commit f7e4056.
Changes:
console.errorinemitEventToSinkswith structured JSON logging tostderr.level,event,sink, andmessage.Validation:
pnpm test packages/core/src/runtime/session_runtime_helpers.test.tsminorcell commentedon Feb 11, 2026
Closing as fixed by f7e4056.
fix(core): use structured stderr logging for sink append failures (#140)