kingRayhan
Investigation update + fix in progress
Symptom (Lubna, FD-20249178-358 @ ~5:39 PM)
- Got 2–3 push notifications (
New Delivery Order) - Rider app Job Radar showed empty —
Total delivery pending (0) - Screenshot matches: notifications received, no job in list
Root cause — Rider API, not rider app UI
Job Radar uses GraphQL myJobs. The query only returned:
- Deliveries assigned to the rider, or
- Invites where status =
NO_RIDER_FOUND
But auto-dispatch push alerts fire during FINDING_RIDER (normal onboarding). That status was excluded from myJobs, so the API returned [] while notifications were sent.
Prod evidence for FD-20249178-358:
- Lubna in
requestReceivedByRiders✓ - Notifications at 11:39 & 11:43 UTC ✓
myJobscount = 0 (status wasFINDING_RIDER→ laterTIMEOUT)- Order ended TIMEOUT, never assigned
Fix
PR: https://github.com/graphland-dev/dinebd__api.rider/pull/56
Add a third myJobs branch:
status = FINDING_RIDER AND lastOnBoardingRiderId = current rider
This shows the active invite in Job Radar for the ~40s onboarding window — matching when push is sent.
After deploy — re-test
- [ ] Lubna app open, location + notifications on
- [ ] Yemon Kitchen test order → Job Radar should show job when push arrives
- [ ] Accept from Job Radar without manual assign