President Biden did not tell most of his staff until a minute before making an announcement to the world on social media on Sunday. Vice President Kamala Harris, whom Mr. Biden went on to endorse, also learned of his decision on Sunday.
Source