Jeff Wang got a big promotion last month. There were lots of tears, but not the happy kind.

The 39-year-old was unexpectedly named interim CEO of artificial intelligence coding startup Windsurf. The company had been in discussions with OpenAI about a potential acquisition that would have resulted in a handsome payday for many employees. But the talks fell apart and, on July 11, several founders and top researchers instead left to join Google as part of a $2.4 billion licensing deal .

As one of the highest-ranking executives remaining at Windsurf, Wang was elevated to the top job, at least for the time being. His first order of business, he told CNBC, was to break the news at a tense all-hands meeting at the startup's Silicon Valley headquarters.

"It was a very, very chal

See Full Page