diff --git a/apps/evo-world-clone/main.cpp b/apps/evo-world-clone/main.cpp index fe9a6ca..1da0b91 100644 --- a/apps/evo-world-clone/main.cpp +++ b/apps/evo-world-clone/main.cpp @@ -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; diff --git a/docs/engineering/VALIDATION.md b/docs/engineering/VALIDATION.md index f637f47..87840b1 100644 --- a/docs/engineering/VALIDATION.md +++ b/docs/engineering/VALIDATION.md @@ -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.