Skip to content
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

chore(dependency): Upgrade Electron 28 #28959

Open
wants to merge 43 commits into
base: develop
Choose a base branch
from
Open

Conversation

jennifer-shehane
Copy link
Member

@jennifer-shehane jennifer-shehane commented Feb 16, 2024

Additional details

  • Upgrade to Chromium 120
  • Upgrade to Node 18.18.2
  • Upgrade to v8 12.0

Related Docker Images PR https://github.com/cypress-io/cypress-docker-images/pull/1052/files

Steps to test

How has the user experience changed?

PR Tasks

@jennifer-shehane jennifer-shehane self-assigned this Feb 16, 2024
Copy link

cypress bot commented Feb 16, 2024

1 flaky test on run #55472 ↗︎

0 551 9 0 Flakiness 1

Details:

empty commit to trigger ci [run ci]
Project: cypress Commit: 8286d7b4bf
Status: Passed Duration: 12:45 💡
Started: May 17, 2024 3:28 PM Ended: May 17, 2024 3:41 PM
Flakiness  cypress/e2e/runner/sessions.ui.cy.ts • 1 flaky test • app-e2e

View Output

Test Artifacts
runner/cypress sessions.ui.spec > creates new session and fails validation Test Replay Screenshots

Review all test suite changes for PR #28959 ↗︎

@@ -213,7 +213,7 @@ class SourcemapSupport {
frame = cloneCallSite(frame)

frame.getFileName = function getFileName () {
return pos.source || pos.name || null
return pos.source || pos.name || undefined
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yarn.lock Outdated
integrity sha512-2s6B2CWZM//kPgwnuI0KrYwNjfdByE25zvAaEpq9IH4zcNsarH8Ihu/UuX6XMPEogDAxkuUFeZn60pXNHAqn3A==
version "3.54.0"
resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-3.54.0.tgz#f6386f7548817acac6434c6cba02999c9aebcc69"
integrity sha512-p7eGEiQil0YUV3ItH4/tBb781L5impVmmx2E9FRKF7d18XXzp4PGT2tdYMFY6wQqgxD0IwNZOiSJ0/K0fSi/OA==
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

node-abi error was encountered, so needed to bump this. electron/forge#667

@@ -181,6 +181,7 @@ export class DataContext {
@cached
get cloud () {
return new CloudDataSource({
// @ts-ignore
fetch: (...args) => this.util.fetch(...args),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -16,7 +16,7 @@
"types": [
"cypress",
"./support",
"./node_modules/@types/node"
"node"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MikeMcC399

This comment was marked as resolved.

@jennifer-shehane
Copy link
Member Author

@MikeMcC399 Removed that reference.

@jennifer-shehane jennifer-shehane marked this pull request as draft April 23, 2024 23:05
@@ -26,6 +26,7 @@ describe('network stubbing', { retries: 15 }, function () {

beforeEach(function () {
cy.spy(Cypress.utils, 'warning')
cy.visit('/fixtures/empty.html')
Copy link
Contributor

Choose a reason for hiding this comment

The 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 document.location is already on the correct origin. A bit strange, but this does make sense for security purposes. I do not think this is a breaking change but more so an oddity with the test.

@@ -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',
Copy link
Contributor

Choose a reason for hiding this comment

The 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)

@AtofStryker AtofStryker marked this pull request as ready for review May 16, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Electron 28] - EPIC - Upgrade
4 participants