Skip to content

Show Fusion tier promotions only while running; drop Copilot Fusion research preview pill - #343269

Merged
Bhavya U (bhavyaus) merged 4 commits into
mainfrom
bhavyau/fusion-promo-window
Oct 21, 2026
Merged

Bhavya U (bhavyaus) merged 4 commits into
mainfrom
bhavyau/fusion-promo-window

Conversation

@bhavyaus

@bhavyaus Bhavya U (bhavyaus) commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

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 between startsAt and endsAt. This change makes VS Code do the same:

  • AgentHostLanguageModelProvider publishes only running promotions. Its existing timer still refreshes the picker when a promotion starts or ends.
  • Removed the handling for promotions that haven't started (upcoming, isAutoTierPromotionUpcoming, getPromoStartsAtLabel / "Starts {date}.").
  • With Fusion enabled, Auto's own discount (billing.auto_discount) is always ignored. The only discount comes from running promotions in service_messages, so Fusion shows no discount when no promotion is running.
  • A running promotion still ends with "Ends {date}."

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.

…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]>
Copilot AI balanced review requested due to automatic review settings October 21, 2026 17:05
Only Copilot Fusion drops it.

Co-authored-by: Copilot <[email protected]>
@bhavyaus Bhavya U (bhavyaus) changed the title Show Fusion tier promotions only while running; drop HydraFusion research preview pill Show Fusion tier promotions only while running; drop Copilot Fusion research preview pill Oct 21, 2026
@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Base: 3a2cddb7 Current: a5d9b3d2

No screenshot changes.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

Bhavya U (bhavyaus) and others added 2 commits October 21, 2026 10:51
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]>

@connor4312 Connor Peet (connor4312) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

No actionable P1 or P2 security or correctness findings.

Written by Connor's agent running GPT-6.1 Sol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants