It's hard to tell. Once my friend told me that
he went back to China right after filing I-140. When he applied for F-1 visa in the US embassy, he did not tell the truth about his I-140, and he still got his F1 visa approved. Sounds to me that the US embassy does not have the access to all the information.