Commit Graph

100 Commits

Author SHA1 Message Date
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
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
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
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
cypresschris
0336922c3a SEC-563 | Exclude system-tests from Snyk security checks for cypress monorepo (#27411) 2023-07-31 14:59:40 -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
Ben M
806b74ee40 chore: adding new kpi report workflow (#26922)
* chore: adding new kpi report workflow

---------

Co-authored-by: Matt Schile <mschile@cypress.io>
2023-06-09 09:05:42 -04:00
cypresschris
ffe4734d88 chore: update Snyk to scan all projects (#26867)
* SEC-544 chore: [Snyk] Update Snyk flag in Git actn

* Update snyk_sca_scan.yaml

Removed --debug switch from the test command

---------

Co-authored-by: brady-cypressio <90723145+brady-cypressio@users.noreply.github.com>
2023-06-05 09:35:24 -04:00
Ben M
0af6936c63 Update stale_issues_and_pr_cleanup.yml
stalebot was incorrectly configured to run in debug mode.  I have updated the default to run in normal mode when running scheduled
2023-06-01 09:40:27 -04:00
Ben M
acc4d5faf3 Update triage_add_to_project.yml 2023-05-30 11:10:45 -04:00
Ben M
0cf11fe416 Update stale_issues_and_pr_cleanup.yml
Upped the number of operations per run.  Have been manually doing that so this job can get through all the issues in the repo with no problems.
2023-05-26 08:55:38 -04:00
Emily Rohrbough
a40067bb3f chore: update triage workflow to add comment to contributor prs (#26493)
Co-authored-by: Ben M <benm@cypress.io>
2023-05-17 09:41:37 -05:00
Ben M
b6f869255b chore: adding in repo token to explicitly use that while running commands [skip ci] (#26746) 2023-05-15 08:27:45 -04:00
Ben M
b1ca3a2fa6 chore: update stalebot config (#26745) 2023-05-12 13:16:45 -04:00
Ben M
7630caed82 chore: cypress[26674] updated github workflows to use checklout@v3 and stop using set-output and move to file use (#26696) 2023-05-10 15:43:20 -04:00
Ben M
365630d5a2 chore: update stalebot to respect new labels and up process rate (#26552) 2023-04-21 10:06:18 -04:00
Ben M
c7da9f4ee6 chore: [skip ci] update to labels looked at by stalebot (#26496) 2023-04-13 14:18:15 -04:00
Ben M
f5bcc044a2 chore: [skip ci] turning on stale bot (#26488) 2023-04-12 22:17:39 -04:00
Ben M
d6bd4ec9e7 Update triage_add_to_project.yml
wrong quotes used in workflow
2023-04-11 10:07:53 -04:00
Ben M
9a42a6f498 chore: update add-to-project workflow (#26439)
* chore: update add-to-project workflow to add issues created byy github-actions[bot] to triage board

---------

Co-authored-by: Matt Schile <mschile@cypress.io>
2023-04-10 15:33:54 -04:00
Ryan Manuel
3aa1c48d56 chore: update update_v8_snapshot_cache.yml to run mac before windows (#26459) 2023-04-07 17:22:19 -05:00
Ben M
b34897241e chore: created a new github action to handle new comments better (#26234)
* chore: created a new github action to handle new comments better
---------

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Matt Schile <mschile@cypress.io>
2023-04-03 13:39:44 -04:00
Ryan Manuel
9325d6577d chore: update to use new github-script API (#26307) 2023-03-30 20:16:10 -05:00
renovate[bot]
7060503619 chore: update actions/add-to-project action to v0.4.1 🌟 (#26219)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 15:35:22 -05:00
renovate[bot]
415b93465c chore(deps): update actions/github-script action to v6 🌟 (#25280)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2023-03-23 09:04:42 -04:00
renovate[bot]
b4443e7f67 chore(deps): update actions/setup-node action to v3 🌟 (#25281)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2023-03-22 10:21:18 -04:00
Ben M
dbf4ff8982 chore: remove workflow adding of triage label 2023-03-14 17:07:04 -04:00