I live in the USA and work in the software industry. I suffer from a chronic illness, and am considering undergoing major surgery that will leave me convalescent for 8-12 weeks. I am still pursuing alternative, less invasive treatment options. If I exhaust these alternatives, I will likely schedule for surgery a few weeks out.
I have no doubt that my disability leave will be approved and that my manager will be supportive, but I don't want to disrupt my team's workflow by heading a central part of the project then suddenly leaving for 3 months on a short notice. On the other hand, if I end up not needing the surgery, I don't want to be relegated to doing side projects.
Should I tell my manager that I may possibly take leave later in the year, or should I say nothing until I schedule the operation, similar to the 2-week notice period principle?