-
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
feat: improve stability when recording #25837
Changes from all commits
48700f4
c2b647a
c080a11
ecbde1e
29e6951
b2a047c
d01987b
f5bcc6e
1462c86
72d4b16
8c5817f
60984eb
139eda5
792ab36
503e549
3e64537
f45cb3b
8ca8724
d9142a6
21bf1ab
2bb00d7
d9df6dc
0b90a2b
68e715c
48b833d
26353d9
5150ac9
1021b0d
329b655
fcbada8
7e026ae
fed61c1
e9e3547
57a821d
809d5b1
a1de330
e358a66
eba8365
2740245
04e4b98
29857da
3a54b3d
ea075e7
6780197
4e7c7bf
a9e07e0
d2bda85
c1b3357
d6681a5
26a0465
878aa1e
802f193
458dc0b
d6086a6
2c5094c
245400f
5d38807
45c8a33
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 |
---|---|---|
|
@@ -30,7 +30,7 @@ mainBuildFilters: &mainBuildFilters | |
- /^release\/\d+\.\d+\.\d+$/ | ||
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested | ||
- 'update-v8-snapshot-cache-on-develop' | ||
- 'lmiller/fixing-vite-windows' | ||
- 'fix/preflight' | ||
|
||
# usually we don't build Mac app - it takes a long time | ||
# but sometimes we want to really confirm we are doing the right thing | ||
|
@@ -41,6 +41,7 @@ macWorkflowFilters: &darwin-workflow-filters | |
- equal: [ develop, << pipeline.git.branch >> ] | ||
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested | ||
- equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ] | ||
- equal: [ 'fix/preflight', << pipeline.git.branch >> ] | ||
- matches: | ||
pattern: /^release\/\d+\.\d+\.\d+$/ | ||
value: << pipeline.git.branch >> | ||
|
@@ -51,6 +52,7 @@ linuxArm64WorkflowFilters: &linux-arm64-workflow-filters | |
- equal: [ develop, << pipeline.git.branch >> ] | ||
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested | ||
- equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ] | ||
- equal: [ 'fix/preflight', << pipeline.git.branch >> ] | ||
- matches: | ||
pattern: /^release\/\d+\.\d+\.\d+$/ | ||
value: << pipeline.git.branch >> | ||
|
@@ -71,6 +73,7 @@ windowsWorkflowFilters: &windows-workflow-filters | |
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested | ||
- equal: [ 'lmiller/fixing-vite-windows', << pipeline.git.branch >> ] | ||
- equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ] | ||
- equal: [ 'fix/preflight', << pipeline.git.branch >> ] | ||
- matches: | ||
pattern: /^release\/\d+\.\d+\.\d+$/ | ||
value: << pipeline.git.branch >> | ||
|
@@ -136,7 +139,7 @@ commands: | |
- run: | ||
name: Check current branch to persist artifacts | ||
command: | | ||
if [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "release/"* && "$CIRCLE_BRANCH" != "lmiller/fixing-vite-windows" ]]; then | ||
if [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "release/"* && "$CIRCLE_BRANCH" != "fix/preflight" && "$CIRCLE_BRANCH" != "update-v8-snapshot-cache-on-develop" ]]; then | ||
echo "Not uploading artifacts or posting install comment for this branch." | ||
circleci-agent step halt | ||
fi | ||
|
@@ -1485,6 +1488,30 @@ jobs: | |
path: /tmp/cypress | ||
- store-npm-logs | ||
|
||
server-unit-tests-cloud-environment: | ||
<<: *defaults | ||
parameters: | ||
<<: *defaultsParameters | ||
resource_class: | ||
type: string | ||
default: medium | ||
resource_class: << parameters.resource_class >> | ||
parallelism: 1 | ||
steps: | ||
- restore_cached_workspace | ||
# TODO: Remove this once we switch off self-hosted M1 runners | ||
- when: | ||
condition: | ||
equal: [ *darwin-arm64-executor, << parameters.executor >> ] | ||
steps: | ||
- run: rm -f /tmp/cypress/junit/* | ||
- run: yarn workspace @packages/server test-unit cloud/environment_spec.ts | ||
- verify-mocha-results: | ||
expectedResultCount: 1 | ||
- store_test_results: | ||
path: /tmp/cypress | ||
- store-npm-logs | ||
|
||
server-integration-tests: | ||
<<: *defaults | ||
parallelism: 1 | ||
|
@@ -2577,6 +2604,7 @@ linux-x64-workflow: &linux-x64-workflow | |
context: | ||
- test-runner:upload | ||
- test-runner:commit-status-checks | ||
- test-runner:build-binary | ||
requires: | ||
- build | ||
# various testing scenarios, like building full binary | ||
|
@@ -2677,6 +2705,7 @@ linux-arm64-workflow: &linux-arm64-workflow | |
context: | ||
- test-runner:upload | ||
- test-runner:commit-status-checks | ||
- test-runner:build-binary | ||
executor: linux-arm64 | ||
resource_class: arm.medium | ||
requires: | ||
|
@@ -2694,6 +2723,12 @@ linux-arm64-workflow: &linux-arm64-workflow | |
resource_class: arm.medium | ||
requires: | ||
- linux-arm64-build | ||
- server-unit-tests-cloud-environment: | ||
name: linux-arm64-server-unit-tests-cloud-environment | ||
executor: linux-arm64 | ||
resource_class: arm.medium | ||
requires: | ||
- linux-arm64-build | ||
|
||
darwin-x64-workflow: &darwin-x64-workflow | ||
jobs: | ||
|
@@ -2717,6 +2752,7 @@ darwin-x64-workflow: &darwin-x64-workflow | |
- test-runner:sign-mac-binary | ||
- test-runner:upload | ||
- test-runner:commit-status-checks | ||
- test-runner:build-binary | ||
executor: mac | ||
resource_class: macos.x86.medium.gen2 | ||
requires: | ||
|
@@ -2740,6 +2776,12 @@ darwin-x64-workflow: &darwin-x64-workflow | |
resource_class: macos.x86.medium.gen2 | ||
requires: | ||
- darwin-x64-build | ||
- server-unit-tests-cloud-environment: | ||
name: darwin-x64-driver-server-unit-tests-cloud-environment | ||
executor: mac | ||
resource_class: macos.x86.medium.gen2 | ||
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. not sure if this needs to be this big bc these are just unit tests 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. Updated: |
||
requires: | ||
- darwin-x64-build | ||
|
||
darwin-arm64-workflow: &darwin-arm64-workflow | ||
jobs: | ||
|
@@ -2762,6 +2804,7 @@ darwin-arm64-workflow: &darwin-arm64-workflow | |
- test-runner:sign-mac-binary | ||
- test-runner:upload | ||
- test-runner:commit-status-checks | ||
- test-runner:build-binary | ||
executor: darwin-arm64 | ||
resource_class: cypress-io/latest_m1 | ||
requires: | ||
|
@@ -2779,6 +2822,12 @@ darwin-arm64-workflow: &darwin-arm64-workflow | |
resource_class: cypress-io/latest_m1 | ||
requires: | ||
- darwin-arm64-build | ||
- server-unit-tests-cloud-environment: | ||
name: darwin-arm64-server-unit-tests-cloud-environment | ||
executor: darwin-arm64 | ||
resource_class: cypress-io/latest_m1 | ||
requires: | ||
- darwin-arm64-build | ||
|
||
windows-workflow: &windows-workflow | ||
jobs: | ||
|
@@ -2819,6 +2868,13 @@ windows-workflow: &windows-workflow | |
requires: | ||
- windows-build | ||
|
||
- server-unit-tests-cloud-environment: | ||
name: windows-server-unit-tests-cloud-environment | ||
executor: windows | ||
resource_class: windows.medium | ||
requires: | ||
- windows-build | ||
|
||
- create-build-artifacts: | ||
name: windows-create-build-artifacts | ||
executor: windows | ||
|
@@ -2827,6 +2883,7 @@ windows-workflow: &windows-workflow | |
- test-runner:sign-windows-binary | ||
- test-runner:upload | ||
- test-runner:commit-status-checks | ||
- test-runner:build-binary | ||
requires: | ||
- windows-build | ||
- test-binary-against-kitchensink-chrome: | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
How come this job isn't run against
darwin-arm64
andlinux-arm64
?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.
I suppose I could add it. I'm not sure there's much benefit as the logic is platform specific, not architecture specific