A situation I once encountered was involving the fire marshal inspector. This was around 20 years ago, I was not the original EC for the new build but got called when they were having problems after the fact.
A new assisted living center had been built, presuming all inspections were finalized and the facility had been in operation for maybe a year or two when I got called. The problem arose when a similar facility with similar designs was being built in another town. Fire marshal noticed the recessed luminaires they were using in main corridors were open style housing and would allow passage of smoke through the ceiling and into the rather openly designed attic - which was done that way because of plumbing that run through that attic space so thermal insulation was on the underside of the roof instead of on top the ceiling.
This was back when luminaires containing CFL lamps was common. Fire marshal caught that issue with the luminaire at the other facility under construction and for whatever reason figured out he let them go at the facility in my town so he came back to investigate and sure enough they were the same luminaire. He said they can't have that. Eventually he allowed them to make a lens to place in the opening and passed that.
That lens blocked air flow and effected cooling and within a few months they started losing ballasts left and right.
I looked things over but kind of glad I never ended up getting involved and not sure what they ever did to resolve the issues. IMO they needed to be threating their designers more so than the installers over this one. From what I recall they called me because the original installer more or less refused to help with this problem. I was fairly new at contracting back then, but if similar had happened to me today I would probably be insisting on going after the design firm for resolutions.