From 9fe53d7c6c587460e74adbe6c0e3f54ef7145cd8 Mon Sep 17 00:00:00 2001 From: Patrick Lee Scott Date: Tue, 8 Sep 2026 23:25:20 -0500 Subject: [PATCH] fix: reconcile gateway with v5 protocol changes Keep protocol preparation errors visible within the engine and update the byte-exact unique-key artifact with its emitted protocol hash. No assertions or authorization checks are relaxed. --- distributed_cli/tests/fixtures/unique-key-bridge-operation.json | 1 + src/graphql/engine/request.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/distributed_cli/tests/fixtures/unique-key-bridge-operation.json b/distributed_cli/tests/fixtures/unique-key-bridge-operation.json index a6d76f05..9de33c53 100644 --- a/distributed_cli/tests/fixtures/unique-key-bridge-operation.json +++ b/distributed_cli/tests/fixtures/unique-key-bridge-operation.json @@ -318,6 +318,7 @@ "protocol": { "version": 1, "schemaHash": "sha256:d43d65b233d9839f28271b4bdee7326f03b660cac3002013d8f058204e188415", + "protocolHash": "sha256:00fb342f3acb4dc1c1716a43cc3001c748d5f6c500ff831690d820e9e43e2782", "surface": { "kind": "role", "name": "user" diff --git a/src/graphql/engine/request.rs b/src/graphql/engine/request.rs index af9f34f0..e8d3c2e7 100644 --- a/src/graphql/engine/request.rs +++ b/src/graphql/engine/request.rs @@ -1,6 +1,6 @@ use super::*; -enum ProtocolPreparationError { +pub(super) enum ProtocolPreparationError { RequiredPreset, Internal, }