Skip to content

Commit 51883ff

Browse files
authored
Merge branch 'develop' into ci/parameterize-binary-branch
2 parents b3cd415 + c970ae2 commit 51883ff

File tree

126 files changed

+929
-810
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+929
-810
lines changed

.circleci/cache-version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Bump this version to force CI to re-create the cache from scratch.
2-
10-3-2025
2+
10-10-2025

.circleci/src/pipeline/@pipeline.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -200,15 +200,15 @@ commands:
200200
description: Save entire folder as artifact for other jobs to run without reinstalling
201201
steps:
202202
- run:
203-
name: Sync Cloud Validations
203+
name: Build packages
204204
command: |
205205
source ./scripts/ensure-node.sh
206-
yarn gulp syncCloudValidations
206+
yarn build
207207
- run:
208-
name: Build packages
208+
name: Sync Cloud Validations
209209
command: |
210210
source ./scripts/ensure-node.sh
211-
yarn build
211+
yarn gulp syncCloudValidations
212212
- run:
213213
name: Generate v8 snapshot
214214
command: |
@@ -2806,13 +2806,6 @@ jobs:
28062806
browser: chrome
28072807
executor: << parameters.executor >>
28082808

2809-
test-binary-against-todomvc-firefox:
2810-
<<: *defaults
2811-
steps:
2812-
- test-binary-against-repo:
2813-
repo: cypress-example-todomvc
2814-
browser: firefox
2815-
28162809
test-binary-against-cypress-realworld-app:
28172810
<<: *defaults
28182811
resource_class: medium+

.circleci/src/pipeline/workflows/@main.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ linux-x64:
320320
- test-runner:build-binary
321321
- publish-binary
322322
requires:
323-
- node_modules_install
323+
- build
324324
- wait-for-binary-publish:
325325
type: approval
326326
requires:
@@ -392,10 +392,6 @@ linux-x64:
392392
filters: *mainBuildFilters
393393
requires:
394394
- get-published-artifacts
395-
- test-binary-against-todomvc-firefox:
396-
filters: *mainBuildFilters
397-
requires:
398-
- get-published-artifacts
399395
- test-binary-against-cypress-realworld-app:
400396
context: test-runner:cypress-record-key
401397
filters: *mainBuildFilters
@@ -782,10 +778,6 @@ linux-x64-contributor:
782778
filters: *mainBuildFilters
783779
requires:
784780
- get-published-artifacts
785-
- test-binary-against-todomvc-firefox:
786-
filters: *mainBuildFilters
787-
requires:
788-
- get-published-artifacts
789781
- test-binary-against-cypress-realworld-app:
790782
context: test-runner:cypress-record-key
791783
filters: *mainBuildFilters
@@ -837,7 +829,7 @@ linux-arm64:
837829
executor: linux-arm64
838830
resource_class: arm.medium
839831
requires:
840-
- linux-arm64-node-modules-install
832+
- linux-arm64-build
841833

842834
- wait-for-binary-publish:
843835
name: linux-arm64-wait-for-binary-publish

.circleci/src/pipeline/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ jobs:
261261
- test-runner:build-binary
262262
- publish-binary
263263
requires:
264-
- node_modules_install
264+
- build
265265
- wait-for-binary-publish:
266266
type: approval
267267
requires:

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ If you prefer to disable the restrictions for one boot only, use instead:
257257
echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
258258
```
259259

260-
If you do not disable these restrictions for the affected Ubuntu versions, then Cypress may exit with a fatal error when you try to run Cypress after building Cypress from source. The error includes the text `FATAL:setuid_sandbox_host.cc` and may be hidden, pending resolution of issue https://github.com/cypress-io/cypress/issues/32358.
260+
If you do not disable these restrictions for the affected Ubuntu versions, then Cypress may exit with a fatal error when you try to run Cypress after building Cypress from source. The error message includes the text `FATAL:setuid_sandbox_host.cc`.
261261

262262
#### Windows
263263

cli/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33

44
_Released 10/21/2025 (PENDING)_
55

6+
**Bugfixes:**
7+
8+
- An error is no longer thrown during command execution when the application under test overwrites the `window.$` property with a non-function. Fixes [#1502](https://github.com/cypress-io/cypress/issues/1502). Fixed in [#32682](https://github.com/cypress-io/cypress/pull/32682).
9+
610
**Misc:**
711

812
Browser detection in Cypress now always prefers 64-bit browser installs to 32-bit browser installs. Addressed in [#32656](https://github.com/cypress-io/cypress/pull/32656).

cli/lib/bin/cypress.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env node
2+
// declared here in order to avoid consumers who are looking for the binary to be available relative to the dist directory
3+
import '../../bin/cypress'

cli/scripts/start-build.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,8 @@ shell.cp('dist/exec/*.js', 'build/dist/exec')
3535

3636
shell.mkdir('-p', 'build/dist/tasks')
3737
shell.cp('dist/tasks/*.js', 'build/dist/tasks')
38+
39+
shell.mkdir('-p', 'build/dist/bin')
40+
shell.cp('dist/bin/cypress.js', 'build/dist/bin/cypress')
41+
// because this is a compiled file, it is read only and we need to grant execute permissions
42+
shell.chmod('+x', 'build/dist/bin/cypress')

guides/esm-migration.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ When migrating some of these projects away from the `ts-node` entry [see `@packa
5252
- [x] packages/launcher ✅ **COMPLETED**
5353
- [x] packages/launchpad ✅ **COMPLETED**
5454
- [x] packages/net-stubbing ✅ **COMPLETED**
55-
- [ ] packages/network **PARTIAL** - entry point is JS
55+
- [x] packages/network ✅ **COMPLETED**
56+
- [x] packages/network-tools ✅ **COMPLETED**
5657
- [x] packages/packherd-require ✅ **COMPLETED**
5758
- [ ] packages/proxy **PARTIAL** - entry point is JS
5859
- [x] packages/reporter ✅ **COMPLETED**
@@ -64,7 +65,7 @@ When migrating some of these projects away from the `ts-node` entry [see `@packa
6465
- [ ] packages/server **PARTIAL** - many source/test files in JS. highest priority
6566
- [ ] packages/socket **PARTIAL** - entry point is JS. Tests are JS
6667
- [x] packages/stderr-filtering ✅ **COMPLETED**
67-
- [ ] packages/telemetry **PARTIAL** - entry point is JS
68+
- [x] packages/telemetry **COMPLETED**
6869
- [ ] packages/ts **PARTIAL** - ultimate goal is removal and likely not worth the effort to convert
6970
- [x] packages/types ✅ **COMPLETED**
7071
- [x] packages/v8-snapshot-require
@@ -101,6 +102,7 @@ When migrating some of these projects away from the `ts-node` entry [see `@packa
101102
- [x] packages/launcher ✅ **COMPLETED**
102103
- [ ] packages/net-stubbing
103104
- [x] packages/network ✅ **COMPLETED**
105+
- [x] packages/network-tools ✅ **COMPLETED**
104106
- [ ] packages/packherd-require
105107
- [ ] packages/proxy
106108
- [x] packages/rewriter ✅ **COMPLETED**

guides/release-process.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ _Note: It is advisable to notify the team that the `develop` branch is locked do
193193
24. If utilizing the `SKIP_RELEASE_CHANGELOG_VALIDATION_FOR_BRANCHES` to override and skip changelog validation for this release, change its value as needed or delete it from CircleCI so that subsequent releases and PRs will go through changelog validation.
194194
195195
25. Check all `cypress-test-*` and `cypress-example-*` repositories, and if there is a branch named `x.y.z` for testing the features or fixes from the newly published version `x.y.z`, update that branch to refer to the newly published NPM version in `package.json`. Then, get the changes approved and merged into that project's main branch. For projects without a `x.y.z` branch, you can go to the Renovate dependency issue and check the box next to `Update dependency cypress to X.Y.Z`. It will automatically create a PR. Once it passes, you can merge it. Try updating at least the following projects:
196-
- [cypress-example-todomvc](https://github.com/cypress-io/cypress-example-todomvc/issues/99)
197196
- [cypress-realworld-app](https://github.com/cypress-io/cypress-realworld-app/issues/41)
198197
- [cypress-example-recipes](https://github.com/cypress-io/cypress-example-recipes/issues/225)
199198

0 commit comments

Comments
 (0)