Add cellular replay trace and recovery lookup
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (checks) (push) Failing after 41s
Foundation / checks (postgres) (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 0s
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 1m46s
Foundation / checks (network) (push) Canceled after 1m9s
Foundation / checks (ecs) (push) Canceled after 1m38s

This commit is contained in:
dingo
2026-10-10 23:16:46 -04:00
parent ba97c41ad0
commit 2133e5086e
17 changed files with 546 additions and 10 deletions
+12
View File
@@ -193,6 +193,17 @@ void cellular_publisher_adapter_rejects_malformed_requests() {
CHECK(failed(resolved, LeaseStoreError::invalid));
}
void cellular_action_block_load_is_lease_fenced_and_optional() {
auto admin = owner();
const auto key = provision(*admin, 11);
auto db = runtime();
auto lease = acquire_region_lease(*db, key, build, 5s, 5s);
CHECK(lease);
auto absent = load_cellular_publication_actions(*db, key, *lease, id(0xF9), 5s);
CHECK(absent && !*absent);
CHECK(release_region_lease(*db, key, *lease, 5s));
}
void acquire_renew_release_and_publish() {
auto admin = owner();
const auto key = provision(*admin, 20);
@@ -528,6 +539,7 @@ void measure_round_trips() {
void run_region_lease_store_tests() {
runtime_cannot_bypass_the_guard();
cellular_publisher_adapter_rejects_malformed_requests();
cellular_action_block_load_is_lease_fenced_and_optional();
acquire_renew_release_and_publish();
database_time_expiry_and_paused_writer();
queued_writer_uses_post_lock_database_time();