Bump base VSCode version for Quick Edit & Playground to 1.102.1#10047
Bump base VSCode version for Quick Edit & Playground to 1.102.1#10047
1.102.1#10047Conversation
🦋 Changeset detectedLatest commit: c441fa0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
wrangler
commit: |
| with: | ||
| node-version: 22 |
There was a problem hiding this comment.
This is required by VSCode's build process
| readOnly: files.readOnly, | ||
| }); | ||
| await this.writeFile( | ||
| Uri.parse(`cfs:/${this.rootFolder}/${path}`), |
There was a problem hiding this comment.
This was previously missing the cfs:/ scheme. It worked in the older version of VSCode, but not in the newest. This took hours of stepping through compiled VSCode sources to find 😅
| if (this.readRoot !== null) { | ||
| await this.readRoot( | ||
| await this.readDirectory(Uri.parse(`${this.rootFolder}/`)) | ||
| await this.readDirectory(Uri.parse(`cfs:/${this.rootFolder}/`)) |
packages/quick-edit/patches/0003-Remove-Profile-from-Setting-SubMenu.patch
Outdated
Show resolved
Hide resolved
packages/quick-edit/patches/0004-Remove-Account-Extension.patch
Outdated
Show resolved
Hide resolved
packages/quick-edit/patches/0006-Hide-File-Explorer-by-default.patch
Outdated
Show resolved
Hide resolved
| * | ||
| * Tips for matching in Quick Open: | ||
| * With the pattern, the picker will use the file name and file paths to score each entry. The score will determine the ordering and filtering. | ||
| * The scoring prioritizes prefix and substring matching. Then, it checks and it checks whether the pattern's letters appear in the same order as in the target (file name and path). |
There was a problem hiding this comment.
it checks and it checks
?
|
Also built and tested it locally. Seems fine |
9c93b12 to
2a245ca
Compare
- Bumps quick-edit-extension and @cloudflare/quick-edit packages - Updates VSCode base version with necessary compatibility fixes - Consolidates patches for better maintainability Co-Authored-By: pbacondarwin@cloudflare.com <pete@bacondarwin.com>
The quick-edit-extension package is private without a deploy script, making it invalid for changesets. Only @cloudflare/quick-edit needs to be versioned as it's the deployable package. Co-Authored-By: pbacondarwin@cloudflare.com <pete@bacondarwin.com>
2a245ca to
d9e3b8c
Compare
|
@penalosa can you look into why the |
To be honest, I'm now a bit stumped. The script isn't failing, it seems to be getting a SIGTERM from GitHub Actions. I thought it might be memory limit related and so bumped that, but that hasn't fixed it. Do you have any ideas? |
Bump the version of VSCode upon which we base our build of VSCode for Web, which is used in Quick Edit in the Cloudflare Dashboard as well as the Workers Playground.
How to test
pnpm -F "@cloudflare/quick-edit" run setuppnpm -F "@cloudflare/quick-edit" run custom:buildpackages/workers-playground/src/QuickEditor/VSCodeEditor.tsx#L18tohttp://localhost:8787pnpm -F workers-playground devandpnpm -F "@cloudflare/quick-edit" exec wrangler devhttp://localhost:5173/playgroundand play around with the editor