Today, we're releasing updates that will optimize prebuilding codespaces for your repositories. With these updates, as long as there is an active prebuild for a given repository, branch, and devcontainer combination, you will be able to spin up prebuilt codespaces for it, even if the latest prebuild workflow for that branch might be failing. This ensures fast codespace creation most of the times regardless of any breaking changes that may be adversely affecting the latest prebuild update.
Repository admins will have the option to disable this optimization if needed by going to their prebuild configuration page under advanced options.
For more information, see Configuring prebuilds for your repository.
If you have any feedback to help improve this experience, be sure to post it on our discussions forum.