Skip to content

chore: deprecate old web search feature flags#10097

Merged
sayan-oai merged 2 commits intomainfrom
dev/sayan/deprecate-old-search-flags
Jan 28, 2026
Merged

chore: deprecate old web search feature flags#10097
sayan-oai merged 2 commits intomainfrom
dev/sayan/deprecate-old-search-flags

Conversation

@sayan-oai
Copy link
Collaborator

deprecate all old web search flags and aliases, including:

  • [features].web_search_request and [features].web_search_cached
  • [tools].web_search
  • [features].web_search

slightly rework legacy_usages to enable pointing to non-features from deprecated features; we need to point to web_search (not under [features]) from things like [features].web_search_cached and [features].web_search_request.

Added integration tests to confirm deprecation notice is shown on explicit enablement and disablement of deprecated flags.

slightly rework legacy_usages to enable pointing to non-features from deprecated features
}
}

fn legacy_usage_notice(alias: &str, feature: Feature) -> (String, Option<String>) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know how I feel about rendering inside core but this logic has to be somewhere.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea, we emit from core. i think having it next to the rest of the logic is nicer than hiding it in another module for now.

@sayan-oai sayan-oai merged commit 851617f into main Jan 28, 2026
32 checks passed
@sayan-oai sayan-oai deleted the dev/sayan/deprecate-old-search-flags branch January 28, 2026 18:56
@github-actions github-actions bot locked and limited conversation to collaborators Jan 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants