I just looked this up, and found something about the H1B cap gap extension.
https://internationalcenter.umich.edu/students/f1-students/c...
Is that what you are referring to?
The reason I ask is because it seems to me that the cap gap extension only allows staying until Sept 30, not until the petition is approved (my petition was approved in november).
Thanks!