queue-core: Redis Streams implementation

- Redis Streams implementation with consumer groups (ade-workers)
- Task interface with serialization/deserialization
- Worker with heartbeat (5s) and task claiming
- Retry logic with exponential backoff and jitter
- Delayed task support via Sorted Sets
- Dead worker reclamation (30s timeout)
- Unit tests: 26 passing
- TypeScript compilation successful
This commit is contained in:
Ani (Annie Tunturi)
2026-03-18 10:46:27 -04:00
parent 00382055c6
commit 02384e7520
8 changed files with 1824 additions and 0 deletions

13
jest.config.js Normal file
View File

@@ -0,0 +1,13 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
roots: ['<rootDir>/tests'],
testMatch: ['**/*.test.ts'],
collectCoverageFrom: [
'src/**/*.ts',
'!src/**/*.d.ts',
],
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1',
},
};