1. General purpose: Typical FANG like where hire first and then do team matching later
2. Targeted hiring: Companies want specific people and they try to recruit them
A sizable number of top open-source contributors get recruited are in #2. Eg. 1) Top contributors in Rust lang hired by AWS. 2) FANG companies targeting top AI researchers from academia.
One's open-source presence needs to be really prolific and the project has to make an large impact to be in #2 category.
For #1 category folks, your public profile does not matter that much (atleast for FANG companies)
Other way to think is #1 are treated as cattle, #2 are treated as pets.
The famous incident where author of homebrew was rejected by a top company because he could not invert a binary tree got in the wrong channel (#1) to begin with where he was treated as a cattle.
Note: Recruiter from FANG calling you still goes in #1 category for most people