Skip to content

D78 · v1's re-approved repossessed drivers with an Approve row are approved, and those on Cuti or Suspend keep their stage

Accepted · 2026-10-27 · zuki · Closes #310 · Partly supersedes D73 (its third row, the 24 with no car) · Partly superseded by D82 (the cancelled Approve rows are for every driver on leave or suspended)

Decision: The data phase's drivers step maps D73's third row, a v1 driver with a repossession who isn't Blacklist and has no car in v1 today, by his v1 status and his onboarding row:

v1 Drivers on the copy, 2026-10-22 v2 stage His v1 onboarding row in Approve
Re-approved ("Aktifkan Kembali"): Aktif / Approve, or Aktif / Repo / Approve, with an onboarding row in Approve 19 approved The pending rental D69 gives it
On Cuti or Suspend, with an onboarding row in Approve 5 The stage v1's Cuti and Suspend map to: on_leave and suspended cancelled, and the reconcile lists the driver and the row by v1 id
A repossession, not Blacklist, no car and no onboarding row in Approve 0 inactive, as D66 and D73 say —

The counts describe the v1 copy on the day. The step applies the rule to whatever v1 holds on the night it runs. D73's other rows are unchanged.

Why:

  • The 19: zuki on #281 (2026-10-22, 10:57), "(ii) keep the pending": v1's re-approval counts as the rejoin D66 asks for. D73 merged the same day without that answer and kept them inactive. An inactive driver holding a live pending rental (D67, R-RNT-21) contradicts D66, so the drivers step couldn't follow both (#310, raised by BE).
  • The 5: zuki on #310 (2026-10-27), "go with (a)". A driver on leave or suspended shouldn't hold a live rental that lets him book a car. Reading their Approve row as approval would drop v1's leave and suspension, and a suspended driver could book a car on the first Monday after cutover. They come back the normal way, through a rejoin request (R-DRV-33).

Consequences:

  • The rules (DOC): R-DRV-37's first example changes. A re-approved driver with an Approve row is approved with his pending rental. One on Cuti or Suspend keeps on_leave or suspended, and his Approve row loads as cancelled. inactive stays for a repossessed driver with no live onboarding row. The rentals step's rules say that an Approve row whose driver is on leave or suspended loads as cancelled, an exception to D69.
  • No schema change. cancelled already holds no car (rentals_car_unless_pending). The reason it came from v1 is the reconcile's line for each of the 5, by v1 id, not a new column.
  • The reconcile (D18) counts this group as 19 approved with one pending rental each, and 5 in on_leave or suspended with one cancelled rental each. zuki reviews the 5 before cutover and signs them.
  • The drivers and rentals steps (#281, #302) follow this table. Until it merges, the drivers step writes the 5 as unmatched rows (R-MIG-04), so it runs either way.
  • Unchanged: D73's rows for the 299 blacklisted, the 310 Resign leads closed for Repo, and the 46 with a car. max_repossessions still counts rentals ended as repossessed (D66).