x/build/cmd/coordinator: give buildlets access to suspend themselves for N seconds #36105
Watching the debugging in #35482 (including people running out to buy laptops), I realize we could probably provide some help in the build system.
GCE VMs support suspend:
So we could have the coordinator do that
I figure we'd pass an environment variable to tests containing a URL containing a secret build-specific secret, and tests could hit that URL with a
We'd need to also suspend the buildlet health checking on the coordinator side so they don't fail health checks and get killed.
This would permit writing unit tests that test program time vs real time, at least in longtest mode.
The text was updated successfully, but these errors were encountered: