Add cellular checkpoint persistence calls
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (checks) (push) Failing after 40s
Foundation / checks (ecs) (push) Successful in 1m56s
Foundation / checks (postgres) (push) Failing after 49s
Foundation / checks (tsan) (push) Failing after 32s
Foundation / checks (network) (push) Failing after 3m0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (client) (push) Canceled after 4m23s

This commit is contained in:
dingo
2026-10-10 23:12:27 -04:00
parent e83a6393b9
commit ba97c41ad0
5 changed files with 91 additions and 0 deletions
+11
View File
@@ -183,6 +183,16 @@ void runtime_cannot_bypass_the_guard() {
CHECK(release_region_lease(*db, key, *lease, 5s));
}
void cellular_publisher_adapter_rejects_malformed_requests() {
auto db = runtime();
const std::vector<std::uint8_t> empty;
auto published = publish_cellular_checkpoint(*db, empty, empty, empty, 5s);
CHECK(failed(published, LeaseStoreError::invalid));
auto resolved = resolve_cellular_region_commit(*db, {1, 999}, id(0xC1), empty, empty, empty,
5s);
CHECK(failed(resolved, LeaseStoreError::invalid));
}
void acquire_renew_release_and_publish() {
auto admin = owner();
const auto key = provision(*admin, 20);
@@ -517,6 +527,7 @@ void measure_round_trips() {
void run_region_lease_store_tests() {
runtime_cannot_bypass_the_guard();
cellular_publisher_adapter_rejects_malformed_requests();
acquire_renew_release_and_publish();
database_time_expiry_and_paused_writer();
queued_writer_uses_post_lock_database_time();