chore(features) codex dependencies feat (#17960)

## Summary
Setting this up

## Testing
- [x] Unit tests pass
This commit is contained in:
Dylan Hurd
2026-04-15 10:59:59 -07:00
committed by GitHub
Unverified
parent a3d475d33f
commit 652380d362
3 changed files with 24 additions and 0 deletions
+6
View File
@@ -523,6 +523,9 @@
},
"web_search_request": {
"type": "boolean"
},
"workspace_dependencies": {
"type": "boolean"
}
},
"type": "object"
@@ -2380,6 +2383,9 @@
},
"web_search_request": {
"type": "boolean"
},
"workspace_dependencies": {
"type": "boolean"
}
},
"type": "object"
+8
View File
@@ -191,6 +191,8 @@ pub enum Feature {
ResponsesWebsocketsV2,
/// Use the agent identity registration flow for ChatGPT-authenticated sessions.
UseAgentIdentity,
/// Enable workspace dependency support.
WorkspaceDependencies,
}
impl Feature {
@@ -929,6 +931,12 @@ pub const FEATURES: &[FeatureSpec] = &[
stage: Stage::UnderDevelopment,
default_enabled: false,
},
FeatureSpec {
id: Feature::WorkspaceDependencies,
key: "workspace_dependencies",
stage: Stage::Stable,
default_enabled: true,
},
];
pub fn unstable_features_warning_event(
+10
View File
@@ -183,6 +183,16 @@ fn use_agent_identity_is_under_development() {
assert_eq!(Feature::UseAgentIdentity.default_enabled(), false);
}
#[test]
fn workspace_dependencies_is_stable_and_enabled_by_default() {
assert_eq!(Feature::WorkspaceDependencies.stage(), Stage::Stable);
assert_eq!(Feature::WorkspaceDependencies.default_enabled(), true);
assert_eq!(
feature_for_key("workspace_dependencies"),
Some(Feature::WorkspaceDependencies)
);
}
#[test]
fn collab_is_legacy_alias_for_multi_agent() {
assert_eq!(feature_for_key("multi_agent"), Some(Feature::Collab));