Travel while I485 is pending and re-enter on valid H1B

Hi ,

I have a valid H1B visa on my passport until Oct 31 2022. My I485 is pending, and have biometrics appointment tomorrow (9/9). I do not have EAD/AP.

I filed for H1B extension on Sep 1 in premium processing and hoping to hear an update by Sep 15.

Is it legal to travel after Sep 15 and return before Oct 31, without any impact to my pending I-485?.

thanks;