-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
fix(dep): Upgrade Electron 28 #28959
Changes from all commits
121aef3
a74681e
6e73a3e
05f873d
1cbd4ea
fe34d4d
837a079
23cbb71
652eeaa
0d3bae1
8e66ac2
2ef87a0
3b9c2d9
de8ab30
306e5b6
5f40d20
1401928
1113a99
ef36f34
763367a
1fbc23c
2a6d6e2
decdca0
99d1620
52addeb
500225b
de6a1fd
e858554
9985f75
67c4065
ef8361c
a32c241
9595366
a5d92ae
f871559
aa36916
b0276b6
c5c44af
0d14d87
1549bd2
208bc8b
55287d4
8286d7b
f56bb33
a589f05
1607e5e
950ea49
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
18.17.1 | ||
18.18.2 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
"types": [ | ||
"cypress", | ||
"./support", | ||
"./node_modules/@types/node" | ||
"node" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
] | ||
}, | ||
"include": [ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -181,6 +181,7 @@ export class DataContext { | |
@cached | ||
get cloud () { | ||
return new CloudDataSource({ | ||
// @ts-ignore | ||
fetch: (...args) => this.util.fetch(...args), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To address error below. Open to better ideas here. https://app.circleci.com/pipelines/github/cypress-io/cypress/59948/workflows/efa9b4b3-12ca-4f83-a8d7-d5c9186f28d4/jobs/2493976 |
||
getUser: () => this.coreData.user, | ||
logout: () => this.actions.auth.logout().catch(this.logTraceError), | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ describe('network stubbing', { retries: 15 }, function () { | |
|
||
beforeEach(function () { | ||
cy.spy(Cypress.utils, 'warning') | ||
cy.visit('/fixtures/empty.html') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. with Electron 28, we need to visit a url to establish origin , even though the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is the error when this happens? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will this be technically breaking? Folks could have tests that could have worked previously without a visit that no longer work? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The error was fairly vague via |
||
}) | ||
|
||
context('cy.intercept()', function () { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ const { getNextVersionForBinary } = require('../get-next-version') | |
job_name: process.env.CIRCLE_JOB, | ||
triggered_workflow_id: process.env.CIRCLE_WORKFLOW_ID, | ||
triggered_job_url: process.env.CIRCLE_BUILD_URL, | ||
branch: process.env.CIRCLE_BRANCH, | ||
branch: 'upgrade-electron-28', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we will need to remove this post merging (as well as merging the updated binary code) |
||
should_persist_artifacts: Boolean(process.env.SHOULD_PERSIST_ARTIFACTS), | ||
binary_version: nextVersion, | ||
}, | ||
|
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.
These lines need to be moved up to the top of the CHANGELOG
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.
We're running the 29 upgrade first. Electron 28 contains a breaking change, so we're likely to skip this and it will be dead. We'll revisit if we have to though. #30224
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.
Makes sense!