Fix M10 timing trace failure handling
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m1s
Foundation / checks (postgres) (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (checks) (push) Canceled after 6m59s
Foundation / checks (network) (push) Canceled after 4m46s
Foundation / checks (client) (push) Canceled after 7m4s

This commit is contained in:
dingo
2026-10-03 21:43:15 -04:00
parent 7956143cd8
commit db19e0bb85
3 changed files with 47 additions and 8 deletions
+1 -1
View File
@@ -358,10 +358,10 @@ int trace(const Args& a) {
sample.result = ms(now);
sample.status = static_cast<int>(e.result.status);
if (e.result.status != IntentStatus::admitted) {
++resolved;
std::printf("trace rejected sequence=%llu status=%u\n",
static_cast<unsigned long long>(e.sequence),
static_cast<unsigned>(e.result.status));
return failed("intention rejected");
}
} else if (e.kind == Kind::outcome) {
auto& sample = samples[e.sequence - 1];