codex: fix CI failure on PR #18431

## Summary

Add the required parameter-name comment for the None authentication-context argument in the macOS device-key lookup path. CI macOS argument-comment lint enforces these comments for positional literal-like arguments.

## Validation

- just fmt
- cargo test -p codex-device-key
- just fix -p codex-device-key
- bazel build --config=argument-comment-lint //codex-rs/device-key:device-key-unit-tests-bin
- git diff --check

Note: a full local just argument-comment-lint run reached the fixed device-key target, then failed later in an unrelated webrtc-sys build script with a stale sandbox path outside this PR changes.
This commit is contained in:
Ruslan Nigmatullin
2026-04-23 21:58:51 -07:00
parent 4785b945e8
commit 9b592ee45d
+3 -1
View File
@@ -326,7 +326,9 @@ impl MacKeyClass {
}
fn load_private_key(key_id: &str, class: MacKeyClass) -> Result<Option<SecKey>, DeviceKeyError> {
load_private_key_with_optional_authentication_context(key_id, class, None)
load_private_key_with_optional_authentication_context(
key_id, class, /*authentication_context*/ None,
)
}
fn load_private_key_with_authentication_context(