Skip to content

Conversation

@dmichon-msft
Copy link
Contributor

@dmichon-msft dmichon-msft commented Apr 17, 2025

Summary

Adds a new command to the websocket protocol to set the enabled state of operations in the current session.

Details

Adds a command set-enabled-states that takes a { [operationName: string]: boolean } to configure the base enabled states for operations. This is applied after the default selection filter, but will only include operations that are related to changes (invalidating operations will make more projects be considered "changed").

Adds a command invalidate that takes an array of operation names to request that they be executed on the next pass.

Also fixes an inaccuracy in the reporting of the status of the --changed-projects-only flag when telemetry is enabled, since it can be toggled at runtime.

How it was tested

For the telemetry flag, a local run.
For the websocket, currently hasn't been.

Impacted documentation

Web socket protocol.

@dmichon-msft dmichon-msft enabled auto-merge (squash) April 17, 2025 21:16
@dmichon-msft dmichon-msft merged commit 0bd291a into microsoft:main Apr 17, 2025
5 checks passed
@github-project-automation github-project-automation bot moved this from Needs triage to Closed in Bug Triage Apr 17, 2025
@dmichon-msft dmichon-msft deleted the socket-enable branch April 17, 2025 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

3 participants