Give primitive provisioning fixture its own region
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m56s
Foundation / checks (deploy) (push) Successful in 3m36s
Foundation / checks (tsan) (push) Successful in 8m50s
Foundation / checks (checks) (push) Successful in 37m4s
Foundation / checks (postgres) (push) Failing after 39m46s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped

The primitive provisioning test provisioned world 7 region 87, which the
synthetic load suite provisions again later in the same disposable
cluster, failing with region_leases_pkey SQLSTATE 23505. Move it to the
unused region 89. Refresh the dev session window.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-12 13:02:44 -04:00
co-authored by Claude Opus 5.5
parent f77e4ea67f
commit b073ac7672
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -254,7 +254,7 @@ void provisioning_is_idempotent() {
void primitive_provisioning_is_explicit_and_profile_safe() {
using namespace evo::server;
using evo::biology::primitive_endowment;
const ServerRegion r{{7, 87}, fresh("primitive-provision-87")};
const ServerRegion r{{7, 89}, fresh("primitive-provision-89")};
const auto endowed = primitive_endowment();
CHECK(endowed);
evo::accounting::Inventory funding = endowed->body;
@@ -267,7 +267,7 @@ void primitive_provisioning_is_explicit_and_profile_safe() {
"--world",
"7",
"--region",
"87",
"89",
"--opening",
"primitive-v1",
"--pg-host",
@@ -319,9 +319,9 @@ void primitive_provisioning_is_explicit_and_profile_safe() {
const auto denied = run(env("EVO_PG_RUNTIME_USER"), 3, true, false, code);
CHECK(code != 0 && !has(denied, "provisioned "));
const auto first = run(env("PGUSER"), 3, true, true, code);
CHECK(code == 0 && has(first, "provisioned world=7 region=87 sequence=0 tick=0"));
CHECK(code == 0 && has(first, "provisioned world=7 region=89 sequence=0 tick=0"));
const auto retry = run(env("PGUSER"), 3, true, true, code);
CHECK(code == 0 && has(retry, "already-provisioned world=7 region=87 sequence=0 tick=0"));
CHECK(code == 0 && has(retry, "already-provisioned world=7 region=89 sequence=0 tick=0"));
const auto mismatch = run(env("PGUSER"), 4, true, true, code);
CHECK(code == 4 && has(mismatch, "provision refused existing profile/frame mismatch"));
const auto changed_opening = run(env("PGUSER"), 3, true, true, code, 1);