chore: enforce argument-comment lint across all targets

This commit is contained in:
Michael Bolin
2026-03-27 16:14:21 -07:00
parent 5b71e5104f
commit a4fa041e7f
359 changed files with 10414 additions and 6807 deletions
+24 -12
View File
@@ -5,23 +5,35 @@ use codex_cloud_tasks_client::MockClient;
async fn mock_backend_varies_by_env() {
let client = MockClient;
let root = CloudBackend::list_tasks(&client, None, None, None)
.await
.unwrap()
.tasks;
let root = CloudBackend::list_tasks(
&client, /*env*/ None, /*limit*/ None, /*cursor*/ None,
)
.await
.unwrap()
.tasks;
assert!(root.iter().any(|t| t.title.contains("Update README")));
let a = CloudBackend::list_tasks(&client, Some("env-A"), None, None)
.await
.unwrap()
.tasks;
let a = CloudBackend::list_tasks(
&client,
Some("env-A"),
/*limit*/ None,
/*cursor*/ None,
)
.await
.unwrap()
.tasks;
assert_eq!(a.len(), 1);
assert_eq!(a[0].title, "A: First");
let b = CloudBackend::list_tasks(&client, Some("env-B"), None, None)
.await
.unwrap()
.tasks;
let b = CloudBackend::list_tasks(
&client,
Some("env-B"),
/*limit*/ None,
/*cursor*/ None,
)
.await
.unwrap()
.tasks;
assert_eq!(b.len(), 2);
assert!(b[0].title.starts_with("B: "));
}