Skip to content

Commit 91dc619

Browse files
committed
Merge branch 'develop' of ssh://github.com/element-hq/element-web into hughns/msc4108-2024-signin-on-new-device
2 parents ae2282a + cd51544 commit 91dc619

285 files changed

Lines changed: 7201 additions & 4780 deletions

File tree

Some content is hidden

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

.github/actions/download-verify-element-tarball/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111
using: composite
1212
steps:
1313
- name: Download release tarball
14-
uses: robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1
14+
uses: robinraju/release-downloader@28fc21f50d76778e7023361aa1f863e717d3d56f # v1
1515
with:
1616
tag: ${{ inputs.tag }}
1717
fileName: element-*.tar.gz*

.github/renovate.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,39 @@
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": ["github>matrix-org/renovate-config-element-web"],
44
"postUpdateOptions": ["pnpmDedupe"],
5+
"stopUpdatingLabel": "X-Blocked",
56
"packageRules": [
67
{
8+
"description": "Group all testcontainers docker digests",
79
"groupName": "testcontainers docker digests",
810
"groupSlug": "testcontainers-docker",
911
"matchDepTypes": ["testcontainers-docker"],
1012
"matchPackageNames": ["*"]
13+
},
14+
{
15+
"description": "Separate updates to overrides from other groups",
16+
"matchDepTypes": ["pnpm.overrides"],
17+
"groupSlug": null
18+
},
19+
{
20+
"description": "Disable any major updates to overrides as this almost always is wrong",
21+
"matchDepTypes": ["pnpm.overrides"],
22+
"matchUpdateTypes": ["major"],
23+
"enabled": false
1124
}
1225
],
1326
"customManagers": [
1427
{
28+
"description": "Update testcontainers docker digests",
1529
"customType": "regex",
1630
"datasourceTemplate": "docker",
1731
"versioningTemplate": "loose",
18-
"description": "Update testcontainers docker digests",
1932
"managerFilePatterns": ["**/testcontainers/*.ts"],
2033
"matchStrings": ["\\s+\"(?<depName>[^@]+):(?<currentValue>[^@]+)@(?<currentDigest>sha256:[a-f0-9]+)\""],
2134
"depTypeTemplate": "testcontainers-docker"
2235
},
2336
{
37+
"description": "Update element-desktop hakDependencies",
2438
"customType": "jsonata",
2539
"managerFilePatterns": ["/(^|/)package\\.json$/"],
2640
"fileFormat": "json",

.github/workflows/build-and-test.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
persist-credentials: false
6565

6666
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
67-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
67+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
6868
with:
6969
cache: "pnpm"
7070
node-version: "lts/*"
@@ -146,7 +146,7 @@ jobs:
146146
path: apps/web/webapp
147147

148148
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
149-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
149+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
150150
with:
151151
cache: "pnpm"
152152
cache-dependency-path: pnpm-lock.yaml
@@ -206,6 +206,8 @@ jobs:
206206
needs: prepare_ed
207207
name: "Desktop Windows"
208208
uses: ./.github/workflows/build_desktop_windows.yaml
209+
# Skip Windows builds on PRs, as the Linux amd64 build is enough of a smoke test and includes the screenshot tests
210+
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'X-Run-All-Tests')
209211
strategy:
210212
matrix:
211213
arch: [x64, ia32, arm64]
@@ -223,10 +225,13 @@ jobs:
223225
arch: [amd64, arm64]
224226
runAllTests:
225227
- ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'X-Run-All-Tests') }}
226-
# We ship static sqlcipher builds, so delegate testing the system builds to the merge queue
227228
exclude:
229+
# We ship static sqlcipher builds, so delegate testing the system builds to the merge queue
228230
- runAllTests: false
229231
sqlcipher: system
232+
# Additionally skip arm64 system builds on PRs, as the amd64 test is enough for a smoke test and includes the screenshot tests
233+
- runAllTests: false
234+
arch: arm64
230235
with:
231236
sqlcipher: ${{ matrix.sqlcipher }}
232237
arch: ${{ matrix.arch }}
@@ -236,6 +241,9 @@ jobs:
236241
needs: prepare_ed
237242
name: "Desktop macOS"
238243
uses: ./.github/workflows/build_desktop_macos.yaml
244+
# Skip macOS builds on PRs, as the Linux amd64 build is enough of a smoke test and includes the screenshot tests
245+
# and we have a very low limit of concurrent macos runners (5) across the Github org.
246+
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'X-Run-All-Tests')
239247
with:
240248
blob_report: true
241249

@@ -260,7 +268,7 @@ jobs:
260268

261269
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
262270
if: needs.build_ew.outputs.skip == 'false'
263-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
271+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
264272
if: needs.build_ew.outputs.skip == 'false'
265273
with:
266274
cache: "pnpm"

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
persist-credentials: false
4949

5050
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
51-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
51+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
5252
with:
5353
# Disable cache on Windows as it is slower than not caching
5454
# https://github.com/actions/setup-node/issues/975

.github/workflows/build_desktop_linux.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
apps/desktop/.hak
112112
113113
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
114-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
114+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
115115
with:
116116
node-version-file: apps/desktop/.node-version
117117
cache: "pnpm"
@@ -126,7 +126,7 @@ jobs:
126126
- name: "Get modified files"
127127
id: changed_files
128128
if: steps.cache.outputs.cache-hit != 'true' && github.event_name == 'pull_request' && github.repository == 'element-hq/element-web'
129-
uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46
129+
uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96 # v47
130130
with:
131131
files: |
132132
apps/desktop/dockerbuild/**

.github/workflows/build_desktop_macos.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
- run: sudo pip3 install pyobjc-framework-Quartz
115115

116116
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
117-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
117+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
118118
with:
119119
node-version-file: apps/desktop/.node-version
120120
cache: "pnpm"

.github/workflows/build_desktop_prepare.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
repository: element-hq/element-web
6060

6161
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
62-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
62+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
6363
with:
6464
node-version-file: apps/desktop/.node-version
6565
cache: "pnpm"

.github/workflows/build_desktop_test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
persist-credentials: false
4343

4444
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
45-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
45+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
4646
with:
4747
node-version-file: apps/desktop/.node-version
4848
cache: "pnpm"
@@ -97,6 +97,7 @@ jobs:
9797
PW_TAG: ${{ inputs.project }}
9898
ELEMENT_DESKTOP_EXECUTABLE: ${{ steps.executable.outputs.path }}
9999
ARGS: ${{ inputs.args }}
100+
DEBUG: pw:browser
100101

101102
- name: Upload blob report
102103
if: always() && inputs.blob_report

.github/workflows/build_desktop_windows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
TARGET: ${{ steps.config.outputs.target }}
154154

155155
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
156-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
156+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
157157
with:
158158
node-version-file: apps/desktop/.node-version
159159
cache: "pnpm"

.github/workflows/build_develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
persist-credentials: false
3434

3535
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
36-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
36+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
3737
with:
3838
cache: "pnpm"
3939
node-version: "lts/*"

0 commit comments

Comments
 (0)