Skip to content

Commit 89d4bae

Browse files
Initialize the receipt field in the protocol test fixture
1 parent 63d6132 commit 89d4bae

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

‎packages/codex/patches/0045-terminal-authentication-retry.patch‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,3 +408,15 @@ index 8fb8ae872d245c4af84c5170ed67e644b88b2dcf..b141edc9d03bb3b6e38880696e933fb8
408408
+ }
409409
+ }
410410
+}
411+
diff --git a/codex-rs/protocol/src/protocol.rs b/codex-rs/protocol/src/protocol.rs
412+
index 181e430fc839d812563fa94a7f7ea898dac910ec..5fba04f110f917f3b76e9b0a1a796b5df591dd39 100644
413+
--- a/codex-rs/protocol/src/protocol.rs
414+
+++ b/codex-rs/protocol/src/protocol.rs
415+
@@ -6222,6 +6222,7 @@ mod tests {
416+
fn turn_context_item_serializes_network_when_present() -> Result<()> {
417+
let item = TurnContextItem {
418+
turn_id: None,
419+
+ sdk_receipt: None,
420+
root_turn_id: None,
421+
disabled_plugin_ids: None,
422+
cwd: test_path_buf("/tmp").abs(),

‎packages/codex/patches/series.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@
178178
},
179179
{
180180
"path": "0045-terminal-authentication-retry.patch",
181-
"sha256": "dfb685f3098c8016a2e897c9cb19f0bb9330998d65bf425e4223c4325127dfb1"
181+
"sha256": "d2cb68ae8e14b525daa98c21377674fb2baf60be294f9161de6fd9d20b349ff4"
182182
}
183183
],
184-
"result_tree": "c8c427938b966d14010b4e6aa4ed0780a5b2ce1a"
184+
"result_tree": "81f26daf5e913dd34be211119a8b2738f76ae237"
185185
}

0 commit comments

Comments
 (0)