From 9b592ee45d3730ce166f4cb3e08779e06025b407 Mon Sep 17 00:00:00 2001 From: Ruslan Nigmatullin Date: Tue, 21 Apr 2026 17:45:28 -0700 Subject: [PATCH] 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. --- codex-rs/device-key/src/platform/macos.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/codex-rs/device-key/src/platform/macos.rs b/codex-rs/device-key/src/platform/macos.rs index 1d1ca0499a..8215b6e7de 100644 --- a/codex-rs/device-key/src/platform/macos.rs +++ b/codex-rs/device-key/src/platform/macos.rs @@ -326,7 +326,9 @@ impl MacKeyClass { } fn load_private_key(key_id: &str, class: MacKeyClass) -> Result, 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(