-
Notifications
You must be signed in to change notification settings - Fork 5.9k
chore: upgrade Code to 1.73.0 #5751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
451d14a
to
6b89422
Compare
async getBuiltInExtensionTranslationsUri(id: string): Promise<URI | undefined> { | ||
@@ -73,6 +79,6 @@ export class WebLanguagePacksService ext | ||
|
||
// Web doesn't have a concept of language packs, so we just return an empty array | ||
getInstalledLanguages(): Promise<ILanguagePackItem[]> { | ||
- return Promise.resolve([]); | ||
+ return this.languagePackService.getInstalledLanguages() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was the only change I was hesitant about. Hope I did it right. I will test them all after first review.
@@ -53,7 +53,14 @@ export class BrowserWorkbenchEnvironment | ||
get logFile(): URI { return joinPath(this.logsHome, 'window.log'); } | ||
@@ -78,7 +78,14 @@ export class BrowserWorkbenchEnvironment | ||
get logFile(): URI { return joinPath(this.windowLogsPath, 'window.log'); } | ||
|
||
@memoize | ||
- get userRoamingDataHome(): URI { return URI.file('/User').with({ scheme: Schemas.vscodeUserData }); } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm...this seems like it got dropped unintentionally. Guessing I'll need to fixup
this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay doube-checked: seems fine as is.
- content="default-src 'none'; script-src 'sha256-wwaDxsm1+SKIUb5YJXiZlYMyV7QPB8+zd6HPcTjigZs=' 'self'; frame-src 'self'; style-src 'unsafe-inline';"> | ||
+ content="default-src 'none'; script-src 'sha256-IZkGO4jZeUn7pzM6pBZCZc9bUYm8oVNV3z8zEa8gxlk=' 'self'; frame-src 'self'; style-src 'unsafe-inline';"> | ||
- content="default-src 'none'; script-src 'sha256-lC8sxUeeYqUtmkCpPt/OX/HQdE0JbHG1Z3dzrilsRU0=' 'self'; frame-src 'self'; style-src 'unsafe-inline';"> | ||
+ content="default-src 'none'; script-src 'sha256-/9/YQU12wvTeVXCsIGB4shLwdWrMceCpKojfkloNjPU=' 'self'; frame-src 'self'; style-src 'unsafe-inline';"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From testing the markdown preview and simple browser, it seemed like these were okay.
Weird CI failures: error CodeServerRouteWrapper: TypeError: this.args.log?.find is not a function Probably related to some of the patch work I need to address (i.e. unintended changes). |
This upgrades Code to 1.73.0 via the tag.
Only change here was they moved lib/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.ts so I had to update it. Code still looks the same though.
Simlar to a previous patch, the location of lib/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.ts changed so I had to update this patch. No changes to code itself.
I believe there was only one to update but I may have missed one.
quilt couldn't apply it so I had to add one change in manually to lib/vscode/src/vs/server/node/serverEnvironmentService.ts
This kinda got removed but I added it back in.
This was accepted upstream! :tada
6b89422
to
8b57956
Compare
Hmm...can't get the update-check to trigger 🤔 @code-asher do you mind testing? |
Hmm testing telemetry, I'm not seeing the logs when I set |
Seems like upstream now uses a string[] for this. For now, support string. See microsoft/vscode@2b50ab0
This reverts commit 78c02a1.
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #5751 +/- ##
==========================================
+ Coverage 72.65% 72.66% +0.01%
==========================================
Files 30 30
Lines 1682 1683 +1
Branches 369 370 +1
==========================================
+ Hits 1222 1223 +1
Misses 397 397
Partials 63 63
Continue to review full report at Codecov.
|
This was changed upstream from `string` to `string[]` so now we convert to an array in `toCodeArgs`. See 78c02a1
Checked, all is good now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicely done!
Description
This upgrades Code to 1.73.0 via the tag.
Patches tested manually
TODOs
Fixes #5749