feat: non-flakes entrypoint #23

Open
raito wants to merge 17 commits from non-flakes-rerun into main
Showing only changes of commit e3399e5d3b - Show all commits

View file

@ -496,9 +496,13 @@ class NixConfigure(buildstep.CommandMixin, steps.BuildStep):
self.observer = logobserver.BufferLogObserver()
self.addLogObserver("stdio", self.observer)
@defer.inlineCallbacks
def run(self) -> Generator[Any, object, Any]:
configure_log: Log = yield self.getLog("stdio")
try:
configure_log: Log = yield self.getLog("stdio")
except Exception:
configure_log: Log = yield self.addLog("stdio")
# Takes precedence.
configure_log.addStdout("checking if there's a .ci/buildbot.nix...")