Backend testing · Scheduler
Daily report scheduled for 09:00 IST runs at 03:30 IST
P2 · MajorIntermediateScheduler
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.
The clue
Compare each schedule with its next run time.
Steps to reproduce
- Schedule a job for 09:00 IST on a server set to UTC
- Check the next run time
Expected result
Next run: 09:00 IST
Actual result
Next run: 03:30 IST (09:00 was read as UTC and shifted)
Why it matters
This is a major (P2) bug. The feature still works in part, but users get wrong information or a broken step, and many will notice. It should be fixed before or soon after release.
Testing tip
03:30 IST is 09:00 minus 5½ hours. When a time is off by a time zone offset, look for a missing conversion.
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.