Skip to content

D82 · An Approve row whose driver is on leave or suspended loads as cancelled, for every driver and not only a repossessed one

Accepted · 2026-10-29 · zuki · Partly supersedes D78 (its scope: the 5 repossessed drivers) and D69 (Approve is pending whatever the driver's stage) · Partly superseded by D83 (every driver stage that is not approved)

Decision: The rentals step loads a v1 onboarding row in Approve as a cancelled rental, not a pending one, whenever the drivers step put its driver on on_leave or suspended. It does not matter whether the driver was repossessed. D78 decided the 5 repossessed drivers on Cuti or Suspend; this decision gives every other driver the same answer. A driver on Resign, a blacklisted driver and a driver the drivers step left inactive are not changed by it.

Why:

  • zuki, 2026-10-29, on #302: "(a)", to the CTO's question after the first run of BE-DP-36 loaded 297 cancelled rentals where the rule's example said 5: 275 drivers on on_leave and 22 on suspended.
  • D78's reason applies to all of them: a driver on leave or suspended shouldn't hold a live rental that lets him book a car, and reading his Approve row as approval would drop v1's leave and suspension. The 292 were never decided because D78 looked only at repossessed drivers.
  • The step already does this: R-RNT-33 was written for any driver the drivers step put on on_leave or suspended, and the code follows it. Its example counted only D78's 5.

Consequences:

  • The rules (DOC): R-RNT-33's example and counts say 297 on the copy of 2026-10-29 (275 and 22), with D78's 5 among them; R-RNT-52's counts follow. Nothing else in the rule changes.
  • The reconcile lists each cancelled row by the driver's and the row's v1 id (D18, rentals cancelled), and zuki signs them before cutover. 297 lines is the expected count on the copy, not an error.
  • They come back the normal way, through a rejoin request (R-DRV-33).
  • The old-data rows (R-RNT-64) load no rental at all, so a driver of that class who is on leave has no cancelled row either.
  • No schema change, no new code: the step already loads them. BE's test cites R-RNT-33's new count.
  • Unchanged: D69 for a driver who is not on leave or suspended; D78's approved for the 19 re-approved drivers.