The event pipeline is lying to us.
The event pipeline is lying to us.
Production logs show the pipeline printing "All events processed successfully", and yet downstream jobs keep finding missing or half-written results in output.json. Retries that should absorb transient handler failures seem to give up immediately, and the queue's own statistics don't reflect the work that was actually done.
Support has started manually re-running events because the platform can't be trusted to say what happened.
Make the pipeline's behavior match its claims. Work in src/services/ and src/utils/. The demo entry point (src/index.ts) simulates handlers with randomness and is not the problem.
The visible suite in tests/visible/ encodes the expected behavior. Think about what "processed" should mean: results returned, queue stats updated, and storage written, all of it complete before the pipeline says it's done.
Constraints:
Error (callers use .message).Adapted from DevStudio-AI/autonomous-software-debugging-benchmarks (evaluation set), upstream license: none declared, internal use pending permission.
Visible test command
npx --no-install jest --ci --coverage=false --testPathPattern=tests/visibleThe repository’s own tests. Run all tests includes them, and so does every submission.
Repository
event-pipeline-lies-about-completion
Changes under src/ are evaluated.