f2 to h4 cos, while primary h1 is still pending

Hi, I am f1 opt , my employer filed my h1b on 1st April, 2018. COS for f2 to h4 was not filled for my wife at that time. Now my h1b got RFE and they are responding to it. but there is a good chance that I won’t approval/denial decision before October 1st, 2018. (my opt expires may 2019). 1). Will my wife be out of status on oct 1st, 2018 or on approval of my h1b, as my f1 terminates.2). Can I apply for COS for f2 to h1 with Form I-539, while my h1b is still pending?Any help would be life-saving, thanks.

hey did u get any response?