Skip to content

Commit 4d5e53a

Browse files
authored
Merge branch 'develop' into onur/react-router-break-recursion
2 parents 4081708 + 14667ee commit 4d5e53a

File tree

397 files changed

+11685
-1651
lines changed

Some content is hidden

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

397 files changed

+11685
-1651
lines changed

.github/workflows/auto-release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
# This workflow tirggers a release when merging a branch with the pattern `prepare-release/VERSION` into master.
1010
jobs:
1111
release:
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-20.04
1313
name: 'Prepare a new version'
1414

1515
steps:
@@ -41,6 +41,11 @@ jobs:
4141
version=${version/'prepare-release/'/''}
4242
echo "version=$version" >> $GITHUB_OUTPUT
4343
44+
- name: Set up Node
45+
uses: actions/setup-node@v4
46+
with:
47+
node-version-file: 'package.json'
48+
4449
- name: Prepare release
4550
uses: getsentry/action-prepare-release@v1
4651
if: github.event.pull_request.merged == true && steps.version-regex.outputs.match != '' && steps.get_version.outputs.version != ''

.github/workflows/build.yml

Lines changed: 56 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,15 @@ env:
5959
nx-Linux-${{ github.ref }}
6060
nx-Linux
6161
62+
# https://bsky.app/profile/joyeecheung.bsky.social/post/3lhy6o54fo22h
63+
# Apparently some of our CI failures are attributable to a corrupt v8 cache, causing v8 failures with: "Check failed: current == end_slot_index.".
64+
# This option both controls the `v8-compile-cache-lib` and `v8-compile-cache` packages.
65+
DISABLE_V8_COMPILE_CACHE: '1'
66+
6267
jobs:
6368
job_get_metadata:
6469
name: Get Metadata
65-
runs-on: ubuntu-22.04
70+
runs-on: ubuntu-20.04
6671
permissions:
6772
pull-requests: read
6873
steps:
@@ -118,7 +123,7 @@ jobs:
118123
job_build:
119124
name: Build
120125
needs: job_get_metadata
121-
runs-on: ubuntu-22.04
126+
runs-on: ubuntu-20.04
122127
timeout-minutes: 15
123128
if: |
124129
needs.job_get_metadata.outputs.changed_any_code == 'true' ||
@@ -196,7 +201,7 @@ jobs:
196201
job_check_branches:
197202
name: Check PR branches
198203
needs: job_get_metadata
199-
runs-on: ubuntu-22.04
204+
runs-on: ubuntu-20.04
200205
if: github.event_name == 'pull_request'
201206
permissions:
202207
pull-requests: write
@@ -212,7 +217,7 @@ jobs:
212217
name: Size Check
213218
needs: [job_get_metadata, job_build]
214219
timeout-minutes: 15
215-
runs-on: ubuntu-22.04
220+
runs-on: ubuntu-20.04
216221
if:
217222
github.event_name == 'pull_request' || needs.job_get_metadata.outputs.is_base_branch == 'true' ||
218223
needs.job_get_metadata.outputs.is_release == 'true'
@@ -242,7 +247,7 @@ jobs:
242247
# inter-package dependencies resolve cleanly.
243248
needs: [job_get_metadata, job_build]
244249
timeout-minutes: 10
245-
runs-on: ubuntu-22.04
250+
runs-on: ubuntu-20.04
246251
steps:
247252
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
248253
uses: actions/checkout@v4
@@ -267,7 +272,7 @@ jobs:
267272
name: Check file formatting
268273
needs: [job_get_metadata]
269274
timeout-minutes: 10
270-
runs-on: ubuntu-22.04
275+
runs-on: ubuntu-20.04
271276
steps:
272277
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
273278
uses: actions/checkout@v4
@@ -290,7 +295,7 @@ jobs:
290295
name: Circular Dependency Check
291296
needs: [job_get_metadata, job_build]
292297
timeout-minutes: 10
293-
runs-on: ubuntu-22.04
298+
runs-on: ubuntu-20.04
294299
steps:
295300
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
296301
uses: actions/checkout@v4
@@ -310,7 +315,7 @@ jobs:
310315
job_artifacts:
311316
name: Upload Artifacts
312317
needs: [job_get_metadata, job_build]
313-
runs-on: ubuntu-22.04
318+
runs-on: ubuntu-20.04
314319
# Build artifacts are only needed for releasing workflow.
315320
if: needs.job_get_metadata.outputs.is_release == 'true'
316321
steps:
@@ -347,7 +352,7 @@ jobs:
347352
name: Browser Unit Tests
348353
needs: [job_get_metadata, job_build]
349354
timeout-minutes: 10
350-
runs-on: ubuntu-22.04
355+
runs-on: ubuntu-20.04
351356
steps:
352357
- name: Check out base commit (${{ github.event.pull_request.base.sha }})
353358
uses: actions/checkout@v4
@@ -381,12 +386,20 @@ jobs:
381386
with:
382387
token: ${{ secrets.CODECOV_TOKEN }}
383388

389+
- name: Upload test results to Codecov
390+
if: cancelled() == false
391+
continue-on-error: true
392+
uses: codecov/test-results-action@v1
393+
with:
394+
files: packages/**/*.junit.xml
395+
token: ${{ secrets.CODECOV_TOKEN }}
396+
384397
job_bun_unit_tests:
385398
name: Bun Unit Tests
386399
needs: [job_get_metadata, job_build]
387400
if: needs.job_build.outputs.changed_bun == 'true' || github.event_name != 'pull_request'
388401
timeout-minutes: 10
389-
runs-on: ubuntu-22.04
402+
runs-on: ubuntu-20.04
390403
strategy:
391404
fail-fast: false
392405
steps:
@@ -413,7 +426,7 @@ jobs:
413426
needs: [job_get_metadata, job_build]
414427
if: needs.job_build.outputs.changed_deno == 'true' || github.event_name != 'pull_request'
415428
timeout-minutes: 10
416-
runs-on: ubuntu-22.04
429+
runs-on: ubuntu-20.04
417430
strategy:
418431
fail-fast: false
419432
steps:
@@ -443,7 +456,7 @@ jobs:
443456
name: Node (${{ matrix.node }}) Unit Tests
444457
needs: [job_get_metadata, job_build]
445458
timeout-minutes: 10
446-
runs-on: ubuntu-22.04
459+
runs-on: ubuntu-20.04
447460
strategy:
448461
fail-fast: false
449462
matrix:
@@ -484,6 +497,14 @@ jobs:
484497
with:
485498
token: ${{ secrets.CODECOV_TOKEN }}
486499

500+
- name: Upload test results to Codecov
501+
if: cancelled() == false
502+
continue-on-error: true
503+
uses: codecov/test-results-action@v1
504+
with:
505+
files: packages/**/*.junit.xml
506+
token: ${{ secrets.CODECOV_TOKEN }}
507+
487508
job_browser_playwright_tests:
488509
name: Playwright ${{ matrix.bundle }}${{ matrix.project && matrix.project != 'chromium' && format(' {0}', matrix.project) || ''}}${{ matrix.shard && format(' ({0}/{1})', matrix.shard, matrix.shards) || ''}} Tests
489510
needs: [job_get_metadata, job_build]
@@ -578,7 +599,7 @@ jobs:
578599
name: PW ${{ matrix.bundle }} Tests
579600
needs: [job_get_metadata, job_build]
580601
if: needs.job_build.outputs.changed_browser_integration == 'true' || github.event_name != 'pull_request'
581-
runs-on: ubuntu-22.04
602+
runs-on: ubuntu-20.04
582603
timeout-minutes: 15
583604
strategy:
584605
fail-fast: false
@@ -638,7 +659,7 @@ jobs:
638659
job_check_for_faulty_dts:
639660
name: Check for faulty .d.ts files
640661
needs: [job_get_metadata, job_build]
641-
runs-on: ubuntu-22.04
662+
runs-on: ubuntu-20.04
642663
timeout-minutes: 5
643664
steps:
644665
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
@@ -666,7 +687,7 @@ jobs:
666687
Tests
667688
needs: [job_get_metadata, job_build]
668689
if: needs.job_build.outputs.changed_node_integration == 'true' || github.event_name != 'pull_request'
669-
runs-on: ubuntu-22.04
690+
runs-on: ubuntu-20.04
670691
timeout-minutes: 15
671692
strategy:
672693
fail-fast: false
@@ -701,11 +722,19 @@ jobs:
701722
working-directory: dev-packages/node-integration-tests
702723
run: yarn test
703724

725+
- name: Upload test results to Codecov
726+
if: cancelled() == false
727+
continue-on-error: true
728+
uses: codecov/test-results-action@v1
729+
with:
730+
directory: dev-packages/node-integration-tests
731+
token: ${{ secrets.CODECOV_TOKEN }}
732+
704733
job_remix_integration_tests:
705734
name: Remix (Node ${{ matrix.node }}) Tests
706735
needs: [job_get_metadata, job_build]
707736
if: needs.job_build.outputs.changed_remix == 'true' || github.event_name != 'pull_request'
708-
runs-on: ubuntu-22.04
737+
runs-on: ubuntu-20.04
709738
timeout-minutes: 10
710739
strategy:
711740
fail-fast: false
@@ -737,6 +766,14 @@ jobs:
737766
cd packages/remix
738767
yarn test:integration:ci
739768
769+
- name: Upload test results to Codecov
770+
if: cancelled() == false
771+
continue-on-error: true
772+
uses: codecov/test-results-action@v1
773+
with:
774+
directory: packages/remix
775+
token: ${{ secrets.CODECOV_TOKEN }}
776+
740777
job_e2e_prepare:
741778
name: Prepare E2E tests
742779
# We want to run this if:
@@ -801,7 +838,7 @@ jobs:
801838
# See: https://github.com/actions/runner/issues/2205
802839
if: always() && needs.job_e2e_prepare.result == 'success' && needs.job_e2e_prepare.outputs.matrix != '{"include":[]}'
803840
needs: [job_get_metadata, job_build, job_e2e_prepare]
804-
runs-on: ubuntu-22.04
841+
runs-on: ubuntu-20.04
805842
timeout-minutes: 15
806843
env:
807844
# We just use a dummy DSN here, only send to the tunnel anyhow
@@ -923,7 +960,7 @@ jobs:
923960
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
924961
github.actor != 'dependabot[bot]'
925962
needs: [job_get_metadata, job_build, job_e2e_prepare]
926-
runs-on: ubuntu-22.04
963+
runs-on: ubuntu-20.04
927964
timeout-minutes: 15
928965
env:
929966
E2E_TEST_AUTH_TOKEN: ${{ secrets.E2E_TEST_AUTH_TOKEN }}
@@ -1043,7 +1080,7 @@ jobs:
10431080
]
10441081
# Always run this, even if a dependent job failed
10451082
if: always()
1046-
runs-on: ubuntu-22.04
1083+
runs-on: ubuntu-20.04
10471084
steps:
10481085
- name: Check for failures
10491086
if: contains(needs.*.result, 'failure')

.github/workflows/canary.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ permissions:
2727
jobs:
2828
job_e2e_prepare:
2929
name: Prepare E2E Canary tests
30-
runs-on: ubuntu-22.04
30+
runs-on: ubuntu-20.04
3131
timeout-minutes: 30
3232
steps:
3333
- name: Check out current commit
@@ -54,7 +54,7 @@ jobs:
5454
job_e2e_tests:
5555
name: E2E ${{ matrix.label }} Test
5656
needs: [job_e2e_prepare]
57-
runs-on: ubuntu-22.04
57+
runs-on: ubuntu-20.04
5858
timeout-minutes: 20
5959
env:
6060
# We just use a dummy DSN here, only send to the tunnel anyhow

.github/workflows/clear-cache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
jobs:
2222
clear-caches:
2323
name: Delete all caches
24-
runs-on: ubuntu-22.04
24+
runs-on: ubuntu-20.04
2525
steps:
2626
- uses: actions/checkout@v4
2727

.github/workflows/enforce-license-compliance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717

1818
jobs:
1919
enforce-license-compliance:
20-
runs-on: ubuntu-22.04
20+
runs-on: ubuntu-20.04
2121
steps:
2222
- name: 'Enforce License Compliance'
2323
uses: getsentry/action-enforce-license-compliance@main

.github/workflows/external-contributors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
permissions:
1313
pull-requests: write
1414
contents: write
15-
runs-on: ubuntu-22.04
15+
runs-on: ubuntu-20.04
1616
if: |
1717
github.event.pull_request.merged == true
1818
&& github.event.pull_request.author_association != 'COLLABORATOR'

.github/workflows/flaky-test-detector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ concurrency:
2323

2424
jobs:
2525
flaky-detector:
26-
runs-on: ubuntu-22.04
26+
runs-on: ubuntu-20.04
2727
timeout-minutes: 60
2828
name: 'Check tests for flakiness'
2929
# Also skip if PR is from master -> develop

.github/workflows/gitflow-sync-develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
jobs:
1818
main:
1919
name: Create PR master->develop
20-
runs-on: ubuntu-22.04
20+
runs-on: ubuntu-20.04
2121
permissions:
2222
pull-requests: write
2323
contents: write

.github/workflows/release-comment-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
# This workflow is triggered when a release is published
1313
jobs:
1414
release-comment-issues:
15-
runs-on: ubuntu-22.04
15+
runs-on: ubuntu-20.04
1616
name: 'Notify issues'
1717
steps:
1818
- name: Get version

.github/workflows/release-size-info.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
# It fetches the size-limit info from the release branch and adds it to the release
1414
jobs:
1515
release-size-info:
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-20.04
1717
name: 'Add size-limit info to release'
1818

1919
steps:

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
default: master
1515
jobs:
1616
release:
17-
runs-on: ubuntu-22.04
17+
runs-on: ubuntu-20.04
1818
name: 'Release a new version'
1919
steps:
2020
- name: Get auth token
@@ -27,6 +27,10 @@ jobs:
2727
with:
2828
token: ${{ steps.token.outputs.token }}
2929
fetch-depth: 0
30+
- name: Set up Node
31+
uses: actions/setup-node@v4
32+
with:
33+
node-version-file: 'package.json'
3034
- name: Prepare release
3135
uses: getsentry/action-prepare-release@v1
3236
env:

.size-limit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ module.exports = [
5454
path: 'packages/browser/build/npm/esm/index.js',
5555
import: createImport('init', 'browserTracingIntegration', 'replayIntegration'),
5656
gzip: true,
57-
limit: '68 KB',
57+
limit: '70 KB',
5858
modifyWebpackConfig: function (config) {
5959
const webpack = require('webpack');
6060
const TerserPlugin = require('terser-webpack-plugin');
@@ -210,7 +210,7 @@ module.exports = [
210210
import: createImport('init'),
211211
ignore: ['next/router', 'next/constants'],
212212
gzip: true,
213-
limit: '40 KB',
213+
limit: '41 KB',
214214
},
215215
// SvelteKit SDK (ESM)
216216
{

0 commit comments

Comments
 (0)