[codex] Enable auth elicitation by default (#28772)

## Summary

- enable `auth_elicitation` by default
- promote the feature to `Stable`, as default-enabled features must be
stable
- update the feature regression test to cover the new lifecycle state
and default

## Impact

Auth elicitation is now available without requiring users or clients to
opt in through configuration.

## Testing

- `just test -p codex-features` (52 passed)
This commit is contained in:
Matthew Zeng authored and GitHub committed 2026-07-07 11:48:27 -07:00
1 parent f158b31db5
commit ff06ab7172
6 files changed
+235 -21

No files matched your search

+3 -3
View File
@@ -316,9 +316,9 @@ fn tool_call_mcp_elicitation_is_stable_and_enabled_by_default() {
}
#[test]
fn auth_elicitation_is_under_development() {
assert_eq!(Feature::AuthElicitation.stage(), Stage::UnderDevelopment);
assert_eq!(Feature::AuthElicitation.default_enabled(), false);
fn auth_elicitation_is_stable_and_enabled_by_default() {
assert_eq!(Feature::AuthElicitation.stage(), Stage::Stable);
assert_eq!(Feature::AuthElicitation.default_enabled(), true);
assert_eq!(
feature_for_key("auth_elicitation"),
Some(Feature::AuthElicitation)