Mark multi-agent v2 as stable (#34383)

## What changed

- Classify `multi_agent_v2` as stable while keeping it disabled by default.
- Exclude structured `multi_agent_v2` configuration from under-development feature warnings.

## Testing

- Update the warning-event test to verify that only the remaining under-development feature is reported.

GitOrigin-RevId: 12cb661dde9bc7b5aeae2f83476cb5ff75e0c959
This commit is contained in:
jif
2026-07-20 17:20:33 +00:00
committed by copyberry
parent 19b2273d8a
commit b00c9b2e16
2 changed files with 3 additions and 3 deletions

View File

@@ -1049,7 +1049,7 @@ pub const FEATURES: &[FeatureSpec] = &[
FeatureSpec {
id: Feature::MultiAgentV2,
key: "multi_agent_v2",
stage: Stage::UnderDevelopment,
stage: Stage::Stable,
default_enabled: false,
},
FeatureSpec {

View File

@@ -531,7 +531,7 @@ fn unstable_warning_event_only_mentions_enabled_under_development_features() {
}
#[test]
fn unstable_warning_event_mentions_enabled_structured_under_development_feature() {
fn unstable_warning_event_ignores_enabled_structured_stable_feature() {
let configured_features: Table = toml::from_str(
r#"
multi_agent_v2 = { enabled = true, tool_namespace = "agents" }
@@ -556,7 +556,7 @@ code_mode = true
panic!("expected warning event");
};
assert_eq!(
"Under-development features enabled: code_mode, multi_agent_v2. Under-development features are incomplete and may behave unpredictably. To suppress this warning, set `suppress_unstable_features_warning = true` in /tmp/config.toml.".to_string(),
"Under-development features enabled: code_mode. Under-development features are incomplete and may behave unpredictably. To suppress this warning, set `suppress_unstable_features_warning = true` in /tmp/config.toml.".to_string(),
message
);
}