fix: clean up remaining Windows argument-comment-lint violations (#16071)

## Why

The initial `argument-comment-lint` rollout left Windows on
default-target coverage because there were still Windows-only callsites
failing under `--all-targets`. This follow-up cleans up those remaining
Windows-specific violations so the Windows CI lane can enforce the same
stricter coverage, leaving Linux as the remaining platform-specific
follow-up.

## What changed

- switched the Windows `rust-ci` argument-comment-lint step back to the
default wrapper invocation so it runs full-target coverage again
- added the required `/*param_name*/` annotations at Windows-gated
literal callsites in:
  - `codex-rs/windows-sandbox-rs/src/lib.rs`
  - `codex-rs/windows-sandbox-rs/src/elevated_impl.rs`
  - `codex-rs/tui_app_server/src/multi_agents.rs`
  - `codex-rs/network-proxy/src/proxy.rs`

## Validation

- Windows `argument comment lint` CI on this PR
This commit is contained in:
Michael Bolin authored and GitHub committed 2026-03-27 20:48:21 -07:00
1 parent f4d0cbfda6
commit e02fd6e1d3
5 files changed
+15 -11

No files matched your search

@@ -490,12 +490,12 @@ mod windows_impl {
#[test]
fn applies_network_block_when_access_is_disabled() {
assert!(!workspace_policy(false).has_full_network_access());
assert!(!workspace_policy(/*network_access*/ false).has_full_network_access());
}
#[test]
fn skips_network_block_when_access_is_allowed() {
assert!(workspace_policy(true).has_full_network_access());
assert!(workspace_policy(/*network_access*/ true).has_full_network_access());
}
#[test]
+6 -2
View File
@@ -617,12 +617,16 @@ mod windows_impl {
#[test]
fn applies_network_block_when_access_is_disabled() {
assert!(should_apply_network_block(&workspace_policy(false)));
assert!(should_apply_network_block(&workspace_policy(
/*network_access*/ false
)));
}
#[test]
fn skips_network_block_when_access_is_allowed() {
assert!(!should_apply_network_block(&workspace_policy(true)));
assert!(!should_apply_network_block(&workspace_policy(
/*network_access*/ true
)));
}
#[test]