mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
codex: fix CI failure on PR #19083
This commit is contained in:
@@ -3098,6 +3098,7 @@ mod tests {
|
||||
}],
|
||||
end_turn: None,
|
||||
phase: None,
|
||||
exclude_from_compaction: false,
|
||||
}),
|
||||
RolloutItem::EventMsg(EventMsg::TurnComplete(TurnCompleteEvent {
|
||||
turn_id: "turn-a".into(),
|
||||
|
||||
@@ -136,6 +136,7 @@ async fn auto_compaction_remote_emits_started_and_completed_items() -> Result<()
|
||||
}],
|
||||
end_turn: None,
|
||||
phase: None,
|
||||
exclude_from_compaction: false,
|
||||
},
|
||||
ResponseItem::Compaction {
|
||||
encrypted_content: "ENCRYPTED_COMPACTION_SUMMARY".to_string(),
|
||||
|
||||
@@ -61,6 +61,7 @@ async fn thread_inject_items_adds_raw_response_items_to_thread_history() -> Resu
|
||||
}],
|
||||
end_turn: None,
|
||||
phase: None,
|
||||
exclude_from_compaction: false,
|
||||
};
|
||||
|
||||
let inject_req = mcp
|
||||
@@ -197,6 +198,7 @@ async fn thread_inject_items_adds_raw_response_items_after_a_turn() -> Result<()
|
||||
}],
|
||||
end_turn: None,
|
||||
phase: None,
|
||||
exclude_from_compaction: false,
|
||||
};
|
||||
let injected_value = serde_json::to_value(&injected_item)?;
|
||||
|
||||
|
||||
@@ -1097,6 +1097,7 @@ async fn thread_resume_rejects_history_when_thread_is_running() -> Result<()> {
|
||||
}],
|
||||
end_turn: None,
|
||||
phase: None,
|
||||
exclude_from_compaction: false,
|
||||
}]),
|
||||
..Default::default()
|
||||
})
|
||||
@@ -1926,6 +1927,7 @@ async fn thread_resume_supports_history_and_overrides() -> Result<()> {
|
||||
}],
|
||||
end_turn: None,
|
||||
phase: None,
|
||||
exclude_from_compaction: false,
|
||||
}];
|
||||
|
||||
// Resume with explicit history and override the model.
|
||||
|
||||
@@ -425,6 +425,7 @@ async fn azure_default_store_attaches_ids_and_headers() -> Result<()> {
|
||||
content: vec![ContentItem::InputText { text: "hi".into() }],
|
||||
end_turn: None,
|
||||
phase: None,
|
||||
exclude_from_compaction: false,
|
||||
}],
|
||||
tools: Vec::new(),
|
||||
tool_choice: "auto".into(),
|
||||
|
||||
@@ -1181,6 +1181,7 @@ async fn test_updated_at_uses_file_mtime() -> Result<()> {
|
||||
}],
|
||||
end_turn: None,
|
||||
phase: None,
|
||||
exclude_from_compaction: false,
|
||||
}),
|
||||
};
|
||||
writeln!(file, "{}", serde_json::to_string(&response_line)?)?;
|
||||
|
||||
@@ -179,6 +179,7 @@ mod tests {
|
||||
}],
|
||||
end_turn: None,
|
||||
phase: None,
|
||||
exclude_from_compaction: false,
|
||||
});
|
||||
|
||||
apply_rollout_item(&mut metadata, &item, "test-provider");
|
||||
|
||||
@@ -442,6 +442,7 @@ impl App {
|
||||
}],
|
||||
end_turn: None,
|
||||
phase: None,
|
||||
exclude_from_compaction: false,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user