Skip to content
Jobless Busters
Guided reviewIntermediate15–25 min

Find the bugs in a queue consumer

Task: read queue.bad.ts. The program can restart, and a message can come back a second time. Say what can go wrong and what you'd fix first.

Tests: code review and understanding repeats.

This is a code-reading exercise — it isn't run. Write your notes in the editor as comments, then compare them with the checklist.

Follow-up: what about success followed by a crash before acknowledgement?

  • Find bugs in asynchronous handling
  • Recognise problems with a repeated message
  • Propose an order of fixes

Source: AI & Agents — practice tasks — An exercise written for the study programme, not a confirmed interview task.

Not run automatically — compare with the checklist

Tab indents · Esc, then Tab, leaves the editor · Your code is saved in this browser.

Self-review checklist
0 of 5 checked

Stuck? Hints go from gentle to specific.

Give it a real try first — the solution is most useful after you've struggled a bit.