How to manage new ideas coming at late stages of PhD I have started writing my thesis, to be finished in the next coming months. Basically, I am revisiting my early papers and reviewing the problems that I solved three years ago to put in my paper. However, I come across some of new ideas, which I did not have before, because my knowledge was very limited. For instance, I recently solved a problem that I had struggled with for a few weeks, back in my first year. Is it wise to make an attempt to publish these ideas, while I am writing my thesis or I should just stop everything and focus on the thesis first?

The reason that I am thinking too much about it, is a particular alumni of our school, who was working on lots of different ideas while writing the thesis and ended up with rescheduling his thesis submission several times.

To be pragmatic, it is very unlikely that I get these results to appear in my thesis, as the whole process of experimenting, writing and peer-review process might take a while.
I would say based on my opinions and experience that no-one cares about the Thesis.

The Thesis is a set of publications that must be about the same topic. Your publications will be the ones cited, not the Thesis. The Thesis will be only found somewhere in the university archives, while the publications will the visible part of your work you are evaluated upon.

Thus I think that the Thesis should be pushed to the finish line.

EDIT: The form of Thesis may vary, so it is noteworthy that especially in arts and humanities, the Thesis may be a coherent piece of work. Then the Thesis can be evaluated as a whole.