Similar situation
My wife and I have had a recent similar situation. They turned her at the border to Canada. She was told since she has a pending I-130, she had essentially declared her intention to immigrate and therefore cannot come in without a visa. She had to get an entry visa before...