QuizzifyTech

Bug library › Backend testing

Backend testing · Queue

Queue counts do not add up: 1,240 + 12 + 30 is not 1,250

P3 · MinorExperiencedQueue

Want to find it yourself first? This page gives away the answer. Play this bug on a fake app screen and see if you can spot it in three tries.

Spot this bug

The clue

The parts should add up to the whole.

Steps to reproduce

  1. Open the queue monitor for order-events
  2. Add processed, failed and waiting

Expected result

Received = 1,282, or the other counts are lower

Actual result

Received shows 1,250, so 32 messages are counted twice or lost

Why it matters

This is a minor (P3) bug. It does not stop anyone, but it looks careless and makes people trust the product less. It is usually fixed in a normal sprint.

Testing tip

Reconcile totals on every dashboard. Mismatched counts often point to duplicate processing or dropped messages.

How to find bugs like this

Backend bugs hide behind a screen that looks fine: jobs that run twice, retries that never stop, stale caches, reports that say success when nothing happened. When you test, try these checks:

  • Check that each action happens exactly once.
  • Look at logs, outboxes and job history, not just the screen.
  • Test what happens on a slow network, a retry and a double click.
  • Compare cached values with the source of truth.

More Backend testing bugs

See all 158 bugs