From 81252aa0c587d00ae2f678b6184d77b50292217d Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Mon, 6 Apr 2026 19:13:55 -0700 Subject: [PATCH] codex: fix rollout metadata test (#16964) --- codex-rs/rollout/src/tests.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/codex-rs/rollout/src/tests.rs b/codex-rs/rollout/src/tests.rs index e647a54cd4..aeda089a25 100644 --- a/codex-rs/rollout/src/tests.rs +++ b/codex-rs/rollout/src/tests.rs @@ -977,7 +977,7 @@ async fn test_get_thread_contents() { } #[tokio::test] -async fn test_base_instructions_missing_in_meta_defaults_to_null() { +async fn test_base_instructions_missing_in_meta_stays_missing() { let temp = TempDir::new().unwrap(); let home = temp.path(); @@ -1011,10 +1011,7 @@ async fn test_base_instructions_missing_in_meta_defaults_to_null() { .await .expect("session meta head"); let first = head.first().expect("first head entry"); - assert_eq!( - first.get("base_instructions"), - Some(&serde_json::Value::Null) - ); + assert_eq!(first.get("base_instructions"), None); } #[tokio::test]