>> California treats ancestry as a protected class, and discrimination by ancestry is illegal. Not being a Desi, I struggle to see how this is not already covered.
It is covered, but not enforced because evidence is difficult. Caste discrimination in Silicon Valley is usually about putting someone from a lower caste into an impossible project that is destined to fail, and boom...now you've got your PIP quota ready for the coming season.
The insane cases you hear are the egregious cases that are court-worthy.