Skip to content

D54 · A driver's clearance reads the latest check of each kind

Accepted · 2026-10-16 · zuki · Closes OQ7

Decision: v_driver_clearance reads only the latest virtual check and the latest visit check of each driver. An older check, passed or failed, no longer decides the clearance.

Why: The higher-ups agreed with the fix on OQ7. With both checks opened at payment (D42) and visits that can follow a failed virtual check, a driver often has several checks of one kind.

Consequences: The view changes in M3, with a pgTAP test that an old passed check doesn't clear a driver whose latest check failed, and the other way round.