Format cellular publication diagnostics
Foundation / checks (deploy) (push) Successful in 6s
Foundation / checks (ecs) (push) Successful in 1m58s
Foundation / checks (tsan) (push) Successful in 8m55s
Foundation / checks (client) (push) Successful in 13m17s
Foundation / checks (network) (push) Successful in 15m14s
Foundation / checks (postgres) (push) Failing after 34m1s
Foundation / checks (checks) (push) Successful in 38m3s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped

This commit is contained in:
dingo
2026-10-11 22:41:40 -04:00
parent db7c786a2e
commit 276f0c349e
2 changed files with 6 additions and 8 deletions
+4 -6
View File
@@ -300,8 +300,7 @@ CellularRegionHost::publish(const CellularBatch& batch,
const auto grant = authority_.grant();
if (!status_.ready || !state_ || !committed_ || !grant ||
!authority_.may_begin_commit(LeaseClock::now()))
return std::unexpected{
CellularPublishFailure{CellularHostError::not_ready, {}, {}, {}}};
return std::unexpected{CellularPublishFailure{CellularHostError::not_ready, {}, {}, {}}};
auto candidate = replay_cellular_batch(*state_, batch);
if (!candidate)
return std::unexpected{
@@ -335,10 +334,9 @@ CellularRegionHost::publish(const CellularBatch& batch,
status_.ready = false;
++status_.fences;
}
return std::unexpected{CellularPublishFailure{CellularHostError::publication,
published.error().kind,
published.error().store,
published.error().object}};
return std::unexpected{
CellularPublishFailure{CellularHostError::publication, published.error().kind,
published.error().store, published.error().object}};
}
state_ = std::move(*candidate);
committed_ = published->committed;