Unfortunately, it would still be illegal for anyone that has a job where your going to be tested no matter what California may do at a state level.
If the Federal government wanted to play hard ball, and I am surprised that they have not yet, any and all federal funding could be at risk that goes to CA.
Its what happened to LA years ago when the state was reluctant in changing the minimum drinking age to 21 for so many years and nearly lost federal funding for roads etc. etc.