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
2026-03-27 20:48:21 -07:00
committed by GitHub
Unverified
parent f4d0cbfda6
commit e02fd6e1d3
5 changed files with 15 additions and 11 deletions
+4 -4
View File
@@ -717,19 +717,19 @@ mod tests {
fn agent_shortcut_matches_option_arrows_only() {
assert!(previous_agent_shortcut_matches(
KeyEvent::new(KeyCode::Left, crossterm::event::KeyModifiers::ALT,),
false
/*allow_word_motion_fallback*/ false
));
assert!(next_agent_shortcut_matches(
KeyEvent::new(KeyCode::Right, crossterm::event::KeyModifiers::ALT,),
false
/*allow_word_motion_fallback*/ false
));
assert!(!previous_agent_shortcut_matches(
KeyEvent::new(KeyCode::Char('b'), crossterm::event::KeyModifiers::ALT,),
false
/*allow_word_motion_fallback*/ false
));
assert!(!next_agent_shortcut_matches(
KeyEvent::new(KeyCode::Char('f'), crossterm::event::KeyModifiers::ALT,),
false
/*allow_word_motion_fallback*/ false
));
}