Skip to content

sessions: Premium polish for guided model comparison - #339642

Merged
Megan Rogge (meganrogge) merged 52 commits into
microsoft:mainfrom
eli-w-king:eli/agents/compare-picker-checkboxes
Oct 16, 2026
Merged

Megan Rogge (meganrogge) merged 52 commits into
microsoft:mainfrom
eli-w-king:eli/agents/compare-picker-checkboxes

Conversation

@eli-w-king

@eli-w-king Elijah King (eli-w-king) commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #341817
Fixes #339691
Fixes #339688
Fixes #339722

Builds on #339384's guided model comparison / bakeoff setup with focused UI polish and the minimal state/launch plumbing required for same-model effort variants.

Compare-mode setup

  • Select attempt models with checkboxes and an inline Done/Next, instead of a repeat-count stepper
  • Keep the picker in place while setting up a comparison. Checking a model, adding an effort variant, or changing a model's effort in Details updates the rows in place, instead of showing the list again or resizing the popup so it moves beside its anchor
  • Add a same-model, different-effort variant as its own attempt (e.g. compare GPT-5.6 Terra Medium vs Max directly)
  • Reuse the model Details flyout for in-row configuration in compare mode
  • Composer pill shows each attempt's model icon instead of a joined name list

Scorecard (Judge result)

  • Judge result renders as a scorecard: recommended attempt, per-attempt time/tokens, and an expandable row for the full rationale and validation evidence (collapsed by default)
  • Expanded rows keep validation evidence out of the summary scorecard while exposing each result, evidence source, and purpose through pointer and keyboard hover; comparisons where nothing ran show one clear explanation
  • The rationale leads with the Solution, then Comparison, Validation, and Code quality
  • Every attempt can be opened from the scorecard, with an always-visible open arrow on each row and an "Open Attempt N" link at the end of each expanded row
  • A round of visual polish on spacing, numbering, and type weight
  • Fix the scorecard bleeding past the chat input's width. It was centering itself again against the pane's uncapped width while its parent already centers and caps it in CSS, so the inset was applied twice
Before After
Scorecard before Scorecard after
Expanded row before Expanded row after

Supporting fixes

  • Keep queued effort variants distinct from the model's persisted base effort, including after the base effort changes
  • Make validation explanations keyboard-discoverable and keep unknown/not-applicable states accurately labeled
  • Fix focus restoring to the wrong row after model-picker refreshes
  • Let a model's Details select that model again when comparing is available but not started. In the Agents window, an effort or Fast choice there was being ignored

Demo

compare-models-scorecard-and-synthesis.mp4

One continuous take in a local build of this branch, with real model responses. Idle agent time is sped up in place and nothing is cut.

  • Four attempts (GPT-5.6 Terra at Medium and Max effort, Gemini 4 Argon, and GPT-6 Luna) work on "Find and fix the event listener leaks in the agents voice UI under src/vs/workbench/contrib/agentsVoice." The voice UI leaks in several places, so the attempts find different ones and synthesis has something to combine
  • A Claude Sonnet 5.5 Judge recommends GPT-5.6 Terra at Max effort and lists what is worth keeping from the other attempts
  • The video opens Gemini 4 Argon from the scorecard, because the Judge called out its window lifecycle fixes
  • Claude Opus 5.5 synthesis builds on the winner, adds Gemini's window lifecycle fixes and Terra Medium's BroadcastChannel cleanup, and says what it left out and why

Mixed-harness execution and permissions

Added by Megan Rogge.

  • Comparison selections retain the harness tab they came from, so Copilot, Claude, and Codex models launch through their own session types for attempts, Judge, and Synthesizer instead of being re-resolved through the first compatible catalog.
  • Permission intent is translated to each harness native preset: Copilot Allow all uses autoApprove, Claude uses bypassPermissions, and Codex uses full-access. Manual/default intent maps to each harness default preset.
  • A draft mode is preserved only when the participant uses the same harness. Copilot modes such as interactive or autopilot are never copied to Claude or Codex, preventing the failed Claude startup that previously left comparisons at 2 of 3 ready.
  • Regression coverage verifies exact harness routing, native permission translation, and that cross-harness participants receive no incompatible source mode.
  • Restored sessions.chat.compareAgents.hideInactiveInputs for real comparison grids with three or more panes. The behavior is doubly scoped to the active comparison grid, never hides the active pane input, remains disabled for screen-reader optimized mode, and does not affect ordinary multi-session layouts.

Testing

  • Updated to the latest main, including the comparison picker and sidebar changes from Fix comparison model picker details #341601 and sessions: improve comparison UI rendering #341610
  • npm run typecheck-client, npm run valid-layers-check, npm run stylelint, eslint, and pre-commit hygiene pass
  • Affected suites pass: TabbedModelPicker (105), TabbedActionListWidget (55), NewChatWidget (103), SessionsChatAccessibilityHelp (42), SessionComparisonModelSelection (18), ModelPickerActionItem (10), SessionComparisonResult (3), and SessionsList (236)
  • New tests fail without their fixes: checking a model updates the rows in place, a deferred refresh keeps its size once Details closes, changing a compared model's effort doesn't measure the popup again, and Details still select their model when comparing is available but not started
  • Manually validated end-to-end in a local build (setup, attempts, Judge, opening an attempt from the scorecard, synthesis)

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.

Copilot review overview

🟡 Changes recommended

Effort variants can become duplicate attempts, and newly added explanatory controls are not fully keyboard accessible.

Review effort: Balanced
Findings: 4 Medium severity

Open (4)
What changed in this PR

Polishes guided model comparison across the Sessions UI while fixing model availability, permission inheritance, focus restoration, and comparison lifecycle issues.

Changes:

  • Adds checkbox-based model selection, configurable effort variants, cross-harness models, and stable picker behavior.
  • Introduces the Judge scorecard and collapsible instruction disclosures.
  • Improves comparison permissions, grouping, archival, restoration, documentation, and tests.
File Description
src/​vs/​platform/​actionWidget/​browser/​actionList.ts Improves focus restoration after refresh.
src/​vs/​platform/​actionWidget/​browser/​tabbedActionListWidget.css Styles workflow footer layout.
src/​vs/​platform/​actionWidget/​browser/​tabbedActionListWidget.ts Supports stable-size list refreshes.
src/​vs/​platform/​actionWidget/​test/​browser/​tabbedActionListWidget.test.ts Tests refreshed list sizing and focus.
src/​vs/​platform/​agentHost/​common/​sessionComparisonPrompts.ts Updates Judge and synthesis prompts.
src/​vs/​sessions/​SESSION_COMPARISONS.md Documents the revised comparison workflow.
src/​vs/​sessions/​contrib/​chat/​browser/​chat.contribution.ts Registers comparison configuration.
src/​vs/​sessions/​contrib/​chat/​browser/​chatView.ts Integrates comparison result presentation.
src/​vs/​sessions/​contrib/​chat/​browser/​media/​chatInput.css Polishes comparison composer styling.
src/​vs/​sessions/​contrib/​chat/​browser/​media/​sessionComparisonResult.css Styles the Judge scorecard.
src/​vs/​sessions/​contrib/​chat/​browser/​media/​sessionComparisonSetupDialog.css Removes obsolete dialog styling.
src/​vs/​sessions/​contrib/​chat/​browser/​modelPicker.ts Supplies comparison picker destinations.
src/​vs/​sessions/​contrib/​chat/​browser/​newChatInput.ts Updates comparison input integration.
src/​vs/​sessions/​contrib/​chat/​browser/​newChatModelPicker.ts Connects picker workflow state.
src/​vs/​sessions/​contrib/​chat/​browser/​newChatWidget.ts Resolves and launches selected attempts.
src/​vs/​sessions/​contrib/​chat/​browser/​sessionComparisonModelSelection.ts Manages attempts, variants, and roles.
src/​vs/​sessions/​contrib/​chat/​browser/​sessionComparisonResult.ts Implements the scorecard UI.
src/​vs/​sessions/​contrib/​chat/​browser/​sessionComparisonSetupDialog.ts Removes the legacy setup dialog.
src/​vs/​sessions/​contrib/​chat/​browser/​sessionModelSelection.ts Updates available-model handling.
src/​vs/​sessions/​contrib/​chat/​browser/​sessionsChatAccessibilityHelp.ts Documents scorecard keyboard behavior.
src/​vs/​sessions/​contrib/​chat/​common/​constants.ts Adds comparison configuration constants.
src/​vs/​sessions/​contrib/​chat/​test/​browser/​chatView.fixture.ts Updates chat-view fixtures.
src/​vs/​sessions/​contrib/​chat/​test/​browser/​chatView.test.ts Tests comparison view behavior.
src/​vs/​sessions/​contrib/​chat/​test/​browser/​newChatInput.fixture.ts Updates composer fixtures.
src/​vs/​sessions/​contrib/​chat/​test/​browser/​newChatInput.test.ts Tests comparison input state.
src/​vs/​sessions/​contrib/​chat/​test/​browser/​newChatUserInteraction.test.ts Tests comparison interactions.
src/​vs/​sessions/​contrib/​chat/​test/​browser/​newChatWidget.fixture.ts Adds polished workflow fixtures.
src/​vs/​sessions/​contrib/​chat/​test/​browser/​newChatWidget.test.ts Tests launching and model resolution.
src/​vs/​sessions/​contrib/​chat/​test/​browser/​sessionComparisonModelPicker.fixture.ts Adds comparison picker fixtures.
src/​vs/​sessions/​contrib/​chat/​test/​browser/​sessionComparisonModelSelection.test.ts Tests selection and variants.
src/​vs/​sessions/​contrib/​chat/​test/​browser/​sessionComparisonResult.fixture.ts Adds scorecard fixtures.
src/​vs/​sessions/​contrib/​chat/​test/​browser/​sessionComparisonResult.test.ts Tests scorecard interactions and output.
src/​vs/​sessions/​contrib/​chat/​test/​browser/​sessionComparisonSetupDialog.test.ts Removes legacy dialog tests.
src/​vs/​sessions/​contrib/​chat/​test/​browser/​sessionsChatAccessibilityHelp.test.ts Tests updated accessibility guidance.
src/​vs/​sessions/​contrib/​providers/​agentHost/​browser/​agentHostSessionPermissions.ts Maps Agent Host permissions dynamically.
src/​vs/​sessions/​contrib/​providers/​agentHost/​browser/​baseAgentHostSessionsProvider.ts Validates inherited participant configuration.
src/​vs/​sessions/​contrib/​providers/​agentHost/​test/​browser/​agentHostSessionPermissions.test.ts Tests permission mapping.
src/​vs/​sessions/​contrib/​providers/​agentHost/​test/​browser/​localAgentHostSessionsProvider.test.ts Tests participant configuration inheritance.
src/​vs/​sessions/​contrib/​sessionComparison/​browser/​sessionComparisonTool.ts Revises structured Judge submissions.
src/​vs/​sessions/​contrib/​sessionComparison/​test/​browser/​sessionComparisonTool.test.ts Tests verdict validation.
src/​vs/​sessions/​contrib/​sessions/​browser/​media/​sessionsList.css Removes obsolete comparison styling.
src/​vs/​sessions/​contrib/​sessions/​browser/​views/​sessionsList.ts Updates comparison group rendering.
src/​vs/​sessions/​contrib/​sessions/​browser/​views/​sessionsViewActions.ts Integrates archive and undo behavior.
src/​vs/​sessions/​contrib/​sessions/​test/​browser/​sessionsArchiveActions.test.ts Tests comparison archive restoration.
src/​vs/​sessions/​contrib/​sessions/​test/​browser/​sessionsList.test.ts Tests comparison list grouping.
src/​vs/​sessions/​services/​sessions/​browser/​sessionComparisonService.ts Manages lifecycle, groups, and results.
src/​vs/​sessions/​services/​sessions/​browser/​sessionGroupsService.ts Supports generated group restoration.
src/​vs/​sessions/​services/​sessions/​browser/​sessionsManagementService.ts Updates session archival integration.
src/​vs/​sessions/​services/​sessions/​common/​sessionComparison.ts Extends comparison data contracts.
src/​vs/​sessions/​services/​sessions/​common/​sessionsProvider.ts Revises provider permission contracts.
src/​vs/​sessions/​services/​sessions/​test/​browser/​sessionComparisonService.test.ts Tests lifecycle and grouping behavior.
src/​vs/​sessions/​services/​sessions/​test/​browser/​sessionGroupsService.test.ts Tests group recreation semantics.
src/​vs/​sessions/​services/​sessions/​test/​browser/​sessionsManagementService.test.ts Tests archive management integration.
src/​vs/​workbench/​api/​common/​extHostLanguageModelTools.ts Exposes selected models to tools.
src/​vs/​workbench/​api/​common/​extHostLanguageModels.ts Resolves explicit model selections safely.
src/​vs/​workbench/​api/​test/​common/​extHostLanguageModelTools.test.ts Tests tool model resolution.
src/​vs/​workbench/​contrib/​chat/​browser/​chat.ts Extends chat renderer options.
src/​vs/​workbench/​contrib/​chat/​browser/​widget/​chatListRenderer.ts Adds collapsible request disclosures.
src/​vs/​workbench/​contrib/​chat/​browser/​widget/​chatListWidget.ts Refreshes disclosure summaries.
src/​vs/​workbench/​contrib/​chat/​browser/​widget/​chatWidget.ts Propagates renderer options.
src/​vs/​workbench/​contrib/​chat/​browser/​widget/​input/​modelPicker/​media/​modelPicker.css Styles workflow and variant controls.
src/​vs/​workbench/​contrib/​chat/​browser/​widget/​input/​modelPicker/​modelPickerActionItem.ts Shows committed workflow summaries.
src/​vs/​workbench/​contrib/​chat/​browser/​widget/​input/​modelPicker/​modelPickerCard.ts Adds configurable effort variants.
src/​vs/​workbench/​contrib/​chat/​browser/​widget/​input/​modelPicker/​modelPickerItems.ts Updates picker item presentation.
src/​vs/​workbench/​contrib/​chat/​browser/​widget/​input/​modelPicker/​modelPickerTabbedWidget.ts Implements the guided picker workflow.
src/​vs/​workbench/​contrib/​chat/​browser/​widget/​input/​modelPicker/​modelPickerWidget.ts Passes workflow state into pickers.
src/​vs/​workbench/​contrib/​chat/​browser/​widget/​input/​modelPicker/​modelPickerWorkflow.ts Defines workflow and variant contracts.
src/​vs/​workbench/​contrib/​chat/​browser/​widget/​media/​chat.css Styles request disclosures.
src/​vs/​workbench/​contrib/​chat/​test/​browser/​widget/​chatListRenderer.test.ts Tests disclosure rendering and state.
src/​vs/​workbench/​contrib/​chat/​test/​browser/​widget/​chatListWidget.test.ts Tests dynamic disclosure updates.
src/​vs/​workbench/​contrib/​chat/​test/​browser/​widget/​input/​modelPicker/​modelPickerActionItem.test.ts Tests committed workflow labels.
src/​vs/​workbench/​contrib/​chat/​test/​browser/​widget/​input/​modelPicker/​modelPickerTabbedWidget.test.ts Tests workflow selection and variants.
src/​vs/​workbench/​test/​browser/​componentFixtures/​chat/​tabbedModelPicker.fixture.ts Enables workflow picker fixtures.
src/​vscode-dts/​vscode.proposed.chatParticipantAdditions.d.ts Documents selected-model tool access.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@eli-w-king
Elijah King (eli-w-king) force-pushed the eli/agents/compare-picker-checkboxes branch from 0bb2e50 to dc4a07f Compare October 5, 2026 16:30
@eli-w-king
Elijah King (eli-w-king) marked this pull request as ready for review October 5, 2026 16:31
@vs-code-engineering

vs-code-engineering Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

Benjamin Christopher Simmonds (@benibenj)

Matched files:

  • src/vs/sessions/browser/parts/media/sessionView.css

Sandeep Somavarapu (@sandy081)

Matched files:

  • src/vs/sessions/services/sessions/browser/sessionComparisonService.ts
  • src/vs/sessions/services/sessions/common/sessionComparison.ts
  • src/vs/sessions/services/sessions/common/sessionsProvider.ts
  • src/vs/sessions/services/sessions/test/browser/sessionComparisonService.test.ts

Ladislau Szomoru (@lszomoru)

Matched files:

  • src/vs/sessions/services/sessions/browser/sessionComparisonService.ts
  • src/vs/sessions/services/sessions/common/sessionComparison.ts
  • src/vs/sessions/services/sessions/common/sessionsProvider.ts
  • src/vs/sessions/services/sessions/test/browser/sessionComparisonService.test.ts

Elijah King (eli-w-king) and others added 13 commits October 5, 2026 10:47
- Move the Compare Models toggle to the end of the picker tab bar, next to Search.
- Show the comparison description as the banner: "Select two or more models to run one prompt in parallel. Compare results or have them judged and combined." Judge and Synthesizer descriptions match its length and tone.
- Render attempt choices as checkboxes, with checked rows tinted.
- Footer: only Close until 2 to 10 models are checked, then Close, Done and a next arrow. Judge and Synthesizer use normal single selection with Back, Done and Next; the last step drops Next and widens Done.
- Done is available on every step once 2 to 10 models are checked; it saves the setup, closes the picker and returns focus to the prompt.
- Comparisons now require 2 to 10 distinct models, so the single-model Number of Runs control is no longer offered.

Co-authored-by: Copilot <[email protected]>
…e setup

Comparison result
- Rebuild the Judge result as a scorecard docked above the Judge input: the winning model with its attempt number and the Judge's explanation, beside Open Attempt N and Synthesize.
- Every attempt is a row, recommended first, with its number chip, model and effort, validation checks, time and tokens with thin meters.
- A row expands to the Judge's reasoning for the winner, or what is worth keeping, gaps and validation evidence for the others.
- Rounded number chips instead of outlined circles, one semibold weight, hairline rows, tabular numerals, and a narrow layout that keeps model names whole.
- Add a Component Explorer fixture with collapsed, expanded, synthesis started and narrow states.

Compare setup
- Remove Close from the footer. Done and Next keep their places and are disabled unless 2 to 10 models are checked.
- More than ten models can be checked; Done and Next are then disabled again and the footer status shows the limit until some are cleared.
- The footer shows how many models are selected; Back is a quiet text action on the Judge and Synthesizer steps, and the last step offers only Done.

Update the comparison docs and the accessibility help to match.

Co-authored-by: Copilot <[email protected]>
Checking a model re-rendered the whole picker and revealed that row at the top of the list, so the list jumped on every click. Update the rows in place with the scroll position preserved, and let the footer follow the workflow state so Done, Next, and the selection status still update.

Co-authored-by: Copilot <[email protected]>
Refreshing the list re-measured the sizing tab, which measures taller with checkbox rows, so the popup grew after the first check and pinned itself to the top of the window over its anchor. Add a size-preserving refresh to the tabbed action list and use it for checked rows.

Co-authored-by: Copilot <[email protected]>
- Scorecard rows show just the model name; the attempt-number chip is
  gone from both the row and the winner title (still used in text
  labels like "Open Attempt 2" and accessible content).
- Removed the per-row divider lines; one line now separates the column
  header from the list.
- Expanded detail is one simple column instead of a two-column grid,
  for every row including the winner.
- Every expanded row, winner included, now shows the same compact
  checks strip, so recommended and non-recommended attempts read
  consistently.
- Check hovers explain what each check verifies, not just its state.
- When every attempt shares the same non-pass/fail check state (e.g.
  nothing ran), the checks column collapses to a dash and one shared
  note explains it instead of repeating four uninformative icons per
  row.
- The composer's model pill now names the selected attempt models
  (e.g. "Claude Haiku 4.5, GPT-5.4 mini") instead of a bare count,
  falling back to the count when a label cannot be resolved.

Co-authored-by: Copilot <[email protected]>
Each checkable row in the Attempts, Judge, and Synthesizer steps now
keeps its Details entry point, the same Thinking Level and Context
Size flyout the single-model picker already uses for models that
support configurable reasoning effort or context size. This lets a
comparison attempt run at a specific effort rather than whatever a
model's last global default happened to be, reusing the existing
configuration mechanism rather than inventing a new one.

A configuration change inside Details no longer falls through to the
single-model selection path while a workflow is active (there is no
one 'selected' model to swap in compare mode); it refreshes the row
in place instead, the same way checking a model already does.

Co-authored-by: Copilot <[email protected]>
A checked Attempts row's Details flyout now offers "Compare at another
effort": one click per not-yet-queued thinking-effort choice adds
another attempt of that same model at that configuration, each
removable independently. This lets a comparison mix e.g. the same model
once at High and once at Max, which previously was not possible since
an attempt was keyed by bare model id alone.

- modelPickerWorkflow.ts: IModelPickerWorkflow gained getVariants,
  addVariant, and removeVariant; a new IModelPickerWorkflowVariant
  describes one queued configuration and its display label.
- sessionComparisonModelSelection.ts: IComparisonModelSelection tracks
  variants per model id. attemptModelIds/summary are now derived from a
  new, richer attempts observable (model id plus optional configuration
  override and variant label), preserving every existing observable's
  exact prior shape. Validity and the footer status count total
  attempts (one per model plus its variants), computed separately from
  the legacy single-model repeat-count path so that dead-but-tested
  fallback cannot leak into Done/Next gating.
- modelPickerCard.ts: ModelCard gained an optional workflowVariants
  option; when present, a new section lists already-queued variants as
  removable chips beside one addable chip per remaining configuration
  choice.
- modelPickerTabbedWidget.ts: wires workflowVariants into a checked
  Attempts row's Details card, and appends +N to the row's summary
  badge when it has queued variants.
- newChatWidget.ts: resolveHarness takes an optional configuration
  override; a variant attempt runs at exactly that configuration
  instead of whatever the model's global default happens to be.
- Tests: a data-model test covers adding/removing variants and their
  effect on Done/Next and the attempt count; a widget test drives the
  full add/remove flow through the Details flyout and checks the row's
  badge and the card's chip lists.
- SESSION_COMPARISONS.md: documents variants in the Scope paragraph and
  the Attempt participant definition.

Co-authored-by: Copilot <[email protected]>
Removed the always-visible "Tests, build, lint, and diagnostics did
not run..." sentence from the scorecard. The same explanation is now
reachable by hovering the Checks column header (in addition to each
row's existing per-row check-summary hover), so the scorecard stays
compact when every attempt shares the same non-informative check
state.

- sessionComparisonResult.ts: renderScorecard builds the Checks header
  as its own element and attaches the uniform-validation-note hover to
  it instead of appending a standing <p> note.
- sessionComparisonResult.css: removed the now-unused
  .session-comparison-scorecard-checks-note rule.
- Test updated to capture IHoverService.setupDelayedHover calls and
  assert the Checks header carries the note instead of asserting on
  the removed element.
- SESSION_COMPARISONS.md updated to describe the hover-only behavior.

Co-authored-by: Copilot <[email protected]>
…merge

- The compare-mode composer pill now shows one icon per attempt instead
  of a generic layers icon plus the joined model-name list, falling
  back to the old text label when any attempt's model icon can't be
  resolved.
- Checking a model in the compare picker goes back to _showCurrent so
  it composes correctly with the upstream filter-persistence/keyboard
  navigation work just merged; a shared ActionList regression (an
  explicit focusItemId was dropped unless a hover/submenu panel was
  also being preserved, and a successful focus restore could be
  clobbered by an unconditional fallback) is fixed for the remaining
  refreshActiveList caller (variant/effort switching).
SessionComparisonResult.layout() re-centered the scorecard against the
uncapped pane width while its parent (.interactive-input-part) already
centers and caps itself via CSS, double-applying the inset and bleeding
the card ~100px past the chat input on each side. Make layout() a no-op
and drop the card's horizontal margin so it stays flush with the input.
Make validation explanations keyboard-discoverable, preserve accurate validation state labels, keep effort variants distinct from their base configuration, and use a native button for removing variants.

Co-authored-by: Copilot <[email protected]>
The effort-variant workflow deliberately deduplicates identical configurations. Exercise repeated launch counts with distinct test configurations so the tests reflect that invariant.

Co-authored-by: Copilot <[email protected]>
@eli-w-king
Elijah King (eli-w-king) force-pushed the eli/agents/compare-picker-checkboxes branch from dc4a07f to 50f5f39 Compare October 5, 2026 17:49
@anthonykim1

This comment has been minimized.

@anthonykim1

This comment has been minimized.

@eli-w-king
Elijah King (eli-w-king) marked this pull request as draft October 6, 2026 18:10
auto-merge was automatically disabled October 6, 2026 18:10

Pull request was converted to draft

@anthonykim1

This comment has been minimized.

@meganrogge Megan Rogge (meganrogge) added this to the 1.143.0 milestone Oct 14, 2026
…-picker-checkboxes

# Conflicts:
#	src/vs/platform/actionWidget/browser/tabbedActionListWidget.ts
#	src/vs/sessions/SESSION_COMPARISONS.md
#	src/vs/sessions/contrib/chat/browser/newChatWidget.ts
#	src/vs/sessions/contrib/chat/browser/sessionComparisonResult.ts
#	src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.ts
#	src/vs/sessions/contrib/chat/test/browser/sessionsChatAccessibilityHelp.test.ts
#	src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerCard.ts
#	src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerTabbedWidget.ts
#	src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerWidget.ts
#	src/vs/workbench/contrib/chat/test/browser/widget/input/modelPicker/modelPickerTabbedWidget.test.ts
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 5f2f1f6e-e1d6-4baa-a0ac-d60c48f5edd2
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 5f2f1f6e-e1d6-4baa-a0ac-d60c48f5edd2
@anthonykim1

Copy link
Copy Markdown
Contributor

There seems to be issue where the model list does not get rendered when you enter from non-copilot harness:
https://github.com/user-attachments/assets/6f65352a-1a7f-4ae9-acce-9f331b0078d4

@anthonykim1

Copy link
Copy Markdown
Contributor

Wish list: When judge session start, should we focus that. It took me few seconds to realize the attempts were finished and now judge session started running.

@anthonykim1

Anthony Kim (anthonykim1) commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor
Screenshot 2026-10-15 at 3 11 55 PM Instead of "compare models" , Im wondering if we can word is more as run parallel models / execute models in parallel, etc? The new icon is nice, but may be too implicit for me.

@anthonykim1 Anthony Kim (anthonykim1) 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.

I believe above feedback can go in as follow-ups (non-blocking)
Thank you!

auto-merge was automatically disabled October 15, 2026 22:20

Rebase failed

@meganrogge

Copy link
Copy Markdown
Collaborator

Wish list: When judge session start, should we focus that. It took me few seconds to realize the attempts were finished and now judge session started running.

We discussed this and I don't think that should happen. It's an accessibility and design issue to auto-focus for a user.

Colin McDonnell (colinhacks) added a commit to amikofalvy/frizz that referenced this pull request Oct 15, 2026
The paragraph under a merge-path exit always explained the merge queue: the
PR was tested merged onto its base in a separate `gh-readonly-queue/…`
commit, "so those failures do not show on the PR head". That is the point
of a queue bounce, but the same paragraph went out when auto-merge was
switched off in a repository with no queue at all. There it names a commit
and failures that do not exist (microsoft/vscode#339642, cli/cli#13665 and
vercel/next.js#99677 all carry such an exit today, none of them queued).

The report now carries which road the PR left. A queue exit keeps the
paragraph as it was; auto-merge alone says to find out why it went off and
gives the command that turns it back on. A re-minted report that folds
both keeps the queue wording, since it says everything the other does.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Colin McDonnell (colinhacks) added a commit to colinhacks/frizz that referenced this pull request Oct 15, 2026
…61)

* fix(pr-watch): wake when a PR leaves the merge queue without merging

A thread parked on a queued PR slept through the PR bouncing out of the
merge queue: GitHub removed it for failed_checks, and a human noticed
2h25m later. The queue tests a separate merge-group commit, so the PR
head's checks stayed green and its merge state CLEAN: nothing the
watcher read had moved.

The batched PR query now also reads isDraft, mergeQueueEntry and the
last RemovedFromMergeQueue / AutoMergeDisabled timeline events, with the
merge group's own check rollup off each removal's beforeCommit (still 1
GraphQL point per PR). A fresh exit wakes the worker with GitHub's
reason, the failing merge-group checks, and, when the PR is not back in
the queue, what to do next. A PR turned back into a draft wakes it too.

Same class: a watched PR or issue GitHub stops resolving (deleted,
transferred, access lost) logged NOT_FOUND forever while the thread
waited out a for: of up to a year. After 30 minutes of NOT_FOUND the
watcher now settles and tells its worker.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

* fix(pr-watch): only consecutive NOT_FOUND answers settle a watcher

The not-found clock kept running through polls that never reached GitHub: a rate-limit deferral or
a network error left it alone, so one NOT_FOUND blip followed by half an hour of backoff settled the
watcher. Any outcome other than another NOT_FOUND now restarts the run.

The gone wake also pointed at `mcp__frizz__watch_pr`, which the worker prompt never teaches; it now
names `frizzctl watch-pr add` / `frizzctl watch-issue add`, as the expiry wake does.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

* fix(pr-watch): tell auto-merge going off apart from a queue bounce

The paragraph under a merge-path exit always explained the merge queue: the
PR was tested merged onto its base in a separate `gh-readonly-queue/…`
commit, "so those failures do not show on the PR head". That is the point
of a queue bounce, but the same paragraph went out when auto-merge was
switched off in a repository with no queue at all. There it names a commit
and failures that do not exist (microsoft/vscode#339642, cli/cli#13665 and
vercel/next.js#99677 all carry such an exit today, none of them queued).

The report now carries which road the PR left. A queue exit keeps the
paragraph as it was; auto-merge alone says to find out why it went off and
gives the command that turns it back on. A re-minted report that folds
both keeps the queue wording, since it says everything the other does.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

* fix(pr-watch): name the merge group's failed job before the ones it cancelled

A merge group fails fast: one job goes red and the queue cancels the rest.
`failedCheckNames` counts a cancellation as a failure and keeps rollup
order, so the eight names the clause has room for were cancellations and
the job that actually failed was folded into "+N more".

Measured on bytecodealliance/wasmtime#14375, dropped for `failed_checks` on
2026-09-22: 26 cancelled, 1 failed (Test MSVC x86_64 (1/8)), listed 14th.
The wake named eight ASAN and MPK jobs that never ran to the end, which is
exactly where a worker would go looking. The exit clause now lists the
non-cancelled failures first; the head's own CI wake is unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

* test(pr-watch): pin the not-found settle for an issue watcher too

The settle after 30 minutes of NOT_FOUND runs for issue watchers as well
(the issue branch of the poll feeds the same clock, and the check comes
before the issue is evaluated), but only the PR case was tested. This pins
the issue one: no wake inside the grace period, then one wake that names
`frizzctl watch-issue add`, and the watcher settles. Disabling the issue
branch's tracking fails it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

* fix(pr-watch): explain the merge group's commit only when it failed the PR

The previous commit kept the merge-queue sentence for every queue exit.
It still read wrong for a queue that dropped the PR without failing it:
bytecodealliance/wasmtime#14647, removed today over a merge conflict, was
told that "those failures do not show on the PR head" when nothing had
failed.

Three next steps now, most specific first: a queue that failed the PR
(GitHub's `failed_checks`, or a failed check in the merge group, as when
someone removes a red PR by hand) explains the `gh-readonly-queue/…`
commit; any other queue exit says to find out why it left and re-queue;
auto-merge going off says to find out why and turn it back on. A
re-minted report keeps the most specific of the reports it folds.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Co-authored-by: Colin McDonnell <[email protected]>
@meganrogge
Megan Rogge (meganrogge) enabled auto-merge (squash) October 16, 2026 13:35
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 5f2f1f6e-e1d6-4baa-a0ac-d60c48f5edd2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

6 participants