codex: fix CI failure on PR #26834

This commit is contained in:
Adam Perry
2026-06-08 12:08:28 -07:00
parent 10a9d246af
commit 1aea766443
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -5174,7 +5174,10 @@ impl GlobalInstructionsContributor for CountingGlobalInstructionsContributor {
fn contribute(&self) -> GlobalInstructionsFuture<'_> {
self.calls.fetch_add(1, Ordering::SeqCst);
Box::pin(std::future::ready(Ok(GlobalInstructions {
instructions: vec![GlobalInstruction::new("refreshed instructions", None)],
instructions: vec![GlobalInstruction::new(
"refreshed instructions",
/*source*/ None,
)],
warnings: Vec::new(),
})))
}
+1 -1
View File
@@ -246,7 +246,7 @@ impl TestGlobalInstructionsContributor {
pub fn static_instructions(contents: impl Into<String>) -> Self {
Self::new(vec![Ok(GlobalInstructions {
instructions: vec![GlobalInstruction::new(contents, None)],
instructions: vec![GlobalInstruction::new(contents, /*source*/ None)],
warnings: Vec::new(),
})])
}