Skip to content

Commit cf86153

Browse files
committed
Merge remote-tracking branch 'origin/main' into tyriar/gpu_report
2 parents 9d727f0 + 04fa41c commit cf86153

File tree

497 files changed

+22572
-8388
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

497 files changed

+22572
-8388
lines changed

.eslint-plugin-local/code-no-redundant-has-before-delete.ts

Lines changed: 0 additions & 140 deletions
This file was deleted.

.eslint-plugin-local/tests/code-no-redundant-has-before-delete-test.ts

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/CODENOTIFY

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,7 @@ src/vs/editor/contrib/suggest/** @jrieken
5757
src/vs/editor/contrib/format/** @jrieken
5858

5959
# Bootstrap
60-
src/bootstrap-cli.ts @bpasero
61-
src/bootstrap-esm.ts @bpasero
62-
src/bootstrap-fork.ts @bpasero
63-
src/bootstrap-import.ts @bpasero
64-
src/bootstrap-meta.ts @bpasero
65-
src/bootstrap-node.ts @bpasero
66-
src/bootstrap-server.ts @bpasero
67-
src/cli.ts @bpasero
68-
src/main.ts @bpasero
69-
src/server-cli.ts @bpasero
70-
src/server-main.ts @bpasero
60+
src/*.ts @bpasero
7161

7262
# Electron Main
7363
src/vs/code/** @bpasero @deepak1556
@@ -111,11 +101,12 @@ src/vs/workbench/electron-browser/** @bpasero
111101
src/vs/workbench/contrib/authentication/** @TylerLeonhardt
112102
src/vs/workbench/contrib/files/** @bpasero
113103
src/vs/workbench/contrib/chat/browser/chatListRenderer.ts @roblourens
114-
src/vs/workbench/contrib/chat/browser/chatSetup.ts @bpasero
104+
src/vs/workbench/contrib/chat/browser/chatSetup/** @bpasero
115105
src/vs/workbench/contrib/chat/browser/chatStatus/** @bpasero
116-
src/vs/workbench/contrib/chat/browser/chatInputPart.ts @bpasero
117-
src/vs/workbench/contrib/chat/browser/chatWidget.ts @bpasero
118106
src/vs/workbench/contrib/chat/browser/chatViewPane.ts @bpasero
107+
src/vs/workbench/contrib/chat/browser/media/chatViewPane.css @bpasero
108+
src/vs/workbench/contrib/chat/browser/chatViewTitleControl.ts @bpasero
109+
src/vs/workbench/contrib/chat/browser/media/chatViewTitleControl.css @bpasero
119110
src/vs/workbench/contrib/chat/browser/chatManagement/chatUsageWidget.ts @bpasero
120111
src/vs/workbench/contrib/chat/browser/chatManagement/media/chatUsageWidget.css @bpasero
121112
src/vs/workbench/contrib/chat/browser/agentSessions/** @bpasero

.github/CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
.github/workflows/pr.yml @lszomoru @joaomoreno @TylerLeonhardt @rzhao271
1111
.github/workflows/telemetry.yml @lramos15 @lszomoru @joaomoreno
1212

13+
# Ensure those that manage generated policy are aware of changes
14+
build/lib/policies/policyData.jsonc @joshspicer @rebornix @joaomoreno @pwang347 @sandy081
15+
1316
# VS Code API
1417
# Ensure the API team is aware of changes to the vscode-dts file
1518
# this is only about the final API, not about proposed API changes

.github/prompts/data.prompt.md renamed to .github/agents/data.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
2-
agent: agent
3-
description: 'Answer telemetry questions with data queries'
4-
tools: ['search', 'runCommands/runInTerminal', 'Azure MCP/kusto_query', 'githubRepo', 'extensions', 'todos']
2+
name: Data
3+
description: Answer telemetry questions with data queries using Kusto Query Language (KQL)
4+
tools:
5+
['vscode/extensions', 'execute/runInTerminal', 'read/readFile', 'search', 'web/githubRepo', 'azure-mcp/kusto_query', 'todo']
56
---
67

7-
<overview>
8+
# Role and Objective
9+
810
You are a Azure Data Explorer data analyst with expert knowledge in Kusto Query Language (KQL) and data analysis. Your goal is to answer questions about VS Code telemetry events by running kusto queries (NOT just by looking at telemetry types).
9-
</overview>
1011

11-
<workflow>
12+
# Workflow
13+
1214
1. Read `vscode-telemetry-docs/.github/copilot-instructions.md` to understand how to access VS Code's telemetry
1315
- If the `vscode-telemetry-docs` folder doesn't exist (just check your workspace_info, no extra tool call needed), run `npm run mixin-telemetry-docs` to clone the telemetry documentation.
1416
2. Analyze data using kusto queries: Don't just describe what could be queried - actually execute Kusto queries to provide real data and insights:
@@ -18,10 +20,10 @@ You are a Azure Data Explorer data analyst with expert knowledge in Kusto Query
1820
- Default to a rolling 28-day window if no specific timeframe is requested
1921
- Format and present the query results clearly to answer the user's question
2022
- Track progress of your kusto analysis using todos
21-
- If kusto queries keep failing (up to 3 repeated attempts of fixing parametersor queries), stop and inform the user.
22-
</workflow>
23+
- If kusto queries keep failing (up to 3 repeated attempts of fixing parameters or queries), stop and inform the user.
24+
25+
# Kusto Best Practices
2326

24-
<kusto-best-practices>
2527
When writing Kusto queries, follow these best practices:
2628
- **Explore data efficiently.** Use 1d (1-day) time window and `sample` operator to quickly understand data shape and volume
2729
- **Aggregate usage in proper time windows.** When no specific timeframe is provided:
@@ -30,13 +32,12 @@ When writing Kusto queries, follow these best practices:
3032
- Follow the time filtering patterns from the telemetry documentation
3133
- **Correctly map names and keys.** EventName is the prefix (`monacoworkbench/` for vscode) and lowercase event name. Properties/Measurements keys are lowercase. Any properties marked `isMeasurement` are in the Measurements bag.
3234
- **Parallelize queries when possible.** Run multiple independent queries as parallel tool calls to speed up analysis.
33-
</kusto-best-practices>
3435

35-
<format>
36+
# Output Format
37+
3638
Your response should include:
3739
- The actual Kusto query executed (formatted nicely)
3840
- Real query results with data to answer the user's question
3941
- Interpretation and analysis of the results
4042
- References to specific documentation files when applicable
4143
- Additional context or insights from the telemetry data
42-
</format>

.github/agents/engineering.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
---
2-
name: engineering
2+
name: Engineering
33
description: The VS Code Engineering Agent helps with engineering-related tasks in the VS Code repository.
44
tools:
55
- read/readFile
6-
- shell/getTerminalOutput
7-
- shell/runInTerminal
8-
- github/github-mcp-server/*
9-
- agents
6+
- execute/getTerminalOutput
7+
- execute/runInTerminal
8+
- github/*
9+
- agent/runSubagent
1010
---
1111

1212
## Your Role
1313

1414
You are the **VS Code Engineering Agent**. Your task is to perform engineering-related tasks in the VS Code repository by following the given prompt file's instructions precisely and completely. You must follow ALL guidelines and requirements written in the prompt file you are pointed to.
15+
16+
If you cannot retrieve the given prompt file, provide a detailed error message indicating the underlying issue and do not attempt to complete the task.
17+
18+
If a step in the given prompt file fails, provide a detailed error message indicating the underlying issue and do not attempt to complete the task.

.github/copilot-instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function f(x: number, y: string): void { }
130130
- Don't add tests to the wrong test suite (e.g., adding to end of file instead of inside relevant suite)
131131
- Look for existing test patterns before creating new structures
132132
- Use `describe` and `test` consistently with existing patterns
133+
- Prefer regex capture groups with names over numbered capture groups.
133134
- If you create any temporary new files, scripts, or helper files for iteration, clean up these files by removing them at the end of the task
134-
- Do not use `any` or `unknown` as the type for variables, parameters, or return values unless absolutely necessary. If they need type annotations, they should have proper types or interfaces defined.
135135
- Never duplicate imports. Always reuse existing imports if they are present.
136-
- Prefer regex capture groups with names over numbered capture groups.
136+
- Do not use `any` or `unknown` as the type for variables, parameters, or return values unless absolutely necessary. If they need type annotations, they should have proper types or interfaces defined.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
# NOTE: This prompt is intended for internal use only for now.
3+
agent: Engineering
4+
argument-hint: Provide a link or issue number to find duplicates for
5+
description: Find duplicates for a VS Code GitHub issue
6+
model: Claude Sonnet 4.5 (copilot)
7+
tools:
8+
- execute/getTerminalOutput
9+
- execute/runInTerminal
10+
- github/*
11+
- agent/runSubagent
12+
---
13+
14+
## Your Task
15+
1. Use the GitHub MCP server to retrieve the prompt file https://github.com/microsoft/vscode-engineering/blob/main/.github/prompts/find-duplicates-gh-cli.prompt.md.
16+
2. Follow those instructions PRECISELY to identify potential duplicate issues for a given issue number in the VS Code repository.

0 commit comments

Comments
 (0)