T-16: M0.1b — Make repo-wide bun test green: fix queue, shutdown-signal and research-workflow test failures

This commit is contained in:
Studio 2026-11-27 12:01:06 -05:00
parent 890761e0d5
commit 9c4e87cdfd
17 changed files with 366 additions and 266 deletions

View file

@ -99,6 +99,14 @@ export class QueueManager {
this.ioredisConnection = deps?.createRedis
? deps.createRedis(ioredisOptions)
: new Redis(ioredisOptions);
if (typeof this.ioredisConnection.on === 'function') {
this.ioredisConnection.on('error', error => {
this.logger.error('QueueManager Redis connection error', {
service: this.serviceName,
error,
});
});
}
// Rate limiter will be initialized when rules are added dynamically
// No longer initialized from config