Join our community: https://t.me/+DOylgFv1jyJlNzM0
Why this matters
logger.ts uses AsyncLocalStorage (requestContext) to attach requestId to log lines, but background timers in soroban-event-worker.ts and sse.service.ts are not wrapped in requestContext.run, so their log lines never carry a correlation id even after the related admin fix for HTTP requests.
Acceptance criteria
Files to touch
backend/src/logger.ts
backend/src/workers/soroban-event-worker.ts
backend/src/services/sse.service.ts
Out of scope
Does not change the AsyncLocalStorage implementation itself.
Why this matters
logger.ts uses AsyncLocalStorage (requestContext) to attach requestId to log lines, but background timers in soroban-event-worker.ts and sse.service.ts are not wrapped in requestContext.run, so their log lines never carry a correlation id even after the related admin fix for HTTP requests.
Acceptance criteria
Files to touch
backend/src/logger.tsbackend/src/workers/soroban-event-worker.tsbackend/src/services/sse.service.tsOut of scope
Does not change the AsyncLocalStorage implementation itself.