Audit an unfenced cellular helper instead of a fenced lookup
Foundation / checks (checks) (push) Successful in 4s
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 4s
Foundation / checks (network) (push) Successful in 5s
Foundation / checks (tsan) (push) Successful in 4s
Foundation / checks (deploy) (push) Successful in 3m30s
Foundation / checks (postgres) (push) Failing after 40m45s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped

postgres-check expected granting find_region_action_record to the
runtime role to fail the role audit, but migration 19 grants it and the
audit lists it as fenced, so the grant was a no-op and the audit passed.
Exercise the internal check_cellular_action_block validator instead,
mirroring the existing check_action_block case. Refresh the dev session
window.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-12 18:14:49 -04:00
co-authored by Claude Opus 5.5
parent bf5dcc7a6e
commit dfed25bda3
2 changed files with 4 additions and 2 deletions
@@ -12,7 +12,7 @@ spec:
env:
- {name: REGION_SESSION, value: "dev"}
- {name: REGION_SESSION_LISTEN, value: "0.0.0.0:7400"}
- {name: REGION_SESSION_WINDOW, value: "dev-20261012T202838-20650:1791838118"}
- {name: REGION_SESSION_WINDOW, value: "dev-20261012T221431-91960:1791844471"}
- {name: REGION_M10_MAX_GRANT_LIFETIME, value: "14400"}
ports:
# QUIC (ADR-0090): UDP only; nothing listens on TCP 7400.
+3 -1
View File
@@ -188,7 +188,9 @@ expect_audit_failure 'GRANT UPDATE ON evolution.probe_transfers TO evo_runtime_t
expect_audit_failure 'GRANT SELECT ON evolution.region_actions TO evo_runtime_test' 'REVOKE SELECT ON evolution.region_actions FROM evo_runtime_test'
expect_audit_failure 'GRANT SELECT ON evolution.region_commit_actions TO evo_runtime_test' 'REVOKE SELECT ON evolution.region_commit_actions FROM evo_runtime_test'
expect_audit_failure 'GRANT EXECUTE ON FUNCTION evolution.check_action_block(bytea, numeric, numeric) TO evo_runtime_test' 'REVOKE EXECUTE ON FUNCTION evolution.check_action_block(bytea, numeric, numeric) FROM evo_runtime_test'
expect_audit_failure 'GRANT EXECUTE ON FUNCTION evolution.find_region_action_record(evolution.u64,evolution.u64,uuid,evolution.u64,uuid,evolution.u64) TO evo_runtime_test' 'REVOKE EXECUTE ON FUNCTION evolution.find_region_action_record(evolution.u64,evolution.u64,uuid,evolution.u64,uuid,evolution.u64) FROM evo_runtime_test'
# Schema v19/v20: find_region_action_record is a granted fenced lookup; the cellular
# action-block validator behind publication is not.
expect_audit_failure 'GRANT EXECUTE ON FUNCTION evolution.check_cellular_action_block(bytea, numeric, numeric) TO evo_runtime_test' 'REVOKE EXECUTE ON FUNCTION evolution.check_cellular_action_block(bytea, numeric, numeric) FROM evo_runtime_test'
# Schema v29 mutation reservations and their publication history are fenced.
expect_audit_failure 'GRANT SELECT ON evolution.cellular_mutation_reservations TO evo_runtime_test' 'REVOKE SELECT ON evolution.cellular_mutation_reservations FROM evo_runtime_test'
expect_audit_failure 'GRANT SELECT ON evolution.cellular_mutation_action_publications TO evo_runtime_test' 'REVOKE SELECT ON evolution.cellular_mutation_action_publications FROM evo_runtime_test'