Skip to content

Commit 8ea92b4

Browse files
committed
Merge branch 'main' into copilot/add-worktree-checkout-option
2 parents fa08fb7 + 239b61a commit 8ea92b4

File tree

73 files changed

+15902
-8523
lines changed

Some content is hidden

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

73 files changed

+15902
-8523
lines changed
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
---
2+
name: write-changelog
3+
description: 'Write a CHANGELOG.md entry for a new extension release. Use when: writing changelog, updating changelog, adding release notes, preparing a release, documenting milestone changes. Requires a milestone name and extension version number.'
4+
argument-hint: 'Provide the extension version (e.g. 0.134.0) and the GitHub milestone name (e.g. 1.112.0)'
5+
---
6+
7+
# Write Changelog Entry
8+
9+
Generate a new entry in `CHANGELOG.md` for an extension release by gathering closed issues and merged PRs from a GitHub milestone.
10+
11+
## Inputs
12+
13+
The user must provide:
14+
1. **Extension version number** - the version for the changelog heading (e.g. `0.134.0`)
15+
2. **GitHub milestone name** - the milestone to query (e.g. `1.112.0`)
16+
17+
## Procedure
18+
19+
### 1. Gather Milestone Items
20+
21+
Search for all closed items in the milestone scoped to `microsoft/vscode-pull-request-github`:
22+
23+
- **Issues (bugs/features):** Search for closed issues with `milestone:"<name>" repo:microsoft/vscode-pull-request-github is:closed`
24+
- **Merged PRs:** Search for merged PRs with `milestone:"<name>" repo:microsoft/vscode-pull-request-github is:pr is:merged`
25+
26+
### 2. Classify Items
27+
28+
Sort every item into one of these buckets:
29+
30+
| Bucket | Criteria |
31+
|--------|----------|
32+
| **Changes** | Feature requests, enhancements, new settings, new commands, infrastructure improvements (e.g. dependency upgrades, build system changes) |
33+
| **Fixes** | Items labeled `bug`, or PRs that fix a specific issue |
34+
| **Thank You** | Merged PRs authored by external contributors (user type is not `Bot`, and user is not a GitHub staff / `site_admin`) |
35+
| **Skip** | Version-bump PRs (title is just a version like "0.132.0"), test plan items, items from other repos |
36+
37+
### 3. Write the Entry
38+
39+
Insert the new section **at the top** of `CHANGELOG.md`, directly after the `# Changelog` heading and before the previous release section.
40+
41+
Follow this format exactly:
42+
43+
```markdown
44+
## <version>
45+
46+
### Changes
47+
48+
- Description of change one.
49+
- Description of change two with setting `"settingName"`.
50+
51+
### Fixes
52+
53+
- Short description of bug. https://github.com/microsoft/vscode-pull-request-github/issues/<number>
54+
- Another bug fix. https://github.com/microsoft/vscode-pull-request-github/issues/<number>
55+
56+
**_Thank You_**
57+
58+
* [@username (Display Name)](https://github.com/username): Short description of contribution [PR #1234](https://github.com/microsoft/vscode-pull-request-github/pull/1234)
59+
```
60+
61+
### Format Rules
62+
63+
- **Changes:** Write a concise, user-facing description. Do NOT link to issues. Use backticks for setting names and commands. Each entry is a single `- ` bullet.
64+
- **Fixes:** Use the issue title (cleaned up for readability) followed by a space and the full issue URL. Each entry is a single `- ` bullet. If a fix came from a PR without a linked issue, describe it without a URL.
65+
- **Thank You:** Use `* ` bullets (not `- `). Format: `[@login (Name)](profile-url): Description [PR #number](pr-url)`. Only include for external community contributors.
66+
- **Sections:** Omit any section (`### Changes`, `### Fixes`, `**_Thank You_**`) if there are no items for it.
67+
- **No blank lines** between bullets within a section.
68+
- **One blank line** between sections.
69+
70+
### 4. Validate
71+
72+
- Confirm the new section is positioned correctly (after `# Changelog`, before the previous version).
73+
- Verify all issue/PR links are correct and point to `microsoft/vscode-pull-request-github`.
74+
- Ensure no duplicate entries.

.github/workflows/copilot-setup-steps.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
uses: actions/setup-node@v4
3030
with:
3131
node-version: "20"
32-
cache: "yarn"
32+
cache: "npm"
3333

3434
- name: Install dependencies
35-
run: yarn install --frozen-lockfile
35+
run: npm ci
3636
env:
3737
# Skip Playwright browser downloads to avoid installation failures
3838
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
@@ -48,7 +48,7 @@ jobs:
4848
continue-on-error: true
4949

5050
- name: Update VS Code type definitions
51-
run: yarn update-dts
51+
run: npm run update-dts
5252

5353
- name: Basic build verification
5454
run: |

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,6 @@ media
339339
.vscode-test-web
340340
.DS_Store
341341
*.vsix
342-
package-lock.json
343342
src/@types/vscode.d.ts
344343
src/@types/vscode.proposed.d.ts
345344

.vscodeignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ documentation/**
1111
node_modules/**
1212
scripts/**
1313
src/**
14+
!src/lm/skills/**
1415
webviews/**
1516
**/test/**
1617
.eslintcache*
@@ -21,15 +22,15 @@ webviews/**
2122
.gitignore-revs
2223
.prettierignore
2324
.prettierrc
24-
.yarnrc
25+
package-lock.json
2526
azure-pipeline.*
2627
**/tsconfig*.json
2728
*.tsbuildinfo
2829
**/webpack.config*.js
29-
yarn.lock
30+
npm-debug.log
3031
**/*.map
3132
**/*.svg
32-
!**/git-pull-request_webview.svg
33+
!**/*_webview.svg
3334
**/*.ts
3435
*.vsix
3536
**/*.bak

.yarnrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.md

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,95 @@
11
# Changelog
22

3+
## 0.136.0
4+
5+
### Changes
6+
7+
- Add tool to create pull requests.
8+
- Add tool to resolve review comments.
9+
- Offer to delete worktrees from the clean up command.
10+
- Include line numbers in "Apply suggestion using AI" context for code review comments.
11+
12+
### Fixes
13+
14+
- Resolving comments doesn't update state on server. https://github.com/microsoft/vscode-pull-request-github/issues/8649
15+
- PR description filled differently than on github.com. https://github.com/microsoft/vscode-pull-request-github/issues/8630
16+
- Can't checkout PR locally when already on the same branch. https://github.com/microsoft/vscode-pull-request-github/issues/8624
17+
- Parent folder checkbox not auto-checked when all children are marked as viewed. https://github.com/microsoft/vscode-pull-request-github/issues/8584
18+
- Escape file names in processed links.
19+
20+
## 0.134.0
21+
22+
### Changes
23+
24+
- Branch names in the create PR view are now cached for faster target branch loading.
25+
- GitHub permalink links in PR and issue overview webviews now open the corresponding local file when the file exists in the workspace.
26+
27+
### Fixes
28+
29+
- Selecting a target branch when creating a PR is sometimes broken. https://github.com/microsoft/vscode-pull-request-github/issues/8627
30+
- "Apply suggestion using AI" for code comment reviews results in a redundant disclaimer suffix. https://github.com/microsoft/vscode-pull-request-github/issues/8605
31+
32+
**_Thank You_**
33+
34+
* [@Daniel-Aaron-Bloom](https://github.com/Daniel-Aaron-Bloom): Link to local file for permalinks in webview [PR #8583](https://github.com/microsoft/vscode-pull-request-github/pull/8583)
35+
36+
## 0.132.2
37+
38+
### Fixes
39+
40+
- Button missing rounded corners on one side. https://github.com/microsoft/vscode-pull-request-github/issues/8609
41+
42+
## 0.132.1
43+
44+
### Fixes
45+
46+
- Can't add multiline GitHub PR Comment because Inline Chat button covers Comment button. https://github.com/microsoft/vscode-pull-request-github/issues/8504
47+
- Deleting a worktree after merging a PR mixes the main branch with the worktree. https://github.com/microsoft/vscode-pull-request-github/issues/8519
48+
- Missing issue webview icon.
49+
50+
## 0.132.0
51+
52+
### Changes
53+
54+
- When `"githubPullRequests.pullRequestDescription"` is set to `"branchName"`, the branch name is now "title-ized" (dashes and underscores replaced with spaces, words capitalized) to match the behavior on github.com.
55+
- Pull requests in the sidebar views can now show icons representing their status (open, closed, merged, draft) with the setting `"githubPullRequests.pullRequestAvatarDisplay"`.
56+
57+
### Fixes
58+
59+
- Update with merge commit feature not working. https://github.com/microsoft/vscode-pull-request-github/issues/8553
60+
- Avatar doesn't show in comment widget with GitHub Enterprise. https://github.com/microsoft/vscode-pull-request-github/issues/8550
61+
- Can't easily open PR to the right. https://github.com/microsoft/vscode-pull-request-github/issues/8537
62+
- Stale worktree repo entry persists in PR sidebar after worktree removal. https://github.com/microsoft/vscode-pull-request-github/issues/8525
63+
- Wrong list of files when creating PR. https://github.com/microsoft/vscode-pull-request-github/issues/8457
64+
- Element with id All Open (URL) is already registered. https://github.com/microsoft/vscode-pull-request-github/issues/8073
65+
66+
## 0.130.0
67+
68+
### Changes
69+
70+
- Multiple PR and issue descriptions can be open at once.
71+
- Repositories without matching issues are now hidden in the Issues view.
72+
- The setting `githubPullRequests.autoRepositoryDetection` can be set to `true` to include repositories that are outside of the workspace.
73+
74+
### Fixes
75+
76+
- GitHub Pull Requests: Refresh Chat Sessions command remains available with disableAIFeature set to true. https://github.com/microsoft/vscode-pull-request-github/issues/8376
77+
- Share permalink as markdown on tab should use filename for link text. https://github.com/microsoft/vscode-pull-request-github/issues/4663
78+
- "Branch does not exist locally" while rebasing. https://github.com/microsoft/vscode-pull-request-github/issues/8487
79+
- Coding Agent UI: Closed pull requests are not detected as closed. https://github.com/microsoft/vscode-pull-request-github/issues/8482
80+
- The "Refresh Pull Request Comments" command does not work. https://github.com/microsoft/vscode-pull-request-github/issues/8445
81+
- Popup "delegate to agent" unremovable. https://github.com/microsoft/vscode-pull-request-github/issues/8496
82+
- There is no indicator of what repository the PR relates to. https://github.com/microsoft/vscode-pull-request-github/issues/8174
83+
- PR titles cropped unnecessarily. https://github.com/microsoft/vscode-pull-request-github/issues/8453
84+
- PR tool descriptions are not user-oriented. https://github.com/microsoft/vscode-pull-request-github/issues/8510
85+
- New "check out PR by number" is confusing. https://github.com/microsoft/vscode-pull-request-github/issues/8455
86+
- Refreshing PR does not refresh rerun status checks. https://github.com/microsoft/vscode-pull-request-github/issues/8449
87+
- Improve commit line break unwrapping. https://github.com/microsoft/vscode-pull-request-github/issues/8345
88+
89+
**_Thank You_**
90+
91+
* [@gvilums (Georgijs)](https://github.com/gvilums): Fix PR tree reveal errors for flat file layout [PR #8522](https://github.com/microsoft/vscode-pull-request-github/pull/8522)
92+
393
## 0.128.0
494

595
### Changes

azure-pipeline.nightly.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ extends:
3434
nodeVersion: "20.x"
3535

3636
buildSteps:
37-
- script: yarn install --frozen-lockfile --check-files
37+
- script: npm ci
3838
displayName: Install dependencies
3939
retryCountOnTaskFailure: 3
4040

41-
- script: yarn run bundle
41+
- script: npm run bundle
4242
displayName: Compile
4343

4444
- script: >
@@ -51,35 +51,35 @@ extends:
5151
displayName: Override package.json
5252
5353
testSteps:
54-
- script: yarn install --frozen-lockfile --check-files
54+
- script: npm ci
5555
displayName: Install dependencies
5656
retryCountOnTaskFailure: 3
5757

58-
- script: yarn run bundle
58+
- script: npm run bundle
5959
displayName: Compile
6060

6161
- bash: |
6262
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
6363
echo ">>> Started xvfb"
6464
displayName: Start xvfb
6565
66-
- script: yarn run test
66+
- script: npm run test
6767
displayName: Run test suite
6868
env:
6969
DISPLAY: ':99.0'
7070
TEST_JUNIT_XML_PATH: $(Agent.HomeDirectory)/test-results.xml
7171

72-
# - script: yarn run browsertest --browserType=chromium
72+
# - script: npm run browsertest --browserType=chromium
7373
# displayName: Run test suite (chromium)
7474
# env:
7575
# TEST_JUNIT_XML_PATH: $(Agent.HomeDirectory)/browser-chromium-test-results.xml
7676

77-
# - script: yarn run browsertest --browserType=firefox
77+
# - script: npm run browsertest --browserType=firefox
7878
# displayName: Run test suite (firefox)
7979
# env:
8080
# TEST_JUNIT_XML_PATH: $(Agent.HomeDirectory)/browser-firefox-test-results.xml
8181

82-
# - script: yarn run browsertest --browserType=webkit
82+
# - script: npm run browsertest --browserType=webkit
8383
# displayName: Run test suite (webkit)
8484
# env:
8585
# TEST_JUNIT_XML_PATH: $(Agent.HomeDirectory)/browser-webkit-test-results.xml

azure-pipeline.pr.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
steps:
77
- template: scripts/ci/common-setup.yml
88

9-
- script: yarn run compile
9+
- script: npm run compile
1010
displayName: Compile
1111

1212
- script: npm run hygiene
@@ -15,25 +15,25 @@ jobs:
1515
- script: npm run lint
1616
displayName: Run lint
1717

18-
- script: yarn run check:commands
18+
- script: npm run check:commands
1919
displayName: Verify command registrations
2020

21-
- script: yarn run test
21+
- script: npm run test
2222
displayName: Run test suite
2323
env:
2424
TEST_JUNIT_XML_PATH: $(Agent.HomeDirectory)/test-results.xml
2525

26-
# - script: yarn run browsertest --browserType=chromium
26+
# - script: npm run browsertest --browserType=chromium
2727
# displayName: Run test suite (chromium)
2828
# env:
2929
# TEST_JUNIT_XML_PATH: $(Agent.HomeDirectory)/browser-chromium-test-results.xml
3030

31-
# - script: yarn run browsertest --browserType=firefox
31+
# - script: npm run browsertest --browserType=firefox
3232
# displayName: Run test suite (firefox)
3333
# env:
3434
# TEST_JUNIT_XML_PATH: $(Agent.HomeDirectory)/browser-firefox-test-results.xml
3535

36-
# - script: yarn run browsertest --browserType=webkit
36+
# - script: npm run browsertest --browserType=webkit
3737
# displayName: Run test suite (webkit)
3838
# env:
3939
# TEST_JUNIT_XML_PATH: $(Agent.HomeDirectory)/browser-webkit-test-results.xml

azure-pipeline.release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,43 +31,43 @@ extends:
3131
nodeVersion: "20.x"
3232

3333
buildSteps:
34-
- script: yarn install --frozen-lockfile --check-files
34+
- script: npm ci
3535
displayName: Install dependencies
3636
retryCountOnTaskFailure: 3
3737

38-
- script: yarn run bundle
38+
- script: npm run bundle
3939
displayName: Compile
4040

4141
testSteps:
42-
- script: yarn install --frozen-lockfile --check-files
42+
- script: npm ci
4343
displayName: Install dependencies
4444
retryCountOnTaskFailure: 3
4545

46-
- script: yarn run bundle
46+
- script: npm run bundle
4747
displayName: Compile
4848

4949
- bash: |
5050
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
5151
echo ">>> Started xvfb"
5252
displayName: Start xvfb
5353
54-
- script: yarn run test
54+
- script: npm run test
5555
displayName: Run test suite
5656
env:
5757
DISPLAY: ':99.0'
5858
TEST_JUNIT_XML_PATH: $(Agent.HomeDirectory)/test-results.xml
5959

60-
# - script: yarn run browsertest --browserType=chromium
60+
# - script: npm run browsertest --browserType=chromium
6161
# displayName: Run test suite (chromium)
6262
# env:
6363
# TEST_JUNIT_XML_PATH: $(Agent.HomeDirectory)/browser-chromium-test-results.xml
6464

65-
# - script: yarn run browsertest --browserType=firefox
65+
# - script: npm run browsertest --browserType=firefox
6666
# displayName: Run test suite (firefox)
6767
# env:
6868
# TEST_JUNIT_XML_PATH: $(Agent.HomeDirectory)/browser-firefox-test-results.xml
6969

70-
# - script: yarn run browsertest --browserType=webkit
70+
# - script: npm run browsertest --browserType=webkit
7171
# displayName: Run test suite (webkit)
7272
# env:
7373
# TEST_JUNIT_XML_PATH: $(Agent.HomeDirectory)/browser-webkit-test-results.xml

build/filters.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ module.exports.indentationFilter = [
4747

4848
// except multiple specific files
4949
'!**/package.json',
50+
'!**/package-lock.json',
5051
'!**/yarn.lock',
5152
'!**/yarn-error.log',
5253
'!**/fixtures/**/*'
@@ -70,6 +71,7 @@ module.exports.copyrightFilter = [
7071
'!**/*.yml',
7172
'!**/*.md',
7273
'!package.nls.json',
74+
'!**/package-lock.json',
7375
'!**/*.svg',
7476
'!src/integrations/gitlens/gitlens.d.ts',
7577
'!**/fixtures/**'

0 commit comments

Comments
 (0)