Compare migration deferral checks as text
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 4s
Foundation / checks (ecs) (push) Successful in 1m56s
Foundation / checks (deploy) (push) Successful in 3m29s
Foundation / checks (tsan) (push) Successful in 8m38s
Foundation / checks (checks) (push) Successful in 37m37s
Foundation / checks (postgres) (push) Failing after 41m14s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 4s
Foundation / checks (ecs) (push) Successful in 1m56s
Foundation / checks (deploy) (push) Successful in 3m29s
Foundation / checks (tsan) (push) Successful in 8m38s
Foundation / checks (checks) (push) Successful in 37m37s
Foundation / checks (postgres) (push) Failing after 41m14s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped
The primitive_life_bindings foreign key and evidence trigger checks selected a bare boolean, which libpq returns as "t", but compared it with "true" (region migration test line 216). Cast to text like every other check in the file. Refresh the dev session window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -213,13 +213,13 @@ void upgrade_across_migration_and_barrier() {
|
||||
"tools/migrate-postgres.sh\" > /dev/null") == 0);
|
||||
CHECK(history(*owner_db) == "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,"
|
||||
"25,26,27,28,29,30,31,32,33");
|
||||
CHECK(scalar(*owner_db, "SELECT c.condeferrable AND c.condeferred AND "
|
||||
"c.confrelid = 'evolution.region_commits'::regclass "
|
||||
CHECK(scalar(*owner_db, "SELECT (c.condeferrable AND c.condeferred AND "
|
||||
"c.confrelid = 'evolution.region_commits'::regclass)::text "
|
||||
"FROM pg_catalog.pg_constraint c WHERE c.conrelid = "
|
||||
"'evolution.primitive_life_bindings'::regclass AND "
|
||||
"c.conname = 'primitive_life_bindings_commit_id_fkey'") == "true");
|
||||
CHECK(scalar(*owner_db,
|
||||
"SELECT t.tgdeferrable AND t.tginitdeferred FROM pg_catalog.pg_trigger t "
|
||||
"SELECT (t.tgdeferrable AND t.tginitdeferred)::text FROM pg_catalog.pg_trigger t "
|
||||
"WHERE t.tgrelid = 'evolution.primitive_life_bindings'::regclass AND "
|
||||
"t.tgname = 'life_binding_publication_evidence' AND NOT t.tgisinternal") ==
|
||||
"true");
|
||||
|
||||
Reference in New Issue
Block a user