Repository navigation
Show Fusion tier promotions only while running; drop Copilot Fusion research preview pill - #343269
Merged
Merged
Conversation
…arch preview pill
Fusion tier promotions from the SDK (dynamic auto tiers) were shown before
they started with a "{message} Starts {date}." banner. Match the CLI and App:
only render a promotion between its startsAt and endsAt, and drop the
"Starts {date}." text.
Also remove the "Research preview" pill from HydraFusion, HydraFusion Max, and
Copilot Fusion.
Co-authored-by: Copilot <[email protected]>
Only Copilot Fusion drops it. Co-authored-by: Copilot <[email protected]>
Contributor
|
Base:
|
Contributor
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
2 open issues
What changed in this PR
Aligns Fusion tier promotion display with CLI/App behavior by showing only running promotions, and removes the “Research preview” pill from Fusion/HydraFusion UI and accessibility surfaces.
Changes:
- Filter and publish only active auto-tier promotions; remove upcoming promotion UI/labels and related metadata.
- Remove “Research preview” badge/detail for Fusion/HydraFusion surfaces when no discount is running.
- Update and extend tests to reflect active-only promotion behavior and badge removal.
| File | Description |
|---|---|
| src/vs/workbench/contrib/chat/common/languageModels.ts | Removes “upcoming” promo handling and changes promo selection to active-only. |
| src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLanguageModelProvider.ts | Publishes only active promotions and removes “Research preview” detail for Fusion. |
| src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerPresentation.ts | Stops returning “Research preview” badge when no discount applies. |
| src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerCard.ts | Removes upcoming-vs-active promo banner handling; always uses “Ends {date}”. |
| src/vs/workbench/contrib/chat/test/browser/agentSessions/agentHostLanguageModelProvider.test.ts | Updates assertions for active-only promos and removal of “Research preview” detail. |
| src/vs/workbench/contrib/chat/test/browser/widget/input/modelPicker/modelPickerCard.test.ts | Updates promo-window test expectations and adds “no promotions shows own discount” test. |
| src/vs/workbench/contrib/chat/test/browser/widget/input/modelPicker/modelPickerTabbedWidget.test.ts | Updates badge expectations now that “Research preview” is removed. |
Review effort: Lite
With Fusion, the discount comes only from the service's running tier promotions (service_messages); billing.auto_discount is never shown. Co-authored-by: Copilot <[email protected]>
…one pass Co-authored-by: Copilot <[email protected]>
Connor Peet (connor4312)
approved these changes
Oct 21, 2026
Connor Peet (connor4312)
left a comment
Member
There was a problem hiding this comment.
No actionable P1 or P2 security or correctness findings.
Written by Connor's agent running GPT-6.1 Sol
Bhavya U (bhavyaus)
enabled auto-merge (squash)
October 21, 2026 18:03
This was referenced Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Fixes:
https://github.com/microsoft/vscode-internalbacklog/issues/10219
Proposed changes
Fusion tier promotions (dynamic auto tiers): Promotions that come from the SDK were shown before their start date, with a
"{message} Starts {date}."banner. The CLI and App only show a discount betweenstartsAtandendsAt. This change makes VS Code do the same:AgentHostLanguageModelProviderpublishes only running promotions. Its existing timer still refreshes the picker when a promotion starts or ends.upcoming,isAutoTierPromotionUpcoming,getPromoStartsAtLabel/ "Starts {date}.").billing.auto_discount) is always ignored. The only discount comes from running promotions inservice_messages, so Fusion shows no discount when no promotion is running.Copilot Fusion research preview pill: Copilot Fusion (Auto) no longer shows "Research preview" when it has no discount. It shows a discount pill when it has a discount and no pill otherwise. HydraFusion and HydraFusion Max keep their "Research preview" pill.
How to test
With dynamic auto tiers enabled, give a tier a promotion that starts in the future. Fusion should show no promo banner and no discount (not even Auto's own) until the start time. After it starts, the banner reads
{message} Ends {date}.Copilot Fusion no longer shows the "Research preview" pill, and HydraFusion still does.