Skip to content

Add Agents window startup A/A experiment trigger - #328454

Merged
Benjamin Christopher Simmonds (benibenj) merged 2 commits into
microsoft:mainfrom
rfeltis:rfeltis/agents-window-aa-startup
Aug 4, 2026
Merged

Add Agents window startup A/A experiment trigger#328454
Benjamin Christopher Simmonds (benibenj) merged 2 commits into
microsoft:mainfrom
rfeltis:rfeltis/agents-window-aa-startup

Conversation

@rfeltis

@rfeltis Ralph Feltis (rfeltis) commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a BlockStartup treatment read for agentsWindowStartupAA when the Agents window first starts.
  • A/A: control and variant both expose the same flag/UX; assignment is for measurement only.
  • Unit test + short SESSIONS.md note.

Experiment

  • Workspace: dbd12384-5001-4e90-a863-526321eaf233 / vscodeexpws~agentswindowtest
  • Feature: Agents Window Startup A/A (agentsWindowStartupAA)

Test plan

  • Real Codespace Electron proof for control and treatment (HEVC 1600x1000)
  • Telemetry: tasClientReadTreatmentComplete with treatmentName=agentsWindowStartupAA and assignment context tokens for each arm
  • Unit test for startup experiment contribution

Product-ready proof videos (visible cohort assignment)

A/A arms are UX-identical; proof is the cohort allocation token visible in Developer: Show Telemetry (Find + full-window HEVC recording).

Treatment

Treatment cohort token in Telemetry

Control

Control cohort token in Telemetry

Notes

Read agentsWindowStartupAA at BlockStartup when the Agents window first starts so ExP can measure A/A assignment without changing UX.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d4d39cd2-7ec9-4170-a2e6-e3de5579589d
Copilot AI review requested due to automatic review settings July 31, 2026 17:22

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.

Pull request overview

Adds an Agents window startup A/A experiment exposure read.

Changes:

  • Reads agentsWindowStartupAA during startup.
  • Registers the contribution for desktop Agents windows.
  • Adds unit coverage and documentation.
Show a summary per file
File Description
src/vs/sessions/SESSIONS.md Documents the startup experiment.
sessionsWindowStartupExperiment.test.ts Verifies the treatment read.
sessionsWindowStartupExperiment.ts Implements the experiment contribution.
chat.contribution.ts Registers the desktop startup contribution.

Review details

  • Files reviewed: 4/4 changed files
  • Comments generated: 1
  • Review effort level: Balanced
}

registerWorkbenchContribution2(SelectAgentsFolderContribution.ID, SelectAgentsFolderContribution, WorkbenchPhase.BlockStartup);
registerWorkbenchContribution2(SessionsWindowStartupExperiment.ID, SessionsWindowStartupExperiment, WorkbenchPhase.BlockStartup);
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d4d39cd2-7ec9-4170-a2e6-e3de5579589d
@rfeltis

Copy link
Copy Markdown
Contributor Author

Product-ready proof videos (visible cohort assignment)

A/A arms are UX-identical; proof is the cohort allocation token visible in Developer: Show Telemetry (Find + full-window HEVC recording).

Treatment

Treatment cohort token in Telemetry

Control

Control cohort token in Telemetry

Notes

@connor4312

Copy link
Copy Markdown
Member

Ralph Feltis (@rfeltis) are you working with anyone on our team to land this?

@rfeltis

Copy link
Copy Markdown
Contributor Author

Hey Connor Peet (@connor4312) , I'll be working with Benjamin Christopher Simmonds (@benibenj) to land this. I'll probably need 2 stamps. Is this the right place to trigger an experiment on Agents window start?

@benibenj
Benjamin Christopher Simmonds (benibenj) merged commit 443507c into microsoft:main Aug 4, 2026
29 checks passed
@vs-code-engineering vs-code-engineering Bot added this to the 1.133.0 milestone Aug 4, 2026
Don Jayamanne (DonJayamanne) added a commit that referenced this pull request Aug 4, 2026
* origin/main: (31 commits)
  Improve workspace picker preselection (#328995)
  agentHost: support Codex custom agents and runtime enablement (#328956)
  Finalizes customEditorPriority proposal. Closes #292379 (#329002)
  Add Agents window startup A/A experiment trigger (#328454)
  sessions: show created session pill in response summary (#328984)
  Fix onboarding microphone picker visibility (#329011)
  Explains how to develop the markdown editor (#329009)
  Conditional agent-window auth for signed-out users (#328990)
  Fix BYOK enterprise policy handling in agent host
  Agent Host changes for fix/agent-host-byok-enterprise-policy
  agentHost: drive tool execution from the session input queue (#328989)
  Make Integrated Browser smoke tests deterministic across build qualities (#328983)
  Accept box sizing screenshot changes
  Avoid large Component Fixtures step outputs
  Remove component fixture box sizing reset
  fix: guard stale line numbers in test decorations (fixes #328988)
  sessions: fix maximized side pane toggle (#328974)
  Add component fixture rendering controls
  Reduce floating panel margins for layout consistency (#328963)
  agentHost: support file completions across workspace roots (#328944)
  ...

# Conflicts:
#	src/vs/sessions/SESSIONS.md
#	src/vs/sessions/contrib/providers/agentHost/browser/baseAgentHostSessionsProvider.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

6 participants