Expiring Visa and transferring

Having an adjustment of status is a status though, my question is what happens if your application isn’t actually in by the time your visa expires? When are you actually filing? Why not yesterday for example? When was your f1 application filed? It seems to me you risk being an overstay…