سامانه صدور فاکتور و حسابداری
audit/wp0-hardening-baseline-20261102
audit-remediation-wave3-4-20261002
audit-remediation-wave3-verify-20261002
audit-remediation-wave4-20261002
audit-remediation-wave4b-20261002
audit-remediation-wave5a-identity-20261002
audit-remediation-wave5b-offboarding-20261002
audit-remediation-wave5c-authorization-20261002
audit-security-intent-review-20261002
audit/finora-financial-core-20261115
audit/finora-master-prompt-phase0-20261016
audit/finora-stage3-legacy-source-readonly-20261023
audit/full-controls-20261030
audit/owner-live-state-reconcile-20261012
audit/owner-review-20261007
audit/phase1-live-permissions-readonly-20261013
audit/reconcile-live-state-20261006
audit/reconcile-state-20261002
audit/wp0-hardening-baseline-20261102
branding-login-favicon-20261002
c8-workflow-task1
c8-workflow-task2
c8-workflow-task3
chore/wave0-pages-gate-closeout
claude-code-plugins-setup
design/finora-c01-authoritative-source-draft-20261124
docs-wave4b-verified-20261002
docs/active-company-invoice-release-evidence-20261014
docs/agent-operating-model-20261114
docs/chart-taxpayer-release-evidence-20261004
docs/cloud-only-agent-orchestration-20261115
docs/confirm-finora-product-charter-20261115
docs/continuation-20261030
docs/d4a-verified
docs/external-work-review-20261121
docs/finora-audit-continuity-20261014
docs/finora-backup-merge-evidence-20261014
docs/finora-ci-reconciliation-20261122
docs/finora-codex-master-prompt
docs/finora-eight-phase-plan-20261011
docs/finora-f002-live-buyer-filter-verified-20261015
docs/finora-license-race-release-evidence-20261014
docs/finora-license-rollout-acceptance-20261015
docs/finora-phase0-repeat-and-pages-nav-verified-20261015
docs/finora-phase0-repeat-evidence-20261015
docs/finora-selectors-release-and-fixture-qa-20261015
docs/finora-stagea-pr240-ci-triage-20261123
docs/finora-test-license-live-pass-20261015
docs/finora-v2-m01-coverage-20261124
docs/handoff-charter-v2-20261124
docs/invoice-product-search-release-20261011
docs/invoice-workspace-release-20261007
docs/phase-status-20261031
docs/phase0-acceptance-release-evidence-20261012
docs/phase0-admin-provision-release-evidence-20261012
docs/phase0-core-bundle-owner-login-open-20261013
docs/phase0-duplicate-js-release-20261016
docs/phase0-f001-auth-rest-shared-timeout-20261013
docs/phase0-f001-owner-login-observed-20261013
docs/phase0-f001-second-device-fail-40s-20261013
docs/phase0-f003-release-verification-20261011
docs/phase0-f004-print-release-evidence-20261012
docs/phase0-f004-watermark-release-evidence-20261012
docs/phase0-f005-large-selector-release-20261012
docs/phase0-f005-release-evidence-20261012
docs/phase0-f006-dark-release-evidence-20261012
docs/phase0-f008-final-pr-closure-evidence-20261012
docs/phase0-f008-reconcile-stale-prs-20261012
docs/phase0-f107-production-evidence-20261012
docs/phase0-kavenegar-otp-preflight-release-20261012
docs/phase0-login-release-evidence-20261012
docs/phase0-login-rest-bootstrap-stage-release-20261012
docs/phase0-owner-app-assets-bundle-release-20261013
docs/phase0-owner-login-csp-release-20261012
docs/phase0-reconcile-postmerge-evidence-20261012
docs/phase0-site-probe-release-evidence-20261012
docs/phase0-startup-release-evidence-20261012
docs/phase3-treasury-release-evidence-20261014
docs/pilot-posted-correction-release-evidence-20261014
docs/pilot-purchase-correction-release-evidence-20261014
docs/print-persian-release-verification-20261011
docs/qa-ci-triage-218-20261122
docs/real-account-qa-20261030
docs/release-state-20261007
docs/seamless-amendment-release-20261014
docs/seamless-document-correction-release-20261014
docs/settings-login-release-20261025
docs/stripe-qa-deployment-evidence-20261011
docs/ux-f2-release-evidence-20261011
docs/ux-f2-release-verification-20261011
docs/wave0-closeout
docs/wave2-closeout
exec-phase1-architecture
exec-phase1-implementation
exec-phase1-qa
exec-phase1-security-release
exec-phase1-ux
feat/accounting-document-draft-approval-20261011
feat/accounting-document-release-candidate-20261011
feat/active-company-strict-isolation-20261014
feat/admin-provisioning-reconciled-20261011
feat/admin-secure-user-provisioning-20261011
feat/admin-user-provisioning-merged-20261011
feat/d4a-request-work-queue
feat/document-lifecycle-atf-20261118
feat/document-lifecycle-temp-permanent-atef
feat/draft-first-attachment-lifecycle-216
feat/finora-offline-encrypted-backup-20261014
feat/finora-phase-a-navigation-20261023
feat/finora-stripe-sandbox-edge-gate
feat/immutable-attachment-temporary-vouchers
feat/iran-accounting-design-audit
feat/journal-document-lifecycle-20261118
feat/journal-rpc-repository-adapter-20261117
feat/office-c7-fulltext-ocr-provenance
feat/password-recovery-admin-reset-20261025
feat/pilot-expense-income-inplace-amendment-20261014
feat/pilot-journal-invoice-correction-20261014
feat/pilot-purchase-correction-20261014
feat/pilot-treasury-unallocated-correction-20261014
feat/retain-document-editor-after-save-20261014
feat/seamless-financial-document-correction-20261014
feat/slice-b-tenant-rbac
feat/stripe-sandbox-invoice-probe
feature/accounting-core-p0
feature/accounting-product-guidance
feature/admin-identity-phone-auth
feature/commercial-rnd
feature/finora-phase1a-supabase-cli-20261016
feature/finora-stage2-manual-canary-20261017
feature/finora-stage3-commercial-payload-20261023
feature/finora-stage3-enforce-invoice-rpc-20261023
feature/finora-stage3-enforce-purchase-red-20261023
feature/invoice-workspace-cleanup
feature/phase0-kavenegar-otp-preflight-20261012
feature/ux-commerce-settings-r2
fix-shell-scroll-live-cache-20261002
fix-shell-scrollbar-explicit-ownership-20261002
fix-shell-scrollbar-ownership-20261002
fix-shell-scrollbar-right-edge-20261002
fix/about-bug-report-20261114
fix/active-company-invoice-scope-20261014
fix/active-company-isolation-reconcile-20261014
fix/admin-central-password-reset-20261028
fix/auth-network-diagnostics
fix/chart-taxpayer-reference-20261003
fix/combobox-enter-reliability
fix/combobox-live-search
fix/combobox-production-cache
fix/combobox-release-asset-v2
fix/company-edit-action-20261028
fix/company-edit-pilot-delete-20261014
fix/company-form-action-state-20261014
fix/company-form-action-state-rebased-20261014
fix/contact-operational-balance-20261111
fix/dark-theme-contrast
fix/financial-lifecycle-recovery-20261124
fix/finora-accounting-test-organization-readiness-20261015
fix/finora-b01-safe-org-switch-20261124
fix/finora-b02-sync-recovery-20261124
fix/finora-b03-conflict-review-20261124
fix/finora-org-license-bootstrap-race-20261014
fix/finora-stage3-posted-source-immutable-20261023
fix/finora-v2-b03-r2-qa-20261124
fix/finora-v2-b03-r3-readonly-20261124
fix/g01-asof-financial-position-20261128
fix/invoice-product-search-rehydrate-20261011
fix/invoice-search-cache-bust
fix/issue229-linked-draft-status-20261122
fix/login-assets-retry-20261014
fix/login-inert-startup-20261110
fix/login-member-access-20261101
fix/login-resilience-20261017
fix/login-short-viewport-20261028
fix/login-startup-readiness-20261024
fix/navigation-utilities-placement-20261105
fix/office-c7-source-ref-binding
fix/office-c7-source-ref-binding-v2
fix/owner-login-network-20261026
fix/password-recovery-invalid-cancel-20261026
fix/payment-amount-format-20261111
fix/phase0-admin-provision-seat-bootstrap-20261012
fix/phase0-auth-bundled-assets-for-unstable-isp-20261013
fix/phase0-auth-handler-binding-stalled-session-20261012
fix/phase0-login-context-stage-visibility-20261012
fix/phase0-login-single-local-bundle-20261013
fix/phase0-login-site-probe-clarity-20261012
fix/phase0-login-ui-ready-20261012
fix/phase0-modal-dashboard-drill-20261011
fix/phase0-pages-blocking-core-bundles-20261013
fix/phase0-print-no-draft-watermark-20261012
fix/phase0-startup-parallel-asset-load-20261012
fix/phase3-behavioral-verification
fix/preserve-pending-edits-20261121
fix/print-persian-digit-consistency-20261011
fix/recovery-login-startup-20261027
fix/report-opening-balance-release-20261130
fix/settings-checkbox-persistence-20261024
fix/taxpayer-arithmetic-20261004
fix/ux-keyboard-search-f2-20261011
fix/wave2-request-input-integrity
hardening/c01-source-draft-20261129
hardening/global-draft-conversion-20261113
hardening/wp1-ledger-integrity-20261102
integration/finora-execution-20261124
integration/issue229-ui-qa-20261122
integration/wp1-ledger-core-20261115
integration/wp2-manual-journal-rpc-20261116
main
ops-heartbeat-v2-20261002
ops-progress-heartbeat-rule-20261002
ops/wave4-production-20261003
plan/financial-core-phase1-approval-20261016
qa/attachment-allocator-two-session-20261122
qa/draft-first-save-red-evidence-20261122
qa/finora-autopost-retry-identity-red-20261122
qa/finora-identity-rpc-security-tripwire-20261122
qa/finora-issue223-manual-kardex-browser-red-20261123
qa/finora-issue223-stock-real-jwt-20261123
qa/finora-issue238-inventory-count-browser-red-20261123
qa/finora-issue238-save-browser-red-20261122
qa/finora-login-cors-header-preflight-20261025
qa/finora-phase0-saved-session-repeat-20261015
qa/finora-phase5-posted-insert-jwt-red-20261123
qa/finora-stage3-ui-jwt-autopost-20261023
qa/finora-v2-g01-report-reconciliation-20261125
qa/free-supabase-local-wp2-20261116
qa/issue229-approval-boundary-jwt-20261122
qa/issue229-sale-save-linked-draft-red-20261122
qa/phase0-acceptance-start-20261012
qa/phase0-f005-account-project-contract-stress-20261012
qa/phase0-f005-selector-stress-20261012
qa/phase0-f006-dark-contrast-20261012
qa/post-wave4-verification-20261003
qa/posted-source-immutable-jwt-20261122
qa/pr219-wp1-disposable-dburl-proof-20261123
qa/purchase-source-jwt-20261122
qa/real-settings-acceptance-20261025
qa/recovery-mail-acceptance-20261026
qa/source-autopost-jwt-atomicity-20261122
qa/wave0-negative-gate-proof
qa/wp2-auth-tenant-e2e-20261117
qa/wp2-authorized-journal-write-20261122
qa/wp2-financial-paths-reconciliation-20261122
qa/wp3-financial-tenant-isolation-20261117
remediation/wave0-liveqa-wave1
remediation/wave2-request-integrity
staging/finora-stage22-free-20261022
state-scroll-verified-20261002
state-wave4b-production-20261002
state-wave5a-production-20261002
test/finora-accounting-boot-readiness-20261015
test/finora-f0-02-production-selectors-20261015
test/finora-pages-commerce-event-wiring-20261015
test/finora-pages-invoice-selectors-readonly-20261015
test/finora-stage3-jwt-source-post-20261023
test/phase0-invoice-fixture-bootstrap-20261016
test/phase0-invoice-persistence-20261011
test/phase0-pages-delayed-dispatcher-20261016
ux-scroll-ownership-20261002
work/finora-stage3-enforce-purchase-green-20261023
work/finora-stage3-enforce-sale-green-20261023
work/finora-stage3-payload-green-20261023
| 1 | e7f35a4323058b8220ff2617bee77c577b29be772ba2ea11210b3b3d9cca7ef8 |
| 2 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_d1_bootstrap.sql |
| 3 | CREATE EXTENSION |
| 4 | CREATE SCHEMA |
| 5 | CREATE SCHEMA |
| 6 | DO |
| 7 | GRANT |
| 8 | GRANT |
| 9 | CREATE TABLE |
| 10 | CREATE TABLE |
| 11 | CREATE TABLE |
| 12 | CREATE TABLE |
| 13 | CREATE TABLE |
| 14 | CREATE TABLE |
| 15 | CREATE TABLE |
| 16 | CREATE TABLE |
| 17 | CREATE TABLE |
| 18 | INSERT 0 1 |
| 19 | INSERT 0 1 |
| 20 | INSERT 0 1 |
| 21 | INSERT 0 1 |
| 22 | CREATE FUNCTION |
| 23 | CREATE FUNCTION |
| 24 | CREATE FUNCTION |
| 25 | CREATE FUNCTION |
| 26 | REVOKE |
| 27 | REVOKE |
| 28 | REVOKE |
| 29 | GRANT |
| 30 | GRANT |
| 31 | GRANT |
| 32 | GRANT |
| 33 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261001204500_request_workflow_d1_foundation.sql |
| 34 | CREATE TABLE |
| 35 | CREATE TABLE |
| 36 | CREATE TABLE |
| 37 | CREATE TABLE |
| 38 | CREATE TABLE |
| 39 | CREATE INDEX |
| 40 | CREATE INDEX |
| 41 | CREATE INDEX |
| 42 | CREATE INDEX |
| 43 | ALTER TABLE |
| 44 | ALTER TABLE |
| 45 | ALTER TABLE |
| 46 | ALTER TABLE |
| 47 | ALTER TABLE |
| 48 | GRANT |
| 49 | REVOKE |
| 50 | DROP POLICY |
| 51 | psql:supabase/migrations/20261001204500_request_workflow_d1_foundation.sql:84: NOTICE: policy "request_type_definitions_read" for relation "public.request_type_definitions" does not exist, skipping |
| 52 | CREATE POLICY |
| 53 | psql:supabase/migrations/20261001204500_request_workflow_d1_foundation.sql:88: NOTICE: policy "request_type_versions_read" for relation "public.request_type_versions" does not exist, skipping |
| 54 | DROP POLICY |
| 55 | CREATE POLICY |
| 56 | DROP POLICY |
| 57 | psql:supabase/migrations/20261001204500_request_workflow_d1_foundation.sql:92: NOTICE: policy "request_workflow_versions_read" for relation "public.request_workflow_versions" does not exist, skipping |
| 58 | psql:supabase/migrations/20261001204500_request_workflow_d1_foundation.sql:96: NOTICE: policy "request_instances_read" for relation "public.request_instances" does not exist, skipping |
| 59 | CREATE POLICY |
| 60 | DROP POLICY |
| 61 | CREATE POLICY |
| 62 | psql:supabase/migrations/20261001204500_request_workflow_d1_foundation.sql:100: NOTICE: policy "request_instance_events_read" for relation "public.request_instance_events" does not exist, skipping |
| 63 | DROP POLICY |
| 64 | CREATE POLICY |
| 65 | CREATE FUNCTION |
| 66 | CREATE FUNCTION |
| 67 | CREATE FUNCTION |
| 68 | REVOKE |
| 69 | REVOKE |
| 70 | REVOKE |
| 71 | GRANT |
| 72 | GRANT |
| 73 | GRANT |
| 74 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261001205500_request_workflow_d1_transition_evidence.sql |
| 75 | CREATE FUNCTION |
| 76 | REVOKE |
| 77 | GRANT |
| 78 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261001210500_request_workflow_d1_rpc_security.sql |
| 79 | ALTER FUNCTION |
| 80 | ALTER FUNCTION |
| 81 | ALTER FUNCTION |
| 82 | REVOKE |
| 83 | REVOKE |
| 84 | REVOKE |
| 85 | GRANT |
| 86 | GRANT |
| 87 | GRANT |
| 88 | CREATE FUNCTION |
| 89 | CREATE FUNCTION |
| 90 | CREATE FUNCTION |
| 91 | REVOKE |
| 92 | REVOKE |
| 93 | REVOKE |
| 94 | GRANT |
| 95 | GRANT |
| 96 | GRANT |
| 97 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261001211500_request_workflow_d1_revision_qualification.sql |
| 98 | CREATE FUNCTION |
| 99 | REVOKE |
| 100 | GRANT |
| 101 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_d1_behavior.sql |
| 102 | INSERT 0 1 |
| 103 | INSERT 0 1 |
| 104 | SET |
| 105 | set_config |
| 106 | -------------------------------------- |
| 107 | 11111111-1111-1111-1111-111111111111 |
| 108 | (1 row) |
| 109 | |
| 110 | set_config |
| 111 | -------------------------------------- |
| 112 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 113 | (1 row) |
| 114 | |
| 115 | set_config |
| 116 | ------------ |
| 117 | true |
| 118 | (1 row) |
| 119 | |
| 120 | set_config |
| 121 | ------------ |
| 122 | true |
| 123 | (1 row) |
| 124 | |
| 125 | set_config |
| 126 | ------------ |
| 127 | true |
| 128 | (1 row) |
| 129 | |
| 130 | set_config |
| 131 | ------------------------------------ |
| 132 | read,configure,create,edit,approve |
| 133 | (1 row) |
| 134 | |
| 135 | CREATE TABLE |
| 136 | INSERT 0 1 |
| 137 | INSERT 0 1 |
| 138 | DO |
| 139 | INSERT 0 1 |
| 140 | DO |
| 141 | request_instance_id | status | revision |
| 142 | --------------------------------------+----------+---------- |
| 143 | 0cb19510-7f79-4331-9d0a-0431e2f9b9c2 | approved | 2 |
| 144 | (1 row) |
| 145 | |
| 146 | DO |
| 147 | request_instance_id | status | revision |
| 148 | --------------------------------------+----------+---------- |
| 149 | 0cb19510-7f79-4331-9d0a-0431e2f9b9c2 | approved | 2 |
| 150 | (1 row) |
| 151 | |
| 152 | INSERT 0 1 |
| 153 | DO |
| 154 | set_config |
| 155 | ------------- |
| 156 | read,create |
| 157 | (1 row) |
| 158 | |
| 159 | DO |
| 160 | DO |
| 161 | DO |
| 162 | set_config |
| 163 | -------------------------------------- |
| 164 | bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb |
| 165 | (1 row) |
| 166 | |
| 167 | DO |
| 168 | RESET |
| 169 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_d2_legacy_seed.sql |
| 170 | CREATE TABLE |
| 171 | INSERT 0 0 |
| 172 | INSERT 0 0 |
| 173 | INSERT 0 4 |
| 174 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261001223500_request_workflow_d2_legacy_cutover.sql |
| 175 | ALTER TABLE |
| 176 | ALTER TABLE |
| 177 | ALTER TABLE |
| 178 | CREATE INDEX |
| 179 | CREATE INDEX |
| 180 | INSERT 0 2 |
| 181 | INSERT 0 2 |
| 182 | INSERT 0 2 |
| 183 | INSERT 0 2 |
| 184 | INSERT 0 2 |
| 185 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261001224500_request_workflow_d2_fk_indexes.sql |
| 186 | CREATE INDEX |
| 187 | CREATE INDEX |
| 188 | CREATE INDEX |
| 189 | CREATE INDEX |
| 190 | CREATE INDEX |
| 191 | CREATE INDEX |
| 192 | CREATE INDEX |
| 193 | CREATE INDEX |
| 194 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_d2_legacy_behavior.sql |
| 195 | DO |
| 196 | psql:supabase/migrations/20261001223500_request_workflow_d2_legacy_cutover.sql:4: NOTICE: column "legacy_record_id" of relation "request_type_definitions" already exists, skipping |
| 197 | ALTER TABLE |
| 198 | psql:supabase/migrations/20261001223500_request_workflow_d2_legacy_cutover.sql:5: NOTICE: column "legacy_record_id" of relation "request_instances" already exists, skipping |
| 199 | ALTER TABLE |
| 200 | psql:supabase/migrations/20261001223500_request_workflow_d2_legacy_cutover.sql:6: NOTICE: column "legacy_number" of relation "request_instances" already exists, skipping |
| 201 | ALTER TABLE |
| 202 | psql:supabase/migrations/20261001223500_request_workflow_d2_legacy_cutover.sql:9: NOTICE: relation "request_type_definitions_org_legacy_record_uidx" already exists, skipping |
| 203 | CREATE INDEX |
| 204 | CREATE INDEX |
| 205 | psql:supabase/migrations/20261001223500_request_workflow_d2_legacy_cutover.sql:11: NOTICE: relation "request_instances_org_legacy_record_uidx" already exists, skipping |
| 206 | INSERT 0 0 |
| 207 | INSERT 0 0 |
| 208 | INSERT 0 0 |
| 209 | INSERT 0 0 |
| 210 | INSERT 0 0 |
| 211 | DO |
| 212 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261002070000_request_wave2_duplicate_code_guard.sql |
| 213 | CREATE FUNCTION |
| 214 | REVOKE |
| 215 | assert_legacy_request_type_code_uniqueness |
| 216 | -------------------------------------------- |
| 217 | |
| 218 | (1 row) |
| 219 | |
| 220 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_wave2_duplicate_code_guard.sql |
| 221 | INSERT 0 1 |
| 222 | INSERT 0 1 |
| 223 | DO |
| 224 | DELETE 1 |
| 225 | assert_legacy_request_type_code_uniqueness |
| 226 | -------------------------------------------- |
| 227 | |
| 228 | (1 row) |
| 229 | |
| 230 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261001230000_request_workflow_d3a_step_runtime.sql |
| 231 | CREATE TABLE |
| 232 | CREATE INDEX |
| 233 | CREATE INDEX |
| 234 | CREATE TABLE |
| 235 | CREATE INDEX |
| 236 | CREATE INDEX |
| 237 | CREATE INDEX |
| 238 | REVOKE |
| 239 | REVOKE |
| 240 | CREATE FUNCTION |
| 241 | REVOKE |
| 242 | CREATE FUNCTION |
| 243 | REVOKE |
| 244 | GRANT |
| 245 | CREATE FUNCTION |
| 246 | REVOKE |
| 247 | GRANT |
| 248 | CREATE FUNCTION |
| 249 | REVOKE |
| 250 | GRANT |
| 251 | CREATE FUNCTION |
| 252 | REVOKE |
| 253 | GRANT |
| 254 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_d3a_workflow_behavior.sql |
| 255 | CREATE INDEX |
| 256 | CREATE FUNCTION |
| 257 | REVOKE |
| 258 | GRANT |
| 259 | INSERT 0 1 |
| 260 | SET |
| 261 | set_config |
| 262 | -------------------------------------- |
| 263 | 11111111-1111-1111-1111-111111111111 |
| 264 | (1 row) |
| 265 | |
| 266 | set_config |
| 267 | -------------------------------------- |
| 268 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 269 | (1 row) |
| 270 | |
| 271 | set_config |
| 272 | ------------ |
| 273 | true |
| 274 | (1 row) |
| 275 | |
| 276 | set_config |
| 277 | ------------ |
| 278 | true |
| 279 | (1 row) |
| 280 | |
| 281 | set_config |
| 282 | ------------ |
| 283 | true |
| 284 | (1 row) |
| 285 | |
| 286 | set_config |
| 287 | ------------------------------------ |
| 288 | read,configure,create,edit,approve |
| 289 | (1 row) |
| 290 | |
| 291 | CREATE TABLE |
| 292 | INSERT 0 1 |
| 293 | INSERT 0 1 |
| 294 | RESET |
| 295 | DO |
| 296 | SET |
| 297 | set_config |
| 298 | -------------------------------------- |
| 299 | 22222222-2222-2222-2222-222222222222 |
| 300 | (1 row) |
| 301 | |
| 302 | set_config |
| 303 | -------------------------------------- |
| 304 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 305 | (1 row) |
| 306 | |
| 307 | set_config |
| 308 | ------------ |
| 309 | true |
| 310 | (1 row) |
| 311 | |
| 312 | set_config |
| 313 | -------------- |
| 314 | read,approve |
| 315 | (1 row) |
| 316 | |
| 317 | request_instance_id | status | revision | step_key | step_state | approvals_received | approvals_required |
| 318 | --------------------------------------+-----------+----------+----------+------------+--------------------+-------------------- |
| 319 | 3094e70c-39e3-45cf-88d5-833179f35dcc | submitted | 2 | manager | completed | 1 | 1 |
| 320 | (1 row) |
| 321 | |
| 322 | RESET |
| 323 | DO |
| 324 | SET |
| 325 | set_config |
| 326 | -------------------------------------- |
| 327 | 22222222-2222-2222-2222-222222222222 |
| 328 | (1 row) |
| 329 | |
| 330 | set_config |
| 331 | -------------------------------------- |
| 332 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 333 | (1 row) |
| 334 | |
| 335 | set_config |
| 336 | ------------ |
| 337 | true |
| 338 | (1 row) |
| 339 | |
| 340 | set_config |
| 341 | -------------- |
| 342 | read,approve |
| 343 | (1 row) |
| 344 | |
| 345 | request_instance_id | status | revision | step_key | step_state | approvals_received | approvals_required |
| 346 | --------------------------------------+-----------+----------+----------+------------+--------------------+-------------------- |
| 347 | 3094e70c-39e3-45cf-88d5-833179f35dcc | submitted | 3 | finance | active | 1 | 2 |
| 348 | (1 row) |
| 349 | |
| 350 | RESET |
| 351 | DO |
| 352 | SET |
| 353 | set_config |
| 354 | -------------------------------------- |
| 355 | 22222222-2222-2222-2222-222222222222 |
| 356 | (1 row) |
| 357 | |
| 358 | set_config |
| 359 | -------------------------------------- |
| 360 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 361 | (1 row) |
| 362 | |
| 363 | set_config |
| 364 | ------------ |
| 365 | true |
| 366 | (1 row) |
| 367 | |
| 368 | set_config |
| 369 | -------------- |
| 370 | read,approve |
| 371 | (1 row) |
| 372 | |
| 373 | request_instance_id | status | revision | step_key | step_state | approvals_received | approvals_required |
| 374 | --------------------------------------+-----------+----------+----------+------------+--------------------+-------------------- |
| 375 | 3094e70c-39e3-45cf-88d5-833179f35dcc | submitted | 3 | finance | active | 1 | 2 |
| 376 | (1 row) |
| 377 | |
| 378 | RESET |
| 379 | DO |
| 380 | SET |
| 381 | set_config |
| 382 | -------------------------------------- |
| 383 | 33333333-3333-3333-3333-333333333333 |
| 384 | (1 row) |
| 385 | |
| 386 | set_config |
| 387 | -------------------------------------- |
| 388 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 389 | (1 row) |
| 390 | |
| 391 | set_config |
| 392 | ------------ |
| 393 | true |
| 394 | (1 row) |
| 395 | |
| 396 | set_config |
| 397 | -------------- |
| 398 | read,approve |
| 399 | (1 row) |
| 400 | |
| 401 | request_instance_id | status | revision | step_key | step_state | approvals_received | approvals_required |
| 402 | --------------------------------------+----------+----------+----------+------------+--------------------+-------------------- |
| 403 | 3094e70c-39e3-45cf-88d5-833179f35dcc | approved | 4 | finance | completed | 2 | 2 |
| 404 | (1 row) |
| 405 | |
| 406 | RESET |
| 407 | DO |
| 408 | SET |
| 409 | set_config |
| 410 | -------------------------------------- |
| 411 | 11111111-1111-1111-1111-111111111111 |
| 412 | (1 row) |
| 413 | |
| 414 | set_config |
| 415 | -------------------------------------- |
| 416 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 417 | (1 row) |
| 418 | |
| 419 | set_config |
| 420 | ------------ |
| 421 | true |
| 422 | (1 row) |
| 423 | |
| 424 | set_config |
| 425 | ------------------------------------ |
| 426 | read,configure,create,edit,approve |
| 427 | (1 row) |
| 428 | |
| 429 | DO |
| 430 | INSERT 0 1 |
| 431 | INSERT 0 1 |
| 432 | set_config |
| 433 | -------------------------------------- |
| 434 | 22222222-2222-2222-2222-222222222222 |
| 435 | (1 row) |
| 436 | |
| 437 | set_config |
| 438 | ------------ |
| 439 | read |
| 440 | (1 row) |
| 441 | |
| 442 | DO |
| 443 | RESET |
| 444 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261002010000_request_wave1_legacy_transition_guard.sql |
| 445 | CREATE FUNCTION |
| 446 | REVOKE |
| 447 | GRANT |
| 448 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_wave1_legacy_transition_security.sql |
| 449 | SET |
| 450 | set_config |
| 451 | -------------------------------------- |
| 452 | 11111111-1111-1111-1111-111111111111 |
| 453 | (1 row) |
| 454 | |
| 455 | set_config |
| 456 | -------------------------------------- |
| 457 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 458 | (1 row) |
| 459 | |
| 460 | set_config |
| 461 | ------------ |
| 462 | true |
| 463 | (1 row) |
| 464 | |
| 465 | set_config |
| 466 | ------------ |
| 467 | true |
| 468 | (1 row) |
| 469 | |
| 470 | set_config |
| 471 | ------------ |
| 472 | true |
| 473 | (1 row) |
| 474 | |
| 475 | set_config |
| 476 | ------------------------------------ |
| 477 | read,configure,create,edit,approve |
| 478 | (1 row) |
| 479 | |
| 480 | CREATE TABLE |
| 481 | INSERT 0 1 |
| 482 | INSERT 0 1 |
| 483 | request_instance_id | status | revision |
| 484 | --------------------------------------+----------+---------- |
| 485 | 417f2df2-b176-4324-8a36-a9b2c70f73d1 | approved | 2 |
| 486 | (1 row) |
| 487 | |
| 488 | request_instance_id | status | revision |
| 489 | --------------------------------------+----------+---------- |
| 490 | 417f2df2-b176-4324-8a36-a9b2c70f73d1 | approved | 2 |
| 491 | (1 row) |
| 492 | |
| 493 | set_config |
| 494 | -------------------------------------- |
| 495 | 22222222-2222-2222-2222-222222222222 |
| 496 | (1 row) |
| 497 | |
| 498 | set_config |
| 499 | ------------ |
| 500 | read |
| 501 | (1 row) |
| 502 | |
| 503 | DO |
| 504 | set_config |
| 505 | -------------- |
| 506 | read,approve |
| 507 | (1 row) |
| 508 | |
| 509 | DO |
| 510 | set_config |
| 511 | -------------------------------------- |
| 512 | 11111111-1111-1111-1111-111111111111 |
| 513 | (1 row) |
| 514 | |
| 515 | set_config |
| 516 | ------------------------------------ |
| 517 | read,configure,create,edit,approve |
| 518 | (1 row) |
| 519 | |
| 520 | INSERT 0 1 |
| 521 | INSERT 0 1 |
| 522 | DO |
| 523 | RESET |
| 524 | DO |
| 525 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261001233000_request_workflow_d3b_conditions_timeline.sql |
| 526 | ALTER TABLE |
| 527 | ALTER TABLE |
| 528 | ALTER TABLE |
| 529 | ALTER TABLE |
| 530 | CREATE FUNCTION |
| 531 | REVOKE |
| 532 | CREATE FUNCTION |
| 533 | REVOKE |
| 534 | CREATE FUNCTION |
| 535 | REVOKE |
| 536 | CREATE FUNCTION |
| 537 | REVOKE |
| 538 | GRANT |
| 539 | CREATE FUNCTION |
| 540 | REVOKE |
| 541 | GRANT |
| 542 | CREATE FUNCTION |
| 543 | REVOKE |
| 544 | GRANT |
| 545 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261002023000_request_wave2_integrity_hardening.sql |
| 546 | CREATE FUNCTION |
| 547 | REVOKE |
| 548 | CREATE FUNCTION |
| 549 | REVOKE |
| 550 | CREATE FUNCTION |
| 551 | REVOKE |
| 552 | CREATE FUNCTION |
| 553 | REVOKE |
| 554 | GRANT |
| 555 | CREATE FUNCTION |
| 556 | REVOKE |
| 557 | GRANT |
| 558 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_d3b_condition_timeline.sql |
| 559 | INSERT 0 0 |
| 560 | SET |
| 561 | set_config |
| 562 | -------------------------------------- |
| 563 | 11111111-1111-1111-1111-111111111111 |
| 564 | (1 row) |
| 565 | |
| 566 | set_config |
| 567 | -------------------------------------- |
| 568 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 569 | (1 row) |
| 570 | |
| 571 | set_config |
| 572 | ------------ |
| 573 | true |
| 574 | (1 row) |
| 575 | |
| 576 | set_config |
| 577 | ------------ |
| 578 | true |
| 579 | (1 row) |
| 580 | |
| 581 | set_config |
| 582 | ------------ |
| 583 | true |
| 584 | (1 row) |
| 585 | |
| 586 | set_config |
| 587 | ------------------------------------ |
| 588 | read,configure,create,edit,approve |
| 589 | (1 row) |
| 590 | |
| 591 | CREATE TABLE |
| 592 | INSERT 0 1 |
| 593 | INSERT 0 1 |
| 594 | RESET |
| 595 | DO |
| 596 | SET |
| 597 | set_config |
| 598 | -------------------------------------- |
| 599 | 11111111-1111-1111-1111-111111111111 |
| 600 | (1 row) |
| 601 | |
| 602 | set_config |
| 603 | -------------------------------------- |
| 604 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 605 | (1 row) |
| 606 | |
| 607 | set_config |
| 608 | ------------ |
| 609 | true |
| 610 | (1 row) |
| 611 | |
| 612 | set_config |
| 613 | ------------------------------------ |
| 614 | read,configure,create,edit,approve |
| 615 | (1 row) |
| 616 | |
| 617 | DO |
| 618 | DO |
| 619 | DO |
| 620 | set_config |
| 621 | -------------------------------------- |
| 622 | bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb |
| 623 | (1 row) |
| 624 | |
| 625 | DO |
| 626 | RESET |
| 627 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_wave2_integrity.sql |
| 628 | SET |
| 629 | set_config |
| 630 | -------------------------------------- |
| 631 | 11111111-1111-1111-1111-111111111111 |
| 632 | (1 row) |
| 633 | |
| 634 | set_config |
| 635 | -------------------------------------- |
| 636 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 637 | (1 row) |
| 638 | |
| 639 | set_config |
| 640 | ------------ |
| 641 | true |
| 642 | (1 row) |
| 643 | |
| 644 | set_config |
| 645 | ------------ |
| 646 | true |
| 647 | (1 row) |
| 648 | |
| 649 | set_config |
| 650 | ------------ |
| 651 | true |
| 652 | (1 row) |
| 653 | |
| 654 | set_config |
| 655 | ------------------------------------ |
| 656 | read,configure,create,edit,approve |
| 657 | (1 row) |
| 658 | |
| 659 | CREATE TABLE |
| 660 | INSERT 0 1 |
| 661 | INSERT 0 1 |
| 662 | INSERT 0 1 |
| 663 | DO |
| 664 | DO |
| 665 | DO |
| 666 | INSERT 0 1 |
| 667 | DO |
| 668 | RESET |
| 669 | UPDATE 1 |
| 670 | SET |
| 671 | set_config |
| 672 | -------------------------------------- |
| 673 | 11111111-1111-1111-1111-111111111111 |
| 674 | (1 row) |
| 675 | |
| 676 | set_config |
| 677 | -------------------------------------- |
| 678 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 679 | (1 row) |
| 680 | |
| 681 | set_config |
| 682 | ------------ |
| 683 | true |
| 684 | (1 row) |
| 685 | |
| 686 | set_config |
| 687 | ------------- |
| 688 | read,create |
| 689 | (1 row) |
| 690 | |
| 691 | DO |
| 692 | RESET |
| 693 | DO |
| 694 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261001235500_request_workflow_d3c_operations.sql |
| 695 | ALTER TABLE |
| 696 | ALTER TABLE |
| 697 | ALTER TABLE |
| 698 | ALTER TABLE |
| 699 | ALTER TABLE |
| 700 | CREATE INDEX |
| 701 | CREATE INDEX |
| 702 | CREATE TABLE |
| 703 | CREATE INDEX |
| 704 | CREATE INDEX |
| 705 | CREATE INDEX |
| 706 | REVOKE |
| 707 | CREATE TABLE |
| 708 | CREATE INDEX |
| 709 | CREATE INDEX |
| 710 | REVOKE |
| 711 | CREATE FUNCTION |
| 712 | REVOKE |
| 713 | CREATE FUNCTION |
| 714 | REVOKE |
| 715 | CREATE FUNCTION |
| 716 | REVOKE |
| 717 | GRANT |
| 718 | CREATE FUNCTION |
| 719 | REVOKE |
| 720 | GRANT |
| 721 | CREATE FUNCTION |
| 722 | REVOKE |
| 723 | GRANT |
| 724 | CREATE FUNCTION |
| 725 | REVOKE |
| 726 | GRANT |
| 727 | CREATE FUNCTION |
| 728 | REVOKE |
| 729 | GRANT |
| 730 | CREATE FUNCTION |
| 731 | REVOKE |
| 732 | GRANT |
| 733 | CREATE FUNCTION |
| 734 | REVOKE |
| 735 | CREATE FUNCTION |
| 736 | REVOKE |
| 737 | CREATE FUNCTION |
| 738 | REVOKE |
| 739 | GRANT |
| 740 | CREATE FUNCTION |
| 741 | REVOKE |
| 742 | GRANT |
| 743 | CREATE FUNCTION |
| 744 | REVOKE |
| 745 | GRANT |
| 746 | CREATE FUNCTION |
| 747 | REVOKE |
| 748 | GRANT |
| 749 | CREATE FUNCTION |
| 750 | REVOKE |
| 751 | GRANT |
| 752 | CREATE FUNCTION |
| 753 | REVOKE |
| 754 | GRANT |
| 755 | CREATE FUNCTION |
| 756 | REVOKE |
| 757 | GRANT |
| 758 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261002000500_request_workflow_d3c_escalation_conflict_fix.sql |
| 759 | CREATE FUNCTION |
| 760 | REVOKE |
| 761 | GRANT |
| 762 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_d3c_operations.sql |
| 763 | INSERT 0 1 |
| 764 | INSERT 0 1 |
| 765 | SET |
| 766 | set_config |
| 767 | -------------------------------------- |
| 768 | 11111111-1111-1111-1111-111111111111 |
| 769 | (1 row) |
| 770 | |
| 771 | set_config |
| 772 | -------------------------------------- |
| 773 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 774 | (1 row) |
| 775 | |
| 776 | set_config |
| 777 | ------------ |
| 778 | true |
| 779 | (1 row) |
| 780 | |
| 781 | set_config |
| 782 | ------------ |
| 783 | true |
| 784 | (1 row) |
| 785 | |
| 786 | set_config |
| 787 | ------------ |
| 788 | true |
| 789 | (1 row) |
| 790 | |
| 791 | set_config |
| 792 | ------------------------------------ |
| 793 | read,configure,create,edit,approve |
| 794 | (1 row) |
| 795 | |
| 796 | CREATE TABLE |
| 797 | INSERT 0 1 |
| 798 | INSERT 0 1 |
| 799 | INSERT 0 1 |
| 800 | RESET |
| 801 | DO |
| 802 | SET |
| 803 | set_config |
| 804 | -------------------------------------- |
| 805 | 55555555-5555-5555-5555-555555555555 |
| 806 | (1 row) |
| 807 | |
| 808 | set_config |
| 809 | -------------------------------------- |
| 810 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 811 | (1 row) |
| 812 | |
| 813 | set_config |
| 814 | ------------ |
| 815 | read |
| 816 | (1 row) |
| 817 | |
| 818 | DO |
| 819 | RESET |
| 820 | DO |
| 821 | SET |
| 822 | set_config |
| 823 | -------------------------------------- |
| 824 | 11111111-1111-1111-1111-111111111111 |
| 825 | (1 row) |
| 826 | |
| 827 | set_config |
| 828 | -------------------------------------- |
| 829 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 830 | (1 row) |
| 831 | |
| 832 | set_config |
| 833 | ------------------------------------ |
| 834 | read,configure,create,edit,approve |
| 835 | (1 row) |
| 836 | |
| 837 | INSERT 0 1 |
| 838 | RESET |
| 839 | UPDATE 1 |
| 840 | SET |
| 841 | set_config |
| 842 | -------------------------------------- |
| 843 | 11111111-1111-1111-1111-111111111111 |
| 844 | (1 row) |
| 845 | |
| 846 | set_config |
| 847 | -------------------------------------- |
| 848 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 849 | (1 row) |
| 850 | |
| 851 | set_config |
| 852 | ------------------------------------ |
| 853 | read,configure,create,edit,approve |
| 854 | (1 row) |
| 855 | |
| 856 | DO |
| 857 | RESET |
| 858 | DO |
| 859 | SET |
| 860 | set_config |
| 861 | -------------------------------------- |
| 862 | 11111111-1111-1111-1111-111111111111 |
| 863 | (1 row) |
| 864 | |
| 865 | set_config |
| 866 | -------------------------------------- |
| 867 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 868 | (1 row) |
| 869 | |
| 870 | set_config |
| 871 | ------------------------------------ |
| 872 | read,configure,create,edit,approve |
| 873 | (1 row) |
| 874 | |
| 875 | DO |
| 876 | request_revoke_delegation |
| 877 | --------------------------- |
| 878 | t |
| 879 | (1 row) |
| 880 | |
| 881 | DO |
| 882 | DO |
| 883 | RESET |
| 884 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261002071000_request_wave3_decision_idempotency.sql |
| 885 | CREATE FUNCTION |
| 886 | REVOKE |
| 887 | GRANT |
| 888 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_wave3_decision_idempotency.sql |
| 889 | INSERT 0 2 |
| 890 | SET |
| 891 | set_config |
| 892 | -------------------------------------- |
| 893 | 11111111-1111-1111-1111-111111111111 |
| 894 | (1 row) |
| 895 | |
| 896 | set_config |
| 897 | -------------------------------------- |
| 898 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 899 | (1 row) |
| 900 | |
| 901 | set_config |
| 902 | ------------ |
| 903 | true |
| 904 | (1 row) |
| 905 | |
| 906 | set_config |
| 907 | ------------ |
| 908 | true |
| 909 | (1 row) |
| 910 | |
| 911 | set_config |
| 912 | ------------ |
| 913 | true |
| 914 | (1 row) |
| 915 | |
| 916 | set_config |
| 917 | ------------------------------------ |
| 918 | read,configure,create,edit,approve |
| 919 | (1 row) |
| 920 | |
| 921 | CREATE TABLE |
| 922 | INSERT 0 1 |
| 923 | INSERT 0 1 |
| 924 | RESET |
| 925 | SET |
| 926 | set_config |
| 927 | -------------------------------------- |
| 928 | 66666666-6666-6666-6666-666666666666 |
| 929 | (1 row) |
| 930 | |
| 931 | set_config |
| 932 | -------------------------------------- |
| 933 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 934 | (1 row) |
| 935 | |
| 936 | set_config |
| 937 | ------------ |
| 938 | true |
| 939 | (1 row) |
| 940 | |
| 941 | set_config |
| 942 | ------------ |
| 943 | true |
| 944 | (1 row) |
| 945 | |
| 946 | set_config |
| 947 | -------------- |
| 948 | read,approve |
| 949 | (1 row) |
| 950 | |
| 951 | SELECT 1 |
| 952 | RESET |
| 953 | DO |
| 954 | SET |
| 955 | set_config |
| 956 | -------------------------------------- |
| 957 | 77777777-7777-7777-7777-777777777777 |
| 958 | (1 row) |
| 959 | |
| 960 | set_config |
| 961 | -------------------------------------- |
| 962 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 963 | (1 row) |
| 964 | |
| 965 | set_config |
| 966 | ------------ |
| 967 | true |
| 968 | (1 row) |
| 969 | |
| 970 | set_config |
| 971 | ------------ |
| 972 | true |
| 973 | (1 row) |
| 974 | |
| 975 | set_config |
| 976 | -------------- |
| 977 | read,approve |
| 978 | (1 row) |
| 979 | |
| 980 | SELECT 1 |
| 981 | RESET |
| 982 | DO |
| 983 | SET |
| 984 | set_config |
| 985 | -------------------------------------- |
| 986 | 66666666-6666-6666-6666-666666666666 |
| 987 | (1 row) |
| 988 | |
| 989 | set_config |
| 990 | -------------------------------------- |
| 991 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 992 | (1 row) |
| 993 | |
| 994 | set_config |
| 995 | ------------ |
| 996 | true |
| 997 | (1 row) |
| 998 | |
| 999 | set_config |
| 1000 | ------------ |
| 1001 | true |
| 1002 | (1 row) |
| 1003 | |
| 1004 | set_config |
| 1005 | ------------ |
| 1006 | read |
| 1007 | (1 row) |
| 1008 | |
| 1009 | DO |
| 1010 | RESET |
| 1011 | SET |
| 1012 | set_config |
| 1013 | -------------------------------------- |
| 1014 | 77777777-7777-7777-7777-777777777777 |
| 1015 | (1 row) |
| 1016 | |
| 1017 | set_config |
| 1018 | -------------------------------------- |
| 1019 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 1020 | (1 row) |
| 1021 | |
| 1022 | set_config |
| 1023 | ------------ |
| 1024 | true |
| 1025 | (1 row) |
| 1026 | |
| 1027 | set_config |
| 1028 | ------------ |
| 1029 | true |
| 1030 | (1 row) |
| 1031 | |
| 1032 | set_config |
| 1033 | -------------- |
| 1034 | read,approve |
| 1035 | (1 row) |
| 1036 | |
| 1037 | DO |
| 1038 | RESET |
| 1039 | SET |
| 1040 | set_config |
| 1041 | -------------------------------------- |
| 1042 | 66666666-6666-6666-6666-666666666666 |
| 1043 | (1 row) |
| 1044 | |
| 1045 | set_config |
| 1046 | -------------------------------------- |
| 1047 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 1048 | (1 row) |
| 1049 | |
| 1050 | set_config |
| 1051 | ------------ |
| 1052 | true |
| 1053 | (1 row) |
| 1054 | |
| 1055 | set_config |
| 1056 | ------------ |
| 1057 | true |
| 1058 | (1 row) |
| 1059 | |
| 1060 | set_config |
| 1061 | -------------- |
| 1062 | read,approve |
| 1063 | (1 row) |
| 1064 | |
| 1065 | SELECT 1 |
| 1066 | RESET |
| 1067 | DO |
| 1068 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261002072000_request_wave4_operational_integrity.sql |
| 1069 | ALTER TABLE |
| 1070 | psql:supabase/migrations/20261002072000_request_wave4_operational_integrity.sql:4: NOTICE: constraint "request_delegations_idempotency_key_check" of relation "request_delegations" does not exist, skipping |
| 1071 | ALTER TABLE |
| 1072 | ALTER TABLE |
| 1073 | CREATE INDEX |
| 1074 | CREATE FUNCTION |
| 1075 | REVOKE |
| 1076 | CREATE FUNCTION |
| 1077 | REVOKE |
| 1078 | GRANT |
| 1079 | CREATE FUNCTION |
| 1080 | REVOKE |
| 1081 | GRANT |
| 1082 | REVOKE |
| 1083 | REVOKE |
| 1084 | CREATE FUNCTION |
| 1085 | REVOKE |
| 1086 | GRANT |
| 1087 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_wave4_operational_integrity.sql |
| 1088 | INSERT 0 2 |
| 1089 | INSERT 0 2 |
| 1090 | SET |
| 1091 | set_config |
| 1092 | -------------------------------------- |
| 1093 | 11111111-1111-1111-1111-111111111111 |
| 1094 | (1 row) |
| 1095 | |
| 1096 | set_config |
| 1097 | -------------------------------------- |
| 1098 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 1099 | (1 row) |
| 1100 | |
| 1101 | set_config |
| 1102 | ------------ |
| 1103 | true |
| 1104 | (1 row) |
| 1105 | |
| 1106 | set_config |
| 1107 | ------------ |
| 1108 | true |
| 1109 | (1 row) |
| 1110 | |
| 1111 | set_config |
| 1112 | ------------------------------------ |
| 1113 | read,configure,create,edit,approve |
| 1114 | (1 row) |
| 1115 | |
| 1116 | DO |
| 1117 | CREATE TABLE |
| 1118 | INSERT 0 1 |
| 1119 | DO |
| 1120 | DO |
| 1121 | DO |
| 1122 | request_revoke_delegation |
| 1123 | --------------------------- |
| 1124 | t |
| 1125 | (1 row) |
| 1126 | |
| 1127 | request_revoke_delegation |
| 1128 | --------------------------- |
| 1129 | t |
| 1130 | (1 row) |
| 1131 | |
| 1132 | DO |
| 1133 | RESET |
| 1134 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261002073500_request_wave4b_scheduler_outbox_delivery.sql |
| 1135 | CREATE TABLE |
| 1136 | CREATE TABLE |
| 1137 | CREATE INDEX |
| 1138 | CREATE INDEX |
| 1139 | REVOKE |
| 1140 | ALTER TABLE |
| 1141 | ALTER TABLE |
| 1142 | ALTER TABLE |
| 1143 | ALTER TABLE |
| 1144 | ALTER TABLE |
| 1145 | ALTER TABLE |
| 1146 | ALTER TABLE |
| 1147 | ALTER TABLE |
| 1148 | ALTER TABLE |
| 1149 | UPDATE 1 |
| 1150 | ALTER TABLE |
| 1151 | CREATE INDEX |
| 1152 | ALTER TABLE |
| 1153 | ALTER TABLE |
| 1154 | psql:supabase/migrations/20261002073500_request_wave4b_scheduler_outbox_delivery.sql:49: NOTICE: constraint "request_outbox_last_worker_id_check" of relation "request_outbox" does not exist, skipping |
| 1155 | ALTER TABLE |
| 1156 | ALTER TABLE |
| 1157 | psql:supabase/migrations/20261002073500_request_wave4b_scheduler_outbox_delivery.sql:51: NOTICE: constraint "request_outbox_last_replay_key_check" of relation "request_outbox" does not exist, skipping |
| 1158 | ALTER TABLE |
| 1159 | ALTER TABLE |
| 1160 | CREATE FUNCTION |
| 1161 | REVOKE |
| 1162 | CREATE FUNCTION |
| 1163 | REVOKE |
| 1164 | CREATE FUNCTION |
| 1165 | REVOKE |
| 1166 | DO |
| 1167 | CREATE FUNCTION |
| 1168 | REVOKE |
| 1169 | CREATE FUNCTION |
| 1170 | REVOKE |
| 1171 | DO |
| 1172 | CREATE FUNCTION |
| 1173 | REVOKE |
| 1174 | CREATE FUNCTION |
| 1175 | REVOKE |
| 1176 | DO |
| 1177 | CREATE FUNCTION |
| 1178 | REVOKE |
| 1179 | CREATE FUNCTION |
| 1180 | REVOKE |
| 1181 | DO |
| 1182 | CREATE FUNCTION |
| 1183 | REVOKE |
| 1184 | GRANT |
| 1185 | CREATE FUNCTION |
| 1186 | REVOKE |
| 1187 | GRANT |
| 1188 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_wave4b_scheduler_outbox_delivery.sql |
| 1189 | SET |
| 1190 | set_config |
| 1191 | -------------------------------------- |
| 1192 | 11111111-1111-1111-1111-111111111111 |
| 1193 | (1 row) |
| 1194 | |
| 1195 | set_config |
| 1196 | -------------------------------------- |
| 1197 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 1198 | (1 row) |
| 1199 | |
| 1200 | set_config |
| 1201 | ------------ |
| 1202 | true |
| 1203 | (1 row) |
| 1204 | |
| 1205 | set_config |
| 1206 | ------------ |
| 1207 | true |
| 1208 | (1 row) |
| 1209 | |
| 1210 | set_config |
| 1211 | ------------------------------------ |
| 1212 | read,configure,create,edit,approve |
| 1213 | (1 row) |
| 1214 | |
| 1215 | CREATE TABLE |
| 1216 | INSERT 0 1 |
| 1217 | INSERT 0 1 |
| 1218 | RESET |
| 1219 | UPDATE 1 |
| 1220 | SELECT 1 |
| 1221 | DO |
| 1222 | DO |
| 1223 | DO |
| 1224 | DO |
| 1225 | SET |
| 1226 | set_config |
| 1227 | -------------------------------------- |
| 1228 | 11111111-1111-1111-1111-111111111111 |
| 1229 | (1 row) |
| 1230 | |
| 1231 | set_config |
| 1232 | -------------------------------------- |
| 1233 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 1234 | (1 row) |
| 1235 | |
| 1236 | set_config |
| 1237 | ------------------------------------ |
| 1238 | read,configure,create,edit,approve |
| 1239 | (1 row) |
| 1240 | |
| 1241 | INSERT 0 1 |
| 1242 | DO |
| 1243 | RESET |
| 1244 | INSERT 0 1 |
| 1245 | SELECT 1 |
| 1246 | DO |
| 1247 | request_fail_outbox |
| 1248 | --------------------- |
| 1249 | failed |
| 1250 | (1 row) |
| 1251 | |
| 1252 | DO |
| 1253 | UPDATE 1 |
| 1254 | SELECT 1 |
| 1255 | DO |
| 1256 | request_complete_outbox |
| 1257 | ------------------------- |
| 1258 | t |
| 1259 | (1 row) |
| 1260 | |
| 1261 | DO |
| 1262 | DO |
| 1263 | SET |
| 1264 | set_config |
| 1265 | -------------------------------------- |
| 1266 | 11111111-1111-1111-1111-111111111111 |
| 1267 | (1 row) |
| 1268 | |
| 1269 | set_config |
| 1270 | -------------------------------------- |
| 1271 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 1272 | (1 row) |
| 1273 | |
| 1274 | set_config |
| 1275 | ------------------------------------ |
| 1276 | read,configure,create,edit,approve |
| 1277 | (1 row) |
| 1278 | |
| 1279 | INSERT 0 1 |
| 1280 | DO |
| 1281 | RESET |
| 1282 | INSERT 0 1 |
| 1283 | DO |
| 1284 | DO |
| 1285 | SET |
| 1286 | set_config |
| 1287 | -------------------------------------- |
| 1288 | 11111111-1111-1111-1111-111111111111 |
| 1289 | (1 row) |
| 1290 | |
| 1291 | set_config |
| 1292 | -------------------------------------- |
| 1293 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 1294 | (1 row) |
| 1295 | |
| 1296 | set_config |
| 1297 | ------------------------------------ |
| 1298 | read,configure,create,edit,approve |
| 1299 | (1 row) |
| 1300 | |
| 1301 | request_replay_dead_letter |
| 1302 | ---------------------------- |
| 1303 | t |
| 1304 | (1 row) |
| 1305 | |
| 1306 | request_replay_dead_letter |
| 1307 | ---------------------------- |
| 1308 | t |
| 1309 | (1 row) |
| 1310 | |
| 1311 | RESET |
| 1312 | DO |
| 1313 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261002033000_request_workflow_d4a_work_queue.sql |
| 1314 | CREATE FUNCTION |
| 1315 | REVOKE |
| 1316 | GRANT |
| 1317 | CREATE FUNCTION |
| 1318 | REVOKE |
| 1319 | GRANT |
| 1320 | COMMAND psql -v ON_ERROR_STOP=1 -f supabase/tests/request_d4a_work_queue.sql |
| 1321 | SET |
| 1322 | set_config |
| 1323 | -------------------------------------- |
| 1324 | 11111111-1111-1111-1111-111111111111 |
| 1325 | (1 row) |
| 1326 | |
| 1327 | set_config |
| 1328 | -------------------------------------- |
| 1329 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 1330 | (1 row) |
| 1331 | |
| 1332 | set_config |
| 1333 | ------------------------------------ |
| 1334 | read,configure,create,edit,approve |
| 1335 | (1 row) |
| 1336 | |
| 1337 | CREATE TABLE |
| 1338 | INSERT 0 1 |
| 1339 | INSERT 0 1 |
| 1340 | DO |
| 1341 | request_instance_id | status | revision | step_key | step_state | approvals_received | approvals_required |
| 1342 | --------------------------------------+----------+----------+----------+------------+--------------------+-------------------- |
| 1343 | 279918e4-da1f-4f2a-9f56-4ce73f65fb8e | approved | 2 | manager | completed | 1 | 1 |
| 1344 | (1 row) |
| 1345 | |
| 1346 | DO |
| 1347 | RESET |
| 1348 | INSERT 0 0 |
| 1349 | INSERT 0 1 |
| 1350 | SET |
| 1351 | set_config |
| 1352 | -------------------------------------- |
| 1353 | 11111111-1111-1111-1111-111111111111 |
| 1354 | (1 row) |
| 1355 | |
| 1356 | set_config |
| 1357 | -------------------------------------- |
| 1358 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |
| 1359 | (1 row) |
| 1360 | |
| 1361 | set_config |
| 1362 | ------------------------------------ |
| 1363 | read,configure,create,edit,approve |
| 1364 | (1 row) |
| 1365 | |
| 1366 | INSERT 0 1 |
| 1367 | INSERT 0 1 |
| 1368 | set_config |
| 1369 | -------------------------------------- |
| 1370 | 55555555-5555-5555-5555-555555555555 |
| 1371 | (1 row) |
| 1372 | |
| 1373 | set_config |
| 1374 | ------------ |
| 1375 | read |
| 1376 | (1 row) |
| 1377 | |
| 1378 | DO |
| 1379 | request_instance_id | status | revision | step_key | step_state | approvals_received | approvals_required |
| 1380 | --------------------------------------+----------+----------+----------+------------+--------------------+-------------------- |
| 1381 | 0cb9fc30-02e4-4bdd-a5fe-4d7f8f73ee82 | approved | 2 | manager | completed | 1 | 1 |
| 1382 | (1 row) |
| 1383 | |
| 1384 | DO |
| 1385 | set_config |
| 1386 | -------------------------------------- |
| 1387 | 22222222-2222-2222-2222-222222222222 |
| 1388 | (1 row) |
| 1389 | |
| 1390 | set_config |
| 1391 | ------------ |
| 1392 | read |
| 1393 | (1 row) |
| 1394 | |
| 1395 | DO |
| 1396 | RESET |