From 4b4c15dcaa31b609b10ba9d73e131e1b169a4fbf Mon Sep 17 00:00:00 2001 From: kevin Heifner Date: Thu, 13 Aug 2026 12:46:14 -0500 Subject: [PATCH] test(cluster-tool): carry uwreqs.challenge_id in the swap-scenario fixture MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit wire-sysio#549 adds `challenge_id` to both `uw_request_t` and the `locks` row, and the regenerated `sdk-core` types carry it as a required property on `SysioUwritUwRequestTType` and `SysioUwritLockEntryType`. #56 added the field to `lockRow()` but not to `uwreqRow()`. Both return the full row type rather than a `Partial`, so the omission stops `packages/cluster-tool` compiling — `tsc -b` fails with TS2322 and takes `pnpm build` with it, which is why every e2e run since the companion merges dies in the platform build before a single flow starts. That fixture is the whole surface: `uwreqRow()` and `lockRow()` are the only positions in the repo that construct these rows; every other `SysioUwritUwRequestTType` reference is a read position. --- .../cluster-tool/tests/flow/contexts/SwapScenarioContext.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/cluster-tool/tests/flow/contexts/SwapScenarioContext.test.ts b/packages/cluster-tool/tests/flow/contexts/SwapScenarioContext.test.ts index 8b3cc37f..d9fca85c 100644 --- a/packages/cluster-tool/tests/flow/contexts/SwapScenarioContext.test.ts +++ b/packages/cluster-tool/tests/flow/contexts/SwapScenarioContext.test.ts @@ -78,6 +78,7 @@ function uwreqRow( expires_at_epoch: 0, attestation_inbound_data: "", attestation_outbound_data: "", + challenge_id: 0, ...overrides } }