I experienced this -
I filed for naturalization based on 4 years GC + marriage. I applied before I filed for divorce - December '20;
Divorce was official in August '21; went to my interview as normal in November '21. Passed all the questions except when they asked if I was married.
They denied my application since I had submitted it under the 4-year-marriage eligibility. The immigration officer/interviewer said I wasn't in trouble or anything, but since I'm divorced now I have to refile under the 5-year-residential eligibility. I waited a while, reapplied, and am going for my next interview in a couple of weeks. I don't foresee a problem with this one... but the last one was pretty devastating.
There really wasn't any way around it. He told me it's better that I didn't lie/try to skirt around it because if they found out I'd likely be banned from applying again for a few years, if ever.
If you have your GC and can wait until you reach your 5 year GC mark, I'd do that. Definitely don't postpone your divorce unless it's reaaaallllllly amicable. And if it comes up in the interview, just cite "irreconcilable differences".
*Edit: I was not aware that there was a divorce waiver.
**Edit: Also, I'm not sure if you're still on conditional GC so my advice may be useless, but may could help someone at some time.
Good luck with everything. It's painful enough ending a relationship. The time and anxiety and expenses that come with the immigration stuff just makes it more difficult, but it's worth it.