Keep clone SQLSTATE check within format width
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m53s
Foundation / checks (tsan) (push) Successful in 8m27s
Foundation / checks (client) (push) Successful in 13m50s
Foundation / checks (network) (push) Successful in 15m11s
Foundation / checks (postgres) (push) Failing after 24m19s
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 25m59s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m53s
Foundation / checks (tsan) (push) Successful in 8m27s
Foundation / checks (client) (push) Successful in 13m50s
Foundation / checks (network) (push) Successful in 15m11s
Foundation / checks (postgres) (push) Failing after 24m19s
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 25m59s
This commit is contained in:
@@ -668,8 +668,7 @@ int check_store(const Options& o) {
|
||||
std::printf("database version=%s user=%s ssl=%s\n", row[0].value_or("?").c_str(),
|
||||
row[1].value_or("?").c_str(), row[2].value_or("?").c_str());
|
||||
auto tables = (*db)->query("SELECT 1 FROM evolution.region_heads LIMIT 1", {}, timeout);
|
||||
const bool denied =
|
||||
!tables && std::string_view(tables.error().sqlstate.data(), 5) == "42501";
|
||||
const bool denied = !tables && std::string_view(tables.error().sqlstate.data(), 5) == "42501";
|
||||
auto head = persistence::load_region_head(**db, o.source.key, timeout);
|
||||
const bool reachable =
|
||||
head || head.error().kind == persistence::LeaseStoreError::not_provisioned;
|
||||
|
||||
@@ -7006,3 +7006,5 @@ next push.
|
||||
CI run #302 compiled that cellular change, then PostgreSQL clang-tidy found three unchecked primitive-provisioning optionals and a SQLSTATE `string_view` created without its fixed length in `apps/evo-world-clone/main.cpp`. The run failed before the dependent server-image and Harbor publication jobs could start. These four analyzer findings are now addressed; the next pushed run must validate them and publish the image.
|
||||
|
||||
CI run #303 stopped at the format gate on the SQLSTATE expression from the preceding fix, before reaching clang-tidy. The continuation is now laid out for clang-format; local clang-format is unavailable, so CI must verify formatting along with the analysis and Harbor publish gates.
|
||||
|
||||
CI run #304 rejected both wrapped layouts of the SQLSTATE expression at the formatting gate. The complete statement is now joined onto one line (within the configured 100-column limit); CI must confirm the exact formatter output.
|
||||
|
||||
Reference in New Issue
Block a user