Renting Apartment with Active Building Permit (CA)

My wife and I recently moved into a new apartment. It was advertised as "Newly Renovated" but since our first day there, we have had nothing but maintenance issues. I checked with the City and found out that there has been an active building permit for the renovation work since before I moved in. In addition, the City has not issued a certificate of occupancy (finalized the work) for the building I am in.

I'm curious if this would void my lease? My thought is if the City has not issued a certificate of occupancy for the active building permit, then the building should be deemed as substandard due to the fact none of the renovation work has been signed off by the regulating agency.

Just looking for any clarity on this situation. I know California Housing Law is supposedly "renter friendly", but I can't seem to find anything that mentions this.