From 9b7e3b4fca308f5d69080598d4bb6799ae60731b Mon Sep 17 00:00:00 2001 From: dingo Date: Sun, 11 Oct 2026 13:34:14 -0400 Subject: [PATCH] Format PostgreSQL parser return --- docs/engineering/VALIDATION.md | 5 +++++ src/persistence/region_lease_store.cpp | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/engineering/VALIDATION.md b/docs/engineering/VALIDATION.md index d424bcf..7bec4c5 100644 --- a/docs/engineering/VALIDATION.md +++ b/docs/engineering/VALIDATION.md @@ -6935,3 +6935,8 @@ The affected action-record, migration-record, commit-status, publication-action, and life-owner parsers now use safe optional defaults or checked copies; missing mutation input retains its prior absent-value behavior. The PostgreSQL job failed on these analyzer diagnostics, so the dependent image jobs did not start. +Run #293's main checks job stopped at format-check before compilation because the +new optional-return expression wrapped at line 499. It has been kept on one +line to follow the 100-column clang-format configuration. PostgreSQL analysis +continued independently, but was superseded before completion by the format fix +push so the full matrix could rerun on one commit. diff --git a/src/persistence/region_lease_store.cpp b/src/persistence/region_lease_store.cpp index 10ce06a..cda6d18 100644 --- a/src/persistence/region_lease_store.cpp +++ b/src/persistence/region_lease_store.cpp @@ -496,8 +496,7 @@ load_cellular_publication_actions(Postgres& db, RegionKey key, const LeaseGrant& auto actions = unhex_bytes((*rows)[0][0].value_or(std::string{})); if (!actions) return std::unexpected{malformed(false)}; - return std::optional>{ - actions.value_or(std::vector{})}; + return std::optional>{actions.value_or(std::vector{})}; } std::expected, LeaseStoreFailure>