184 Commits

Author SHA1 Message Date
Jennifer Shehane
666ec36ced chore: bump actions/checkout (#33122) 2025-12-16 10:04:12 -05:00
Matt Schile
490c303002 chore: update pull request template for cursor summary (#33061) 2025-12-03 14:56:21 -07:00
Jennifer Shehane
b9401a60f2 chore: Check branch for latest chrome versions, not current chrome versions (#32976)
* Check branch for latest chrome versions, not current chrome versions

* empty commit

* add permissions for pull-requests write for browser version action

* try to just install yarn

* just leave deps actually

* remove adding to project board

* fix mocked requests in test

* cleanup

* move cleanup to afterEach
2025-11-21 14:30:31 -05:00
Mike McCready
ed7b85a8d2 chore: correct troubleshooting links in issue templates (#32991) 2025-11-21 10:03:43 -05:00
Jennifer Shehane
ed157a3885 chore: give v8 snapshot action access to make pull requests (#32626)
* chore: give v8 snapshot action access to make pull requests

* index on v8-action-permissions-update: 9b701df01c chore: give v8 snapshot action access to make pull requests

* index on v8-action-permissions-update: 9b701df01c chore: give v8 snapshot action access to make pull requests

* index on v8-action-permissions-update: 9b701df01c chore: give v8 snapshot action access to make pull requests

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2025-10-02 11:54:54 -04:00
Matt Schile
1aa9f90897 chore: update validate changelog to pull target branch (#32561) 2025-09-24 08:32:54 -06:00
Matt Schile
784a094918 chore: add branches on semantic-pull-request workflow (#32560) 2025-09-24 08:30:52 -06:00
Cacie Prins
03b066b0dc chore: install circleci cli on gh action that updates browser versions (#32538)
* chore: install circleci cli on browser version action so it can pack our ymls

* rm unnecessary env def
2025-09-19 13:00:29 -04:00
Muaz Othman
ddc5fc22d2 chore: update Snyk scan configuration and upgrade Next.js in the tests (#32514)
* chore: update Snyk scan configuration and upgrade Next.js to version 14.2.25

- Added organization flag to Snyk SCA scan in the workflow configuration.
- Upgraded Next.js dependency from version 14.2.17 to 14.2.25 in multiple package.json and yarn.lock files.

* chore(security): relock some packages to address high vulnerabilities
2025-09-17 09:38:48 -04:00
Jennifer Shehane
97334ba3ad chore: update issue templates (#32507)
* chores: update issue templates

* empty commit
2025-09-16 14:28:14 -04:00
Jennifer Shehane
90c3340cf6 breaking: Signal removal of official support for direct download of Cypress (#32249)
* breaking: Signal removal of official support for direct download of Cypress

BREAKING: Signal removal of official support for direct download of Cypress

* add PR link

* Update cli/CHANGELOG.md

Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>

---------

Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
2025-08-15 13:53:10 -04:00
Jennifer Shehane
a1f8caea72 chore: fix failure of update-browser-versions running (#32239) 2025-08-13 16:41:44 -04:00
Jennifer Shehane
45bd447aa6 Merge branch 'develop' into release/15.0.0 2025-07-22 11:14:03 -04:00
Adam Stachowicz
7cb5867aa7 chore: Stop spamming forks with failed GitHub Actions everyday (#32061)
* Update stale_issues_and_pr_cleanup.yml

* Update update_v8_snapshot_cache.yml
2025-07-21 13:52:25 -04:00
Bill Glesias
5684b51326 chore: update snyk scan from node 20 to node 22 (#32047) 2025-07-17 12:30:49 -04:00
Cacie Prins
6b9f27c95d dependency: electron@36.4.0 (#31912)
* dependency: update Electron to 34

* setup workflows to run against binary branch and on all tests

* changelog entry

* node version did bump minorly

* Update base-internal image to match new node version

* fix typo

* changelog updates

* bumping to newest version just released today - hopefully solves glibc error

* fix cy in cy

* remove extra register_ts_node require

* updated lockfile

* upgrade better-sqlite3

* changelog

* update electron in top level package.json

* ts issue, update to use binary workflow for e35, update ancillary deps

* update gh issue templates

* bump missed image names and engines field

* node 22

* snapgen?

* ts issue, log errors even if err.stderr/stdout is null

* more logging

* defer http-proxy common.js due to regexp issue in v8 13.4.* - 13.8.91

* update images for node 22.15.1, use bullseye instead of buster for bettersqlite

* use bullseye image for glibc2.31 build of bettersqlite

* use electron-36 publish binary branch

* node-abi update, set http-proxy deferred in darwin

* update .node-version

* attempt to patch http-proxy to immediately defer  http-proxy/lib/http-proxy/common.js

* empty commit [run ci]

* better patch?

* changelog

* changelog

* Updates v8 snapshots to fix windows build (#31918)

* use node 22 in the v8 snapshot update workflow

* index on windows-v8-snapshots: a013464197 use node 22 in the v8 snapshot update workflow

* index on windows-v8-snapshots: a013464197 use node 22 in the v8 snapshot update workflow

* index on windows-v8-snapshots: a013464197 use node 22 in the v8 snapshot update workflow

* run workflows on windows/mac

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* update protocol system test snapshots (#31925)

* use snapshot to verify the error message on invalid json (#31926)

* chore: account for all node: internal stacks when trying to calculate the code frame. Accounts additionally for node:diagnostics_channel (#31935)

* Fixes electron 36 integrity checks (#31956)

* update the fs.readFileSync integrity check expectation

* maybe this fn is missing from the expected stack?

* more debug, change the stack up a little

* actual fn name is traceSync

* logging

* logging

* remove logging from integrity check

* maybe circle api changed?

* correct params

* inspect stack frames for differences

* have to manually serialize the stack frames

* change expectation

* update expected global keys

* additional allow list

* update key allow list

* increase zipfile size limit on non-windows builds

* revert logging changes

* Update scripts/binary/binary-integrity-check-source.js

* increase timeout to 120s for darwin fsevents/native module test (#31975)

* print out stdout for darwin test

* try and fix test

* update readme re: browsers-internal images, ensure module_api_spec binary test uses correct electron version

* Update .circleci/workflows.yml

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* Update .circleci/workflows.yml

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* trigger 15.0.0 binary pipeline rather than electron-36 specific one

* Update cli/CHANGELOG.md

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* Update cli/CHANGELOG.md

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-07-07 13:03:13 -04:00
Ryan Manuel
1042f4abf1 chore: fix snyk scan to ignore the nx cloud build files (#31025)
* Update snyk_sca_scan.yaml

* empty commit

* bump elliptic

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-02-11 09:39:39 -06:00
Bill Glesias
fec6912cf9 chore: move browser-versions.json values straight into the workflow yaml (#30989)
* use env variables in yaml [run ci]

* add husky hook to lint-staged to format the circle workflow file on commit when the file changes to keep the diff from the github actions job short

* chore: cut over browser-version scripts from json to yaml to update the workflow file inline

* Update scripts/format-workflow-file.js

Co-authored-by: Matt Schile <mschile@cypress.io>

* move expected yaml keys to const variables

---------

Co-authored-by: Matt Schile <mschile@cypress.io>
2025-02-05 13:53:04 -05:00
Matt Schile
ffefdb0f09 dependency: electron 33 upgrade (#30716) 2024-12-06 15:24:40 -07:00
Jennifer Shehane
636bed9cf7 merge develop 2024-12-02 09:42:47 -05:00
Ryan Manuel
12af62701d chore: fix github token issue on windows with v8 snapshot action (#30668) 2024-11-22 11:46:36 -06:00
Ryan Manuel
fe0e59bc56 chore: fix updating v8 snapshot cache when pr already exists (#30665) 2024-11-22 09:28:31 -06:00
Ryan Manuel
0b0143aa86 chore: update v8 snapshot cache action to not squash merge on conflicts (#30598) 2024-11-12 10:38:12 -06:00
AtofStryker
c55bcb1f68 Merge branch 'develop' into chore/merge_develop 2024-11-06 14:30:31 -05:00
Ryan Manuel
0618c88538 chore: improve v8 snapshot cache action to be more resilient to windows slowness and have one PR per platform (#30551)
* Update update_v8_snapshot_cache.yml

* Update snapshot-meta.json

* Update snapshot-meta.json

* Update snapshot-meta.json

* Apply suggestions from code review

* Update update_v8_snapshot_cache.yml

* Update .github/workflows/update_v8_snapshot_cache.yml

* Update .github/workflows/update_v8_snapshot_cache.yml

* Update update_v8_snapshot_cache.yml

* chore: Update v8 snapshot cache - linux (#30552)

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>

* Update update_v8_snapshot_cache.yml

* chore: Update v8 snapshot cache - darwin (#30553)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* chore: Update v8 snapshot cache - windows (#30554)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2024-11-06 08:02:52 -06:00
Ryan Manuel
9fda261dde chore: upgrade electron to 32.2.0 (#30394)
* chore: upgrade electron to 32.2.0 -- run ci

* fix node versions

* fix build

* fix evil-dns

* various fixes

* fix srcdoc

* various fixes

* update package.json

* update yarn.lock

* various fixes

* fix integrity check

* fix binary verification

* various fixes

* update yarn.lock

* fix typo

* fix lock file

* fix tests

* fix tests

* various fixes

* various fixes

* various fixes

* fix stuff

* fix things

* try to fix errors

* fix

* updates

* add yarn berry

* upgrade electron

* attempt with gcc

* blank

* update arm64 executor

* try to fix the arm64 issue

* fix arm64

* bump cache

* attempt to fix arm64 again

* attempt to fix arm64 again

* fix darwin problems

* merge release/14.0.0

* update yarn.lock

* blank -- run ci

* blank

* blank

* blank

* try something

* try something

* clean up

* blank

* try to fix sessions issue

* fixes

* get more info

* get more info

* try something

* fix

* try something

* try something

* try something

* tweak

* one more thing

* let us see if this works

* blank

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* Apply suggestions from code review

* Apply suggestions from code review

* Update cli/CHANGELOG.md

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>

* Update cli/CHANGELOG.md

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>

* Update CHANGELOG.md

* Update cache-version.txt

* fix nx (maybe)

* Update package.json

* try something

* Update packages/app/src/runner/aut-iframe.ts

* bump version

* try to bust cache

* try to invalidate cache

* Update cli/CHANGELOG.md

* suppress benign warnings

* Apply suggestions from code review

* PR comments

* PR comment

* Apply suggestions from code review

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* Update cli/CHANGELOG.md

Co-authored-by: Matt Schile <mschile@cypress.io>

* update debug scenario 4 regex

* Update scripts/binary/trigger-publish-binary-pipeline.js

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Matt Schile <mschile@cypress.io>
2024-10-29 14:55:26 -05:00
renovate[bot]
c5f91ea33b chore(deps): update actions/add-to-project action to v1 (#29943)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-07-31 13:59:53 -04:00
Cedric
f629856775 chore(ci): Fix potential github action smells (#29416)
* chore(ci): fix gha smells

- Avoid running CI related actions when no source code has changed
- Use permissions whenever using Github Token
- Avoid executing  scheduled workflows on forks

* Fix typo in 'if' statement for gha workflow

Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>

* Add contents write permissions to upload_release_asset

---------

Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-05-02 11:39:10 -04:00
Cacie Prins
3288aa5069 chore(dependency): Upgrade Electron 27 (#28792)
* dependency: upgrades electron from 25 to 26

* bump cache run ci

* fix docker img names

* ref electron upgrade branch

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* debug

* debug

* debug

* update search string for resize observer error swallow

* debug

* update integrity check

* update electron readme with upgrade troubleshooting section

* point to new publish binary workflow branch for electron 27

* update electron readme with locations of chromium & node versions for a given electron version

* update node versions and docker image refs

* update electron version to 27.1.3

* fix db nativeBinding arg

* chore: updating v8 snapshot cache

* install setuptools on mac when updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* run workflows on this branch run ci

* require addon directly and pass to better-sqlite3 init; debug

* rm debug

* try loading better-sqlite with a more dynamic filename

* bump electron version

* bump electron version

* bump electron version -- run ci

* bump electron version -- run ci

* bump electron version -- run ci

* bump electron version -- run ci

* bump electron version -- run ci

* add a step to update workflows.yml to electron upgrade process

* reduce retry limit on issue 1244 test to prevent circle from thinking tests have hanged

* target main branch of binary publish workflow? run ci

* Update .node-version -- run ci

* Update CHANGELOG.md

* Update module_api_spec.ts

* point publish binary back to electron upgrade branch

* Adds some logging re: cachedDataVersion

* use precise electron version for better-sqlite3 for centos7

* Update CHANGELOG.md

* chore: fix issue with bytenode (#28568)

* fix jsc for 27 -- run ci

* Update smoke.js

* fix build

* update electron upgrade steps

* Update packages/electron/README.md

Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>

* Update cli/CHANGELOG.md

Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>

* fix DebugEmptyStates component test

* try to fix downstream build -- run ci (#28649)

Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>

* point to consolidated binary publish branch

* revert webpack-preprocessor-awesome-typescript-loader update

* revert certain system tests

* increase padding for module api system test duration window

* account for differing screenshot sizes

* screenshot size differs locally vs ci

* update protocol snapshots

* Update after-pack-hook.js

* fix flaky slideshow

* correct the chromium version in changelog

* use 18.17.1 internal images

* workflow filters

* fix trailing checkbox in electron readme

* add solution to crashing better-sqlite3 in electron readme

* Update packages/electron/README.md

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* Update scripts/after-pack-hook.js

Co-authored-by: Ryan Manuel <ryanm@cypress.io>

* Update scripts/after-pack-hook.js

Co-authored-by: Ryan Manuel <ryanm@cypress.io>

* Update scripts/after-pack-hook.js

Co-authored-by: Ryan Manuel <ryanm@cypress.io>

* add branch to setup_should_persist_artifacts

* debug app e2e test

* bump cache

* upgrade browsers-internal to chrome 121

* revert to chrome 118 images

* bump cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* bump cache

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2024-02-15 10:33:51 -05:00
Jennifer Shehane
4a6d483dc3 chore: Bump github actions deps (#28879)
* Bump github actions deps

* empty commit
2024-02-08 11:20:39 -05:00
Bill Glesias
ca0891ec2a chore: set GH_TOKEN permissions on the job that only allow the semantic pull request job, that runs with pull_request_target, to have access to read the repository contents and pull-requests contents. The token does not have write permissions and has disabled read permissions on contexts that are not needed for the job (#28749) 2024-01-19 08:56:23 -05:00
Adam Stone-Lord
325be635d6 chore: skip Snyk jobs on PRs created from repo forks (#28093) 2024-01-17 12:48:34 -05:00
Ben M
199f4c357c chore: remove KPI generation workflow (#27887) 2023-09-22 15:37:52 -04:00
Adam Stone-Lord
3477e4d396 chore: remove Github Action for triggering CircleCI pipeline (#27865) 2023-09-20 17:24:43 -04:00
Ben M
8e682821ab chore: update kpi report generation to include feature review metrics (#27778)
* chore: update kpi report generation to include feature review metrics

* chore: fix typo
2023-09-15 14:20:25 -04:00
Ben M
849da7c6f5 chore: update chrome PR creation workflow to add to firewatch board (#27821)
* chore: update chrome PR creation workflow to add to firewatch board

* chore: adding in ability to manually run job

* chore: changing how we add the chrome update PR to the firewatch board
2023-09-15 13:00:45 -04:00
Bill Glesias
b85dd752f2 dependency: update to electron 25 and node 18 (#27715)
* feat: update to electron 25 and bump node dependencies. need to remove
custom docker image

* chore: update node versions to 18+ [run ci]

* chore: bump @types/node from v16 to v18 and bump the typescript supported CLI version from 3.9 to 4.4

* update mock-fs to 5.2.0 to fix BigInt issue (see https://github.com/tschaub/mock-fs/releases/tag/v5.1.4) [run ci]

* chore: update electron integrity check to pass create binary job

* chore: fix issues with achrinza/node-ipc not yet having node 18 engine support (only up to 17 by patching from 9.2.2 to 9.2.5 as seen in https://github.com/achrinza/node-ipc/pull/38. vue/cli-service is not maintained and we should migrate these over to vue create at some point in the near future to get rid of these resolutions

* allow for TLSv1 tests to work with node 18 as the express server running node 18 with tlsv1 needs to allow legacy ciphers

* chore: update snyk workflows to use node 18

* chore: add changelog

* update timeout

* more cleanup during binary build

* bump cache and run ci. include ignore engines for rwa and get rid of
16.16 image references

* chore: update FF tests to 115 as serialization now works with errors and click events do not get fired on buttons being typed into

* chore: don't error when symlink already exists

* chore: fix serialization test for newer versions of firefox

* chore: fix CI config

* chore: fix chrome system tests to work with chrome 114. updates mostly caused by bugs in screen height in chrome. see https://bugs.chromium.org/p/chromium/issues/detail?id=1416398

* chore: test binary against vite update in RWA

* remove wait for RWA as it shouldnt be needed for vite. link example recipes update to node 18

chore: remove commented out code

* chore: print message when DISABLE_SNAPSHOT_REQUIRE is set

* chore: clean out unneeded dependencies always

* chore: remove trailing space

* fix: propagate click events for enter and typing on firefox 106 or later

* chore: fix changelog failures

* fix: correctly simulate click events for buttons on keyup and space type  in Firefox versions greater than 91 and simulate click for buttons on enter in Firefox versions greater than or equal to 106

* chore: add documentation to type to clarify firefox synthetic events

* chore: update protocol snapshot as order or log messages seems to have changed

* update comments

* sort commandLogChanged events for protocol

* chore: remove PR ids from CRA and CER as the PRs are merged into develop

---------

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Chris Breiding <chrisbreiding@gmail.com>
Co-authored-by: Matt Schile <mschile@cypress.io>
2023-09-07 15:26:09 -04:00
Chris Breiding
6081751c41 fix: change how tsconfig is aliased in webpack-batteries-included-preprocessor (#27706)
* chore: change how tsconfig is aliased in webpack-batteries-included-preprocessor

* use --target-reference so snyk analyzes current branch

* fix missing space

* use pull_request instead of pull_request_target for snyk actions
2023-08-31 10:09:38 -04:00
Ben Patterson
0089501e0a chore: snyk scan should run on default PR events. (#27696)
This should ensure it's run on follow-up commits, for example.
2023-08-29 17:44:07 -04:00
Jennifer Shehane
485d91dc29 Merge branch 'develop' into release/13.0.0 2023-08-27 15:49:53 -04:00
cypresschris
f383ae329f chore: SEC-688 | updates to sca scan action (#27639)
* Chore: SEC-688 | updates to sca scan action

* Chore: SEC-688 | removed push event

* SEC-688 | Updates to SAST scan configs

* SEC-688 | Update SCA scan to include CLI

* chore: empty commit for semantic versioning

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2023-08-25 16:34:59 -05:00
Ryan Manuel
bb7b7c0657 Merge branch 'develop' into release/13.0.0 2023-08-25 09:02:04 -05:00
cypresschris
9bd124e308 Revert "Chore: SEC-688 | TEsting" (#27626)
This reverts commit 7b18db95d8.
2023-08-22 14:28:42 -05:00
cypresschris
7b18db95d8 Chore: SEC-688 | TEsting 2023-08-22 12:26:08 -05:00
cypresschris
1f1e39e92c chore: SEC-688 | Update to the SCA scan action for Snyk (#27614) 2023-08-21 15:26:17 -05:00
Bill Glesias
8102a09200 Merge branch 'develop' of https://github.com/cypress-io/cypress into merge-develop-into-13 2023-08-04 16:27:38 -04:00
cypresschris
0336922c3a SEC-563 | Exclude system-tests from Snyk security checks for cypress monorepo (#27411) 2023-07-31 14:59:40 -04:00
Chris Breiding
069d3b399c breaking: Normalize results from module api, after:run, and after:spec (#27230) 2023-07-31 14:37:11 -04:00
Ben M
79116ef2dc chore: update KPI report to include feature request metrics (#27305) 2023-07-21 09:35:43 -04:00
Ben M
de42cdb39e chore: adding in workarounds KPIs plus refactoring (#27055)
* chore: adding in work around KPIs

* chore: update workflow to work with new KPI report generation process

* chore: fix a bad copy paste from my development environment

* chore: fix a bad copy paste from my development environment

* Update .github/workflows/report_weekly_app_kpis.yml

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>

* Update .github/workflows/report_weekly_app_kpis.yml

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>

---------

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2023-07-06 13:16:13 -04:00