Skip to content

[pull] main from microsoft:main#1021

Merged
pull[bot] merged 161 commits intocode:mainfrom
microsoft:main
Mar 11, 2026
Merged

[pull] main from microsoft:main#1021
pull[bot] merged 161 commits intocode:mainfrom
microsoft:main

Conversation

@pull
Copy link

@pull pull bot commented Mar 11, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

- Implemented scenario parsing and execution using Playwright.
- Created a basic scenario for verifying the loading of the agent sessions window.
- Added necessary TypeScript files and configuration for E2E testing.
- Introduced a package.json for managing test scripts and dependencies.
- Developed session management utilities to launch and interact with the Electron app.
…ated tests

- Added support for preconditions in the scenario parser, allowing scenarios to specify prerequisites before executing steps.
- Updated the `Scenario` interface to include a `preconditions` array.
- Modified the parsing logic to correctly identify and store preconditions from `.scenario.md` files.
- Enhanced the test output to display preconditions when running scenarios.
- Created new scenario files to test various states including empty state, active workspace, and instruction creation.
- Removed outdated scenario files that are no longer relevant.
…ctory and replace '--new-window' with '--sessions' argument
…tion handling and disable built-in GitHub extensions
… workspace instruction creation, user instruction creation, and hook creation; add new scenario for repository picker on submit.
- Added functionality to capture a screenshot when a test step fails in both scenarios.spec.ts and scenarios.spec.js.
- Updated the error logging to include the path of the saved screenshot for easier debugging.
- Modified the scenario steps in 01-repo-picker-on-submit.scenario.md to include an initial button click before typing in the chat input.
- Added timestamp to log messages for Electron process launch, window openings, and other key events.
- Improved visibility of window count at launch and during waiting periods for the sessions window.
- Included DOM inspection logs to capture the state of the page and existence of the sessions workbench.
- Updated console error logging to provide more context during failures.
- Replace manual window collection with firstWindow() for improved reliability.
- Consolidate window tracking logic to handle additional windows more effectively.
- Simplify logic for determining the sessions workbench window.
- Enhance logging for better visibility during window management.
- Update wait logic for the sessions workbench to ensure visibility before proceeding.
…P support

- Added child_process module to spawn VS Code instead of using playwright._electron.launch.
- Implemented a random port selection for the Chrome DevTools Protocol (CDP) to avoid collisions during parallel runs.
- Introduced waitForCDP function to poll the CDP endpoint until it's ready.
- Added findSessionsPage function to locate the sessions workbench page among multiple browser contexts.
- Updated the launchSessionsWindow function to handle the new process management and page finding logic.
osortega and others added 27 commits March 10, 2026 16:36
* autopilot plan mode handoff

* revert changes here
Reduce `IChatSessionsService` interface size
* Sessions: fix rough edges when sending new requests

* feedback
…ure (#300605)

minimizes the API for the newChatSessionItemHandler to only receive the prompt & command.
…T00-36-54

Add agent sessions functionality and corresponding tests
…imap-menu

Add "Side" option to minimap context menu
* Fix PSReadline for screen reader, disable header

* Add psreadline to index.ts for build

* organize much better

* compile

* list out exact folder

* try if codesign is the problem

* Update comment to be more accurate

* Undo changes for noLogo
* Edit psreadline comment

* update

* fwefwe

* update
…rious-sparrow

Revert "Re-remove webpack"
Make `getChatSessionItem` return an async iterable
Refs #299049

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…#300607)

* feat: add save button for built-in prompt copies in AI Customization Management Editor

* feat: add customization instructions to draft and regular pull request prompts

* feat: enhance save button with icon and accessibility improvements in AI Customization Management Editor

* feat: enhance customization instructions in draft and regular pull request prompts

* feat: update save button functionality and styling in AI Customization Management Editor

* feat: simplify customization instructions in draft and regular pull request prompts

* feat: update prompt customization instructions and enhance save target options in AI Customization Management Editor

* feat: update save button icon and accessibility labels in AI Customization Management Editor

* feat: enhance save button logic and accessibility in AI Customization Management Editor

* feat: update editor action button logic in AI Customization Management Editor

* feat: streamline editor content change detection and save indicator logic in AI Customization Management Editor

* feat: enhance auto-save functionality and update editor content change detection in AI Customization Management Editor

* feat: simplify editor action button logic and remove unused auto-save handling in AI Customization Management Editor

* feat: refactor save functionality for built-in prompts in AI Customization Management Editor

* Address AI customization review feedback

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…300617)

* add onDidReceiveChatDebugEvent API

* comment

* enable only if there are listeners

* bump max size
@pull pull bot locked and limited conversation to collaborators Mar 11, 2026
@pull pull bot added the ⤵️ pull label Mar 11, 2026
@pull pull bot merged commit 112d873 into code:main Mar 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.