What do you do when a project is going to miss its deadline?
Raise it as early as you know, not when it becomes undeniable — the cost of a surprise is far higher than the cost of bad news. Come with options rather than just the problem: reduced scope, phased delivery, added capacity with its ramp-up cost, or a moved date, each with consequences spelled out. Then let the person who owns the trade-off decide.