Skip to content

Commit 1491327

Browse files
ci(dispatch-gate): allow the capability seam moved into sql_dispatch_task
`7102813b8` moved the native DROP ARRAY path out of `sql_loop.rs` into the new `sql_dispatch_task.rs`, carrying its `authorize_native_task(..)?` -> `into_physical_task()` pair with it. `sql_loop.rs` is in ALLOWED_REFERENCES for exactly that seam; the new file is not, so the gate has flagged the moved call ever since. The call is unchanged: the capability is consumed first and the raw task is only reached through it, which is the condition the allowlist documents. This does not cover the six `into_scope` references also failing on main; those are a separate finding, reported on the PR.
1 parent e072368 commit 1491327

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎scripts/ci/check_authorized_dispatch.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
("control/array_sync/inbound_propose.rs", "into_scope"),
105105
("control/array_sync/snapshot_assembly.rs", "into_scope"),
106106
("control/server/native/dispatch/sql_loop.rs", "into_physical_task"),
107+
("control/server/native/dispatch/sql_dispatch_task.rs", "into_physical_task"),
107108
("control/server/sync/raft_dispatch/response.rs", "propose_sync_write"),
108109
("control/server/sync/raft_dispatch/write.rs", "propose_sync_write"),
109110
(

0 commit comments

Comments
 (0)