Commit Graph

765 Commits

Author SHA1 Message Date
Andy Balaam
70d834c28e Turn on Cypress debug logs to figure out why reports are not being created 2023-10-04 14:57:43 +01:00
Richard van der Hoff
241df0ba0a
Cypress: write logs to file (#11712)
... in an attempt to make the github actions output easier to grok
2023-10-04 10:03:33 +00:00
Michael Telatynski
9d1f10e4be
Update workflows around i18n to use Localazy (#11455)
* Remove prunei18n

* Update README

* Update matrix-web-i18n

* Iterate

* Add feature=filter_untranslated

* yarn.lock

* Update localazy.json

* Update package.json

* Update localazy.json

* Update matrix-web-i18n and update i18n:lint

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Remove stale workflow

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Localazy Download

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* i18n

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Localazy Download

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-04 09:28:09 +00:00
Michael Telatynski
24b10a87c0
Switch to sorry-cypress (#11668) 2023-09-26 07:17:14 +01:00
Andy Balaam
29280607df Revert "Update browser-actions/setup-chrome digest to 905ab04"
This reverts commit ea38f6366e0181a73567c9e935eb9809adf21a6d which is
from PR https://github.com/matrix-org/matrix-react-sdk/pull/11615
2023-09-22 11:52:10 +01:00
renovate[bot]
9418dc60f4
Update browser-actions/setup-chrome digest to 905ab04 (#11615)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 08:38:31 +00:00
renovate[bot]
8a927e5120
Update SimenB/github-actions-cpu-cores action to v2 (#26203)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 01:24:03 +01:00
renovate[bot]
eb40bc940a
Update docker (#26204)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 01:23:41 +01:00
renovate[bot]
c297222d04
Update tj-actions/changed-files digest to 4196030 (#11617)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 00:19:18 +00:00
renovate[bot]
30a659f192
Update SimenB/github-actions-cpu-cores action to v2 (#11627)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 00:15:45 +00:00
Johannes Marbach
c2133e37d0 Re-enable parallelisation via Cypress Cloud now that the cycle has renewed 2023-09-12 08:58:19 +02:00
renovate[bot]
d30c85772a
Update all non-major dependencies (#11383)
* Update all non-major dependencies

* Pin back eslint-plugin-deprecate

* Fix types

* typo

* Fix more typos

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-07 17:40:51 +00:00
renovate[bot]
c768e1cf5e
Update tj-actions/changed-files action to v39 (#11572)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-07 13:12:24 +00:00
renovate[bot]
14880ddf8d
Update tj-actions/changed-files digest to 1aee362 (#11561)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-07 08:31:01 +00:00
renovate[bot]
e09e2fc440
Update peter-evans/repository-dispatch digest to bf47d10 (#11560)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-07 08:29:15 +00:00
renovate[bot]
3201ae3534
Update cypress-io/github-action digest to 2558ee6 (#11559)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-07 07:43:49 +00:00
renovate[bot]
e73628d5dc
Update actions/checkout action to v4 (#11569)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 18:30:45 +00:00
renovate[bot]
adcf635f59
Update docker/setup-buildx-action digest to 885d146 (#26120)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-06 13:01:01 +01:00
renovate[bot]
cef2df4b0b
Update actions/checkout action to v4 (#26125)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 17:31:32 +00:00
Michael Telatynski
c525b633bd
Migrate translations to keys and switch to Localazy (#26106) 2023-09-05 17:17:25 +01:00
Johannes Marbach
3f21b9a61c
Re-add --parallel flag for Percy 2023-09-04 14:29:23 +02:00
Andy Balaam
1498c51b7b Remove parallel from Cypress command to avoid talking to Cypress Cloud 2023-09-04 12:40:44 +01:00
Kerry Archibald
111210e117 segment into 4 2023-09-04 17:20:16 +12:00
renovate[bot]
195dc4716b
Update tj-actions/changed-files digest to 1c26215 (#11459)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-24 16:05:57 +00:00
renovate[bot]
aec2f1f794
Update cypress-io/github-action digest to fa88e4a (#11458)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-24 13:08:20 +00:00
Michael Telatynski
e2070d677f
Update i18n_check.yml 2023-08-24 10:42:28 +01:00
renovate[bot]
e34920133e
Update tj-actions/changed-files action to v38 (#11463)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-23 14:23:31 +00:00
Michael Telatynski
aa6f27dde2
Update static_analysis.yaml 2023-08-14 09:43:47 +01:00
renovate[bot]
4c9fff90d3
Update cypress-io/github-action digest to 90dff94 (#11388)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 14:41:13 +00:00
renovate[bot]
0f3f9ba827
Update tibdex/backport digest to 9565281 (#11381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 14:32:32 +00:00
renovate[bot]
2ae47f3b6d
Update tj-actions/changed-files digest to 87697c0 (#11382)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 14:29:05 +00:00
renovate[bot]
e3bc5f45f5
Update tibdex/backport digest to 9565281 (#25936)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 14:17:41 +00:00
Michael Telatynski
1093b41d70
Update build_debian.yaml 2023-08-04 09:46:10 +01:00
Michael Telatynski
40442508de
Re-add typecheck without yarn link (#11338)
* Re-add typecheck without yarn link

* Update static_analysis.yaml
2023-08-02 14:11:50 +00:00
Michael Telatynski
e395178b2b
Package release builds of element-web in package.element.io debs (#25198) 2023-08-02 14:40:40 +01:00
Michael Telatynski
b284fbcc37
Update static_analysis.yaml 2023-07-28 10:25:39 +01:00
renovate[bot]
ba0b9d0441
Update cypress-io/github-action digest to bcd73b7 (#11326)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 09:19:55 +00:00
renovate[bot]
86d349d9a1
Update tj-actions/changed-files digest to 920e7b9 (#11283)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 08:44:32 +00:00
Michael Telatynski
5fbdbccdc6
Temporarily add missing @types imports (#11309)
* Add CI to typecheck without yarn link like in release process

* Temporarily add missing @types imports
2023-07-25 08:29:52 +00:00
renovate[bot]
44dde72950
Update docker/setup-buildx-action digest to 4c0219f (#25757)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 19:01:38 +01:00
renovate[bot]
a62b1d1bec
Update cypress-io/github-action digest to 7ad5be0 (#11230)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 18:01:35 +00:00
Richard van der Hoff
7c3dcdf613
Fix log spam during cypress CI (#11272)
Tell the web server not to log requests, to reduce the amount of noise in the
CI logs.
2023-07-17 08:08:25 +00:00
Michael Telatynski
b89b000f05
Update update-topics.yaml 2023-07-13 12:31:39 +01:00
Michael Telatynski
0e97a178e3
Fix regex not handling rc versions 2023-07-13 12:30:27 +01:00
Michael Telatynski
767c30f2ee
Update update-topics.yaml 2023-07-13 12:26:02 +01:00
Michael Telatynski
fe3d7f3fa9
Update update-topics.yaml 2023-07-13 12:23:30 +01:00
Michael Telatynski
9856863b03
Update update-topics.yaml 2023-07-13 12:21:41 +01:00
Michael Telatynski
abc559388e
Update update-topics.yaml 2023-07-11 16:29:28 +01:00
Richard van der Hoff
113b6301f8
Use cypress-terminal-report (#11226)
* Use cypress-terminal-report

This cypress plugin gives nice console logs about what is happening: I hope it
will help us debug mysteriously failing tests.

In its default config, it only logs for failing tests.

* another anti-morgan hack

* Disable collection of `console.debug`

* `ctr:info` is not real
2023-07-11 15:10:13 +00:00
Michael Telatynski
80075ee2cf
Update update-topics.yaml 2023-07-10 11:49:38 +01:00
Michael Telatynski
77db00cef1
Update update-topics.yaml 2023-07-10 11:36:28 +01:00
Michael Telatynski
29037c8543
Update update-topics.yaml 2023-07-10 11:33:00 +01:00
Michael Telatynski
4c9baa60ec
Update update-topics.yaml 2023-07-10 11:27:41 +01:00
Michael Telatynski
cb2d5efa4e
Update update-topics.yaml 2023-07-10 11:18:28 +01:00
Michael Telatynski
71ab30432b
Update update-topics.yaml 2023-07-10 11:16:18 +01:00
Michael Telatynski
96103269c7
Update update-topics.yaml 2023-07-10 11:14:03 +01:00
Michael Telatynski
a4eb2f40bb
Update update-topics.yaml 2023-07-10 11:12:17 +01:00
Michael Telatynski
ccb0a306c8
Utility automation for updating topics as part of release process (#25725) 2023-07-10 11:06:05 +01:00
Michael Telatynski
0a4a205fbe
Enable strictPropertyInitialization (#25735) 2023-07-07 14:46:14 +01:00
Michael Telatynski
cfd48b36aa
Enable strictPropertyInitialization (#11203) 2023-07-07 14:46:12 +01:00
renovate[bot]
bbd1ab0e27
Update tj-actions/changed-files action to v37 (#11150)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-28 14:48:10 +00:00
renovate[bot]
51baaf6667
Update peter-evans/dockerhub-description digest to dc67fad (#25671)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 18:12:11 +01:00
renovate[bot]
cd3a88eb0d
Update docker/setup-qemu-action digest to 2b82ce8 (#25587)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-27 12:32:40 +00:00
renovate[bot]
9be30a892f
Update docker/login-action digest to 465a078 (#25584)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 11:40:08 +00:00
renovate[bot]
8b481fdef2
Update docker/setup-buildx-action digest to ecf9528 (#25586)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 12:26:21 +01:00
Michael Telatynski
0d83a38a3e
Fix cypress tests (#11142)
* Test

* Iterate

* Try headed mode

* Switch Cypress to headed mode
2023-06-26 21:56:04 +01:00
renovate[bot]
bdbae36f5e
Update docker/metadata-action digest to 818d4b7 (#25585)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 15:32:46 +01:00
Michael Telatynski
34d7b7d928
Revert "Update browser-actions/setup-chrome digest to 5dc4fd3 (#11136)" (#11138) 2023-06-26 14:19:08 +01:00
renovate[bot]
d077aff162
Update browser-actions/setup-chrome digest to 5dc4fd3 (#11136)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-26 14:12:01 +01:00
renovate[bot]
f4f559b89c
Update cypress-io/github-action digest to d69252d (#11137)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 14:02:55 +01:00
renovate[bot]
33eb055f24
Update docker/build-push-action digest to 2eb1c19 (#25583)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 15:41:00 +02:00
Richard van der Hoff
7c9c818f06
GHA: require kiwi creds in cypress.yaml (#11069)
* GHA: require kiwi creds in cypress.yaml

* prettify
2023-06-13 10:50:36 +00:00
renovate[bot]
0e682b6eae
Update cypress-io/github-action digest to fbfad28 (#11063)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-08 08:35:31 +00:00
renovate[bot]
c418ed01ed
Update tj-actions/changed-files action to v36 (#11036)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-06 10:58:58 +00:00
renovate[bot]
c78c7af407
Update cypress-io/github-action digest to 61a130a (#10935)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-05 16:47:24 +00:00
renovate[bot]
50bfa7e86c
Update cloudflare/pages-action digest to f0a1cd5 (#25501)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-01 17:21:45 +00:00
renovate[bot]
82f231d7b1
Update all non-major dependencies (#25504)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-01 17:20:40 +00:00
Robin
6be09eec09
Remove STIXGeneral from the font stack (#10980)
* Remove STIXGeneral from the font stack

STIXGeneral was originally added to our font stack to work around a bug in Chrome (https://bugs.chromium.org/p/chromium/issues/detail?id=591346) which caused some obscure combining marks to render as tofu. However, because STIXGeneral unexpectedly has glyphs for a handful of common Japanese characters, it's ended up making Japanese text in Element look patchy. I previously attempted to fix this by prioritizing sans-serif over STIXGeneral, but as is evident from our screenshot tests and user reports, this is still not enough on some systems to get Chrome to pick a consistent font for Japanese. On the basis that i18n is more important than supporting a few mathematical diacritics, I propose we remove the font. STIXGeneral is deprecated anyways, so if we want to get these diacritics back there's always the option of looking at its successor, STIXTwo.

* Remove STIXGeneral installation from Cypress workflow
2023-06-01 02:13:55 +00:00
Michael Telatynski
8997b84f24
Update build_develop.yml 2023-05-31 16:54:34 +01:00
Michael Telatynski
ee4679f0f7
Update build_develop.yml 2023-05-31 16:33:29 +01:00
Michael Telatynski
8c97de47a3
Update build_develop.yml 2023-05-31 16:01:12 +01:00
Michael Telatynski
4296005408
Update pending-reviews.yaml 2023-05-30 12:22:17 +01:00
Michael Telatynski
22b96e0679
Update pending-reviews.yaml 2023-05-30 11:59:33 +01:00
Michael Telatynski
6ab7a2855b
Update pending-reviews.yaml 2023-05-30 11:08:39 +01:00
Michael Telatynski
3c7a9933b9
Track release blockers in Matrix room header (#25427) 2023-05-30 10:56:19 +01:00
Richard van der Hoff
3bba816b10
GHA: make element-web and cypress workflows reusable (#10969)
* GHA: make `element-web` workflow reusable

... so that we can call it from the js-sdk repo

* GHA: make `cypress.yaml` a reusable workflow

... so that we can call it from js-sdk

* GHA: give cypress.yaml a `rust-crypto` parameter

* Update .github/workflows/cypress.yaml

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* remove workflow_dispatch

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-05-26 15:04:29 +00:00
Richard van der Hoff
192e6f6c3d
Fix PR lookup for fetchdep.sh (#10990)
Context: `fetchdep.sh` attempts to check out a github repository based on the
details in a pull request. To do this, it needs to know how to find the pull
request. So, the github workflows attempt to set environment variables to tell
it. Unfortunately, they currently disagree about what the names of the
environment variables should be.

This appears to have been introduced by #8498.

To simplify matters, we may as well have the script use `${GITHUB_REPOSITORY}`
directly, and remove te unused `REPOSITORY` env var from the workflows.
2023-05-25 13:50:17 +00:00
renovate[bot]
c3687489dd
Update all non-major dependencies (#10922)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-17 07:41:34 +00:00
renovate[bot]
0ae4bd71ed
Update cypress-io/github-action digest to 40a1a26 (#10906)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-05-16 15:12:23 +00:00
renovate[bot]
d68a4b72d9
Update dawidd6/action-download-artifact digest to 246dbf4 (#10640)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 14:46:15 +00:00
Andy Balaam
2e4fc0a76d
Don't run SonarCloud when a change is in the merge queue (#10863)
We are not interested in coverage information when a PR has already been
approved, and we were seeing flakiness with SonarCloud with the "no
artifacts found" error
https://github.com/vector-im/element-web/issues/25334 .
2023-05-11 12:52:28 +00:00
Richard van der Hoff
3c32ad7cab
Fix CSP problems due to cypress-axe (#10843)
* Fix CSP problems due to cypress-axe

Rewrite `injectAxe` to use a script tag instead of an `eval`.

* remove gha workflow hack
2023-05-11 10:31:09 +00:00
Andy Balaam
33ddec4211
Revert "Update browser-actions/setup-chrome digest to 5dc4fd3 (#10759)" (#10839)
This reverts commit adb29b38a3.
2023-05-10 11:58:53 +01:00
renovate[bot]
99b68eedae
Update peter-evans/dockerhub-description digest to 579f64c (#25137)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-10 12:54:59 +12:00
renovate[bot]
adb29b38a3
Update browser-actions/setup-chrome digest to 5dc4fd3 (#10759)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-10 00:54:47 +00:00
Michael Telatynski
f4f2cb19b7
Fix merge queue X-Needs-Percy handling (#10802) 2023-05-09 08:22:16 +00:00
Michael Telatynski
1941097fed
Fix _redirects file for develop.element.io going over 100 entries (#25286) 2023-05-09 08:51:02 +01:00
Richard van der Hoff
4bca5143ee
Update cypress.yaml (#10790) 2023-05-05 12:06:45 +00:00
Michael Telatynski
8e962f6897
Update static_analysis.yaml (#10725) 2023-05-05 08:13:21 +00:00
renovate[bot]
ee2c809f7a
Update tj-actions/changed-files digest to b2d17f5 (#10760)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 21:37:24 +00:00
Kat Gerasimova
2b17090855
Update issue automation (#25209)
Move from using GraphQL to actions

Remove automation for Delight, voice messages, polls, WTFs and FTUEs
2023-04-26 18:16:50 +00:00
Michael Telatynski
7f32b423c5
Revert "Include cypress tests in previewbuild bundle (#10705)"
This reverts commit d791649ad3.
2023-04-26 17:55:40 +01:00
Michael Telatynski
d791649ad3
Include cypress tests in previewbuild bundle (#10705) 2023-04-26 17:46:02 +01:00
Michael Telatynski
dde0a41ba8
Fix cypress tests exploding due to CSP (#10715) 2023-04-26 17:35:45 +01:00
renovate[bot]
1709b3e9ba
Update docker/metadata-action digest to c4ee3ad (#25136)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Janne Mareike Koschinski <janne@kuschku.de>
2023-04-26 12:41:42 +00:00
renovate[bot]
b32482bc4a
Update cypress-io/github-action digest to 59c3b9b (#10639)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kerry <kerrya@element.io>
2023-04-26 05:08:25 +00:00
Michael Telatynski
8c811776bb
Update cypress.yaml 2023-04-24 11:08:35 +01:00
Michael Telatynski
2ae50940c8
Update cypress.yaml 2023-04-24 11:01:55 +01:00
Michael Telatynski
25ac825ae5
Cypress use the simulated merge commit for the source of tests (#10688)
* Cypress use the simulated merge commit for the source of tests

* Add comments

* Update .github/workflows/cypress.yaml

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-04-24 08:24:50 +00:00
renovate[bot]
2dc3f523aa
Update all non-major dependencies (#25139)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kerry <kerrya@element.io>
2023-04-19 03:12:35 +00:00
Andy Balaam
83359f84d1
Revert "Update browser-actions/setup-chrome digest to 5971308" (#10655)
This reverts commit adaaa94271a47b15a8593862c0e7bee39828a308.
2023-04-18 17:00:30 +01:00
renovate[bot]
707dc36cc2
Update browser-actions/setup-chrome digest to 5971308 (#10638)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 12:40:27 +00:00
renovate[bot]
2ed5d212d0
Update tj-actions/changed-files digest to 7ecfc67 (#10641)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 12:21:07 +00:00
Michael Telatynski
f241dea137
Specify hashes for github actions (#10633) 2023-04-18 07:32:46 +00:00
Michael Telatynski
9c19cd48fe
Fix github actions deprecations warnings (#10575) 2023-04-12 12:06:30 +00:00
Michael Telatynski
38dbd66474
Fix github actions deprecations warnings (#25096) 2023-04-12 10:48:28 +00:00
Richard van der Hoff
3c4fa8b430
Improve output in github actions for jest tests (#10569) 2023-04-12 09:47:39 +00:00
Richard van der Hoff
a1176ce66d
Improve output in github actions for jest tests (#25084)
Configure the Github Actions Reporter with silent: false, keeping it from swallowing failure reasons.

Much the same as matrix-org/matrix-js-sdk#3269.
2023-04-12 10:47:27 +01:00
Michael Telatynski
586309e851
Update build_develop.yml 2023-04-11 18:58:55 +01:00
Michael Telatynski
9cecac0cee
Only respect X-Needs-Percy in the Merge Queue (#10520)
* Enable merge queues

* Iterate

* Iterate

* iterate

* Only respect X-Needs-Percy in the Merge Queue
2023-04-06 14:30:56 +00:00
Michael Telatynski
b73032145d
Enable merge queues (#10515)
* Enable merge queues

* Iterate

* Iterate

* iterate

* Fix check blocked and others not running in MQ

* Add concurrency

* Iterate

* Iterate

* Iterate

* Iterate

* Update pr-details action
2023-04-06 13:41:20 +00:00
renovate[bot]
7321277ed8
Update all non-major dependencies (#10524)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 14:39:40 +01:00
renovate[bot]
abfc349e10
Update tj-actions/changed-files digest to 79adacd (#10523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 12:43:01 +00:00
Michael Telatynski
e9cc88b872
Update pull_request.yaml 2023-04-06 10:42:08 +01:00
Michael Telatynski
04f2a55500
Update pull_request.yaml 2023-04-06 10:41:32 +01:00
Michael Telatynski
c1001e2794
Update tests.yml 2023-04-06 09:57:51 +01:00
Michael Telatynski
5509b252c3
Update static_analysis.yaml 2023-04-06 09:57:24 +01:00
Michael Telatynski
7d04dc2a9c
Update element-web.yaml 2023-04-06 09:56:23 +01:00
Michael Telatynski
700af0954a
Update cypress.yaml 2023-04-05 17:48:27 +01:00
Michael Telatynski
d960071177
Update cypress.yaml 2023-04-05 17:45:45 +01:00
Michael Telatynski
30f42ea426
Update cypress.yaml 2023-04-05 16:57:32 +01:00
Michael Telatynski
ea6a2033ee
Tweak Percy cron trigger to not run on weekends (#10519
`Runs at 04:17, Monday through Friday.`
2023-04-05 13:45:07 +01:00
Michael Kaye
5cd459ff2d
Check kiwi_enable value for '1'-ness, not presence (#10482)
Change from string-y checking for true ('0' is true) to comparison against the string '1', which is only true if exactly equal to '1'.

This has been submitting more test results to Kiwi than we want/need.
2023-04-03 09:54:49 +01:00
Michael Telatynski
24eed963d3
Use frozen lockfile instead of pure lockfile on yarn install (#10493) 2023-03-31 15:06:08 +00:00
Michael Telatynski
ddc2932541
Use frozen lockfile instead of pure lockfile on yarn install (#25009) 2023-03-31 14:52:29 +00:00
Michael Telatynski
60d5ab427a
Fix concurrency conflict (#24989) 2023-03-30 13:55:09 +01:00
Andy Balaam
372c5e1fbf
Run screenshot tests daily, instead of on each commit (#10426)
* Stop running Percy on develop builds

Instead, we will run it daily. This will reduce the number of Percy
tests we run each month.

* Run screenshot tests daily

* Prettier for percy_daily.yml

* Maybe something like this
2023-03-23 14:55:16 +00:00
Michael Kaye
853b3f822d
Push cypress test results to kiwitcms not testrail (#10401) 2023-03-22 10:31:15 +00:00
renovate[bot]
28f217b035
Update all non-major dependencies (#10315)
* Update all non-major dependencies

* downgrade axe due to test failures

* ci: force rerun

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Janne Mareike Koschinski <jannemk@element.io>
2023-03-20 13:21:06 +01:00
Michael Telatynski
93d2112bfe
Update build_develop.yml 2023-03-14 08:25:40 +00:00
Michael Telatynski
f43e6fddfc
Use forked wait-on-check-action (#24809) 2023-03-14 08:19:19 +00:00
renovate[bot]
9371737104
Update cloudflare/pages-action digest to 61eafe7 (#24801)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-13 11:42:16 +00:00
Janne Mareike Koschinski
c85eb81ed0
Pin versions of third-party github actions (#24786) 2023-03-10 13:56:30 +01:00
Janne Mareike Koschinski
580857ecc0
Pin versions of third-party github actions (#10351) 2023-03-10 13:56:27 +01:00
Janne Mareike Koschinski
6a4986ee06
Use full commit hashes for third party actions (#24777) 2023-03-09 11:53:52 +01:00
renovate[bot]
307df9d2c3
Update all non-major dependencies (#9766)
* Update all non-major dependencies

* Prettier

* Revert axe-core

* Revert axe-core

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-03-06 17:21:09 +00:00
Florian Duros
8d9fdc3b41
Use cache for jest (#10124) 2023-03-03 10:38:04 +01:00
renovate[bot]
a82c989328
Update all non-major dependencies (#24005)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-02 23:16:42 +00:00
Michael Telatyński
e83b8633b1
Pull reviews bot automation for Web App Team room (#24679) 2023-02-27 12:39:09 +00:00
Michael Telatynski
73de53468a
Allow percy branch protection when X-Needs-Percy is passed (#10230) 2023-02-23 15:57:29 +00:00
Michael Telatynski
9349526d94
Update cypress.yaml 2023-02-23 11:34:20 +00:00
Michael Telatynski
dbc0dca591
Manually finalize Percy builds (#10220) 2023-02-23 11:10:11 +00:00
Michael Telatynski
2b52a95df6
Update cypress.yaml 2023-02-23 08:59:58 +00:00
Michael Telatynski
9b7176b0af
Update cypress.yaml 2023-02-23 08:42:07 +00:00
Michael Telatynski
26652138bd
Improve Percy stability by better scoping snapshots (#10207) 2023-02-23 16:57:48 +13:00
David Langley
9f673fdb04
Add issue automation for the Verticals Team (#24610)
* send verticals team issues to their project
2023-02-22 15:18:32 +00:00
Michael Telatynski
77f8e4d822
Update pull_request.yaml 2023-02-21 12:24:49 +00:00
Michael Telatynski
241a8bfc75
Update pull_request.yaml 2023-02-21 12:24:24 +00:00
Michael Telatynski
d6458133e5
Update tests.yml 2023-02-21 09:57:43 +00:00
Michael Telatynski
0aead925d3
Allow disabling coverage for downstream testing (#10198) 2023-02-21 09:52:55 +00:00
Michael Telatynski
a09e105c23
Make workflows reusable for downstream testing (#10174) 2023-02-20 11:41:36 +00:00
Kat Gerasimova
5aa694e232
Update issue automation for A-Jump-To-Date (#24553)
* Don't remove Z-Labs from A-Jump-To-Date
* A-Jump-To-Date should get Z-Labs
2023-02-17 09:11:34 +00:00
Michael Telatynski
a3a2a0f914
Revert "Run Percy for all Cypress runs" (#10173) 2023-02-16 10:06:33 +00:00
renovate[bot]
2b779e5e4a
Update docker/build-push-action action to v4 (#24497)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 10:20:49 +00:00
renovate[bot]
5f92373db2
Update alex-page/github-project-automation-plus digest to 7ffb872 (#24496)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 10:04:04 +00:00
Johannes Marbach
d276e11bd1
Update .github/workflows/static_analysis.yaml
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-02-08 15:49:09 +01:00
Johannes Marbach
b62006e915
Checkout PR head for strict error checker 2023-02-08 13:10:25 +01:00
Michael Telatynski
013fd0a343
Run Percy for all Cypress runs (#10089) 2023-02-07 13:37:33 +00:00
Michael Telatynski
19b81d257f
Revert "Include percy in branch protection conditionally" (#10051
This reverts commit a07f9a723f.
2023-02-01 16:28:30 +00:00
Michael Telatynski
a07f9a723f
Include percy in branch protection conditionally (#9894) 2023-02-01 15:52:34 +00:00
Michael Telatynski
a479f86952
Update build_develop.yml 2023-02-01 09:41:54 +00:00
Michael Telatynski
50f2b532e9
Update build_develop.yml 2023-01-30 14:08:15 +00:00
Johannes Marbach
ee80d1b963
Include Janne in WAT assignment automation 2023-01-30 14:35:56 +01:00
Richard van der Hoff
0990a0dcdd
Delete triage-priority-bugs.yml (#24266)
This was moving issues to a non-existent board
2023-01-20 13:03:32 +00:00
renovate[bot]
277f7258d9
Update tj-actions/changed-files action to v35 (#9917)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-16 09:06:32 +00:00
Germain
a840932500
Remove delight automation (#24225) 2023-01-13 13:10:58 +00:00
Kat Gerasimova
4aa3b0b637
Update automation for new app team board (#24219)
Old board has been archived, updating automation to move issues to the new board.
2023-01-13 11:37:04 +00:00
Michael Telatynski
683b0928f3
Pass PR details to Cypress 2023-01-13 10:35:45 +00:00
Michael Telatynski
3874314e13
Parallelise Cypress runs once more (#9902) 2023-01-12 15:16:05 +00:00
Michael Telatynski
a359cb1730
Stow more things in element-web-develop.element.io (#23965) 2023-01-12 12:33:46 +00:00
Michael Kaye
e652519cc6
Merge branch 'develop' into michaelk/continue_if_trci_upload_fails 2023-01-06 10:29:54 +00:00
Robin
8628aae410
Don't prefer STIXGeneral over the default font (#9711)
* Don't prefer STIXGeneral over the default font

STIXGeneral contains some glyphs for non-LGC scripts, but often doesn't implement these scripts fully. We should always try the browser's default fonts, which are likely to look nicer and have broader script support, before falling back to STIXGeneral.

* Explain why STIXGeneral shouldn't have precedence

* Add a regression test
2023-01-06 04:11:41 +00:00
Michael Kaye
9416c27bc7 Prettier whitespace changes 2023-01-05 11:53:53 +00:00
Michael Kaye
0daa517854 Remove accidental whitespace 2023-01-05 11:27:03 +00:00
Michael Kaye
89429ade49 If a trcli run fails, continue further uploads, and do not fail the GHA. 2023-01-05 11:25:47 +00:00
Michael Telatynski
825fce7bc3
Update netlify.yaml GHA to not refer to workflow name (#9826) 2023-01-03 10:13:22 +00:00
renovate[bot]
249bd779f2
Update nwtgck/actions-netlify action to v2 (#9793)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-23 09:40:47 +00:00
renovate[bot]
910aa0b813
Update cypress-io/github-action action to v5 (#9791)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-20 05:06:34 +00:00
Michael Kaye
b728b27435
Report cypress test results into testrail. (#9685)
* Reduce cypress size/scope

* Emit cypress reports in junit-compatible format.

* Clean implementation of upload

* Append a warning if not all tests that testrail knows of are run.

* Only run testrail if on develop (like percy).

* Re-enable full test run.

* Update cypress.config.ts

* Ensure SUITE_ID is passed.

* Fix quoting on SUITE_ID, add environment

* Update .github/workflows/cypress.yaml

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* re-add mocha-junit-reporter (was dropped in the merge)

* Prettifier on newly created file.

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-12-15 12:04:03 +00:00
Michael Weimann
526645c791
Apply prettier formatting 2022-12-12 12:24:14 +01:00
Andy Balaam
11572f94de Add andybalaam's issues to the team board 2022-12-12 10:25:15 +00:00
Michael Weimann
d4b9767586
Fix GitHub workflow code style 2022-12-09 15:31:32 +01:00
Kat Gerasimova
c6e0f0f8da
Update project board IDs for automation (#23950)
"PN-" prefixed IDs are no longer working, update to new IDs
2022-12-09 14:25:20 +00:00
Michael Weimann
7921a6cbf8
Apply prettier formatting 2022-12-09 13:28:29 +01:00
Kat Gerasimova
d8131eb5d4
Update project board IDs for automation (#23943)
"PN-" prefixed IDs are no longer working, update to new IDs
2022-12-08 13:45:33 +00:00
Andy Balaam
908f81fa26 Stop Cypress running in parallel to avoid failures with non-matching environments 2022-12-08 10:18:02 +00:00
renovate[bot]
c3809d3afa
Update all non-major dependencies (#9674)
* Typescript updates

* Update @types/node

* Fix more types

* Update all non-major dependencies

* Remove spurious cast

* Remove unused dependency rrweb-snapshot

* Update all non-major dependencies

* Iterate PR

* Update yarn.lock

* Remove stale dev dep

* Resolve

* Pin back axe-core for now, it is a bit too strict

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-07 00:36:23 +00:00
Michael Kaye
7065c58174
Update cypress.yaml GHA to not refer to workflow name. (#9649) 2022-12-05 11:43:22 +00:00
renovate[bot]
9f0c8d935d
Update tj-actions/changed-files action to v34 (#9678)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 07:56:41 +00:00
renovate[bot]
10666d2fa2
Update peter-evans/repository-dispatch action to v2 (#9677)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 07:45:26 +00:00
renovate[bot]
37c066f804
Update actions/upload-artifact action to v3 (#9670)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 06:34:29 +00:00
renovate[bot]
12232db7da
Update actions/github-script action to v6 (#9669)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 06:33:51 +00:00
renovate[bot]
7acb59ed48
Update actions/checkout action to v3 (#9668)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 06:33:34 +00:00
renovate[bot]
bdc112ca98
Update all non-major dependencies (#23871)
* Update all non-major dependencies

* Hold back postcss-hexrgba - they violated semver

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-11-30 10:27:06 +00:00
renovate[bot]
40a29348da
Update alex-page/github-project-automation-plus digest to 1f8873e (#23868)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-29 18:59:32 +00:00
renovate[bot]
6c85cac1f5
Update all (major) - abandoned (#23799)
* Update all

* Hold back @types/react* & node-fetch & @testing-library/react

* Hold back webpack things, upgrading is hell

* Hold back more things

* Align deps

* Roll back @types/node

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-11-29 18:44:51 +00:00
Michael Telatynski
440f76c3e8
Add a required tsc strict check for --noImplicitAny (#9647) 2022-11-29 15:43:08 +00:00
Michael Telatynski
c6a34ca007
Attempt to unwedge develop (#23853) 2022-11-29 08:31:32 +00:00
Florian Duros
d71a72e27c
Add slow jest reporter (#9599)
Add slow jest reporter
2022-11-24 14:53:32 +01:00
Michael Telatynski
041bb46284
Wire up Netlify deployments for update notifications (#9609) 2022-11-22 14:37:29 +01:00
Michael Telatynski
0b54699829
Add --noImplicitAny to strict CI check (#9601) 2022-11-21 09:19:02 +00:00
Michael Telatynski
923120625c
Add --noImplicitAny to strict CI check (#23793) 2022-11-18 16:31:05 +00:00
Michael Telatynski
6bdc8daa36
Fix branch matching for the strict tsc CI (#23789) 2022-11-18 15:05:39 +00:00
Michael Telatynski
cd46c89699
Fix branch matching for the strict tsc CI (#9597) 2022-11-18 15:05:26 +00:00
Michael Telatynski
272aae0973
Add CI to run rethemendex.sh (#9577) 2022-11-14 18:31:20 +00:00
Michael Telatynski
8f8a9e1e49
Cease uploading develop.tar.gz to Github Pages (#23753) 2022-11-11 14:36:55 +00:00
Michael Telatynski
3be527cac8
Deploy develop branch to Cloudflare Pages (#23454)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2022-11-08 13:27:20 +00:00
Kat Gerasimova
778c6d68cf
Update issue automation (#23686)
Stop using deprecated ProjectNext API and replace with ProjectV2
2022-11-07 10:24:59 +00:00
Michael Telatynski
04bc8fb71c
Optimise Jest run in CI (#9542) 2022-11-04 10:48:08 +00:00
Michael Telatynski
77d75984fa
Enable tsc --strict CI to prevent gaining more errors (#23692) 2022-11-04 09:12:15 +00:00
Michael Telatynski
e21eb2505c
Optimise Jest run in CI (#23693) 2022-11-03 17:58:50 +00:00
Michael Telatynski
0bb9db302d
Enable tsc --strict CI to prevent gaining more errors (#9541) 2022-11-03 16:38:26 +00:00
Robin
2e81324e27
Add A-Element-Call to labs automation (#23694)
and tidy up some of the inconsistencies between triage-labelled.yml and triage-unlabelled.yml.
2022-11-03 16:32:52 +00:00
Kat Gerasimova
9c302f303a
Update PR automation (#23688)
Stop using deprecated ProjectNext API in favour of the new ProjectV2 one
2022-11-03 10:22:05 +00:00
Kat Gerasimova
a3659d864c
Add issue automation to tidy Help Wanted (#23644)
All "good first issue" and "Hacktoberfest" qualify as "Help Wanted" so the label should be added automatically
2022-10-31 12:21:58 +00:00
David Langley
2a46122f28
Change WYSIWYG label in automation (#23630) 2022-10-27 15:16:55 +01:00
Kat Gerasimova
12bde9a514
Update issue automation for labs features (#23609)
Z-Labs labels should be added to  A-Composer-WYSIWYG
2022-10-26 14:09:21 +01:00
Michael Telatynski
238a2b77af
Update cypress.yaml (#9506) 2022-10-26 11:50:24 +00:00
Kat Gerasimova
a45ecef20b
Add issue automation for the VoIP team (#23585) 2022-10-25 14:43:29 +02:00
Kat Gerasimova
fc0e61b666
Update issue automation for design (#23490)
Put only high priority issues in front of the design team, all of which the design team will aim to action to keep the queue at zero.
2022-10-25 10:06:24 +00:00
Travis Ralston
6fe8744e4d
Remove performance metrics from cypress (#9467)
They are unfortunately unreliable and have been broken since June anyways.
2022-10-20 00:52:17 -06:00
Kat Gerasimova
8fb0147fb6
Add automation for PS feature team (#23480)
Add issue automation for PS teams
2022-10-13 16:46:10 +00:00
Michael Telatynski
eaff7e945c
Consolidate js-sdk release mode typing CI (#9326) 2022-09-30 17:12:16 +01:00
Michael Telatynski
9d83fba5ca
Turn off tsc --strict annotations (#9285)
* Update static_analysis.yaml

* Update static_analysis.yaml
2022-09-16 11:09:32 +00:00
Michael Telatynski
779f951c2f
Turn off tsc --strict annotations (#23290)
* Update static_analysis.yaml

* Update static_analysis.yaml
2022-09-16 07:13:11 +00:00
Michael Telatynski
216059c2e5
Update dockerhub.yaml (#23267) 2022-09-14 14:10:12 +01:00
Michael Telatynski
c365949e85
Update cypress.yaml (#9269) 2022-09-12 10:17:44 +01:00
renovate[bot]
665f532301
Update all (#23223)
* Update all

* Upgrade @types

* Update lockfile

* Make typescript happier

* Make webpack happier, pin postcss-hexrgba

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-09-09 21:03:46 -06:00
Michael Telatynski
e3b13eb97c
Update commit status earlier in cypress workflow_run (#9263) 2022-09-08 23:05:05 +00:00
Michael Telatynski
638175b7d7
Update cypress.yaml (#9262) 2022-09-08 10:05:43 +01:00
Michael Telatynski
5bdae150fa
Tweak backport labels (#9258) 2022-09-07 14:15:03 +00:00
Michael Telatynski
4be1d85522
Update cypress.yaml 2022-09-07 13:12:03 +01:00
Michael Telatynski
06540633fc
Update cypress.yaml 2022-09-07 12:58:27 +01:00
Michael Telatynski
f9ee80d314
Tweak backport labels (#23233) 2022-09-07 11:50:05 +00:00
Michael Telatynski
56326c75f1
Run Cypress in parallel (#9010)
* Update cypress.yaml

* Update cypress.yaml

* Make percy parallel-compatible

* Add PERCY_PARALLEL_NONCE

* Update cypress.yaml

* Merge performance measurement files
2022-09-07 12:48:37 +01:00
Michael Telatynski
4e0c2382ff
Update build_develop.yml (#23220) 2022-09-06 17:21:12 +01:00
Michael Telatynski
9f5857dd38
Simplify releases: move npm publishing to gha, consolidate scripts (#9216)
* Remove stale comment re dependency

* Move npm publishing from release.sh to GHA

* Extract js-sdk & react-sdk post release steps

* Consolidate release subproject upgrade management
2022-09-06 12:10:28 +01:00
Michael Telatynski
92f6402b2a
Upload latest develop.tar.gz to github pages for fetch script access (#23183) 2022-09-05 09:40:37 +01:00
Kat Gerasimova
e30eb4de12
Fix indentation in automation (#23187) 2022-09-05 08:40:11 +00:00
Germain
351d5faa9b
Remove threads board automation (#23193) 2022-09-05 09:20:30 +01:00
Kat Gerasimova
26077db644
Update triage-labelled.yml (#22822) 2022-08-30 10:01:23 +01:00
Michael Telatynski
ec0b2b551a
Add backport automation (#9214) 2022-08-24 12:45:35 +01:00
Michael Telatynski
44e01823a3
Tweak tsc-strict config (#23148) 2022-08-24 11:11:43 +01:00
Michael Telatynski
e11b0cef47
Add static analysis for tsc --strict (#9212)
* Add static analysis for tsc --strict

* Make tsconfig legal

* Make tsconfig more legal

* Update static_analysis.yaml

* Test strict mode check

* Revert "Test strict mode check"

This reverts commit 879df9879738fabfa02466ce07634a0f5c132311.
2022-08-24 11:08:26 +01:00
Michael Telatynski
6741ee61d8
Add backport automation (#23142) 2022-08-23 16:59:29 +01:00
Michael Telatynski
a9d1fd7cdf
Add static analysis for tsc --strict (#23140) 2022-08-23 14:02:48 +01:00
Michael Telatynski
e9a7b3349b
Update issue_closed.yml (#23048) 2022-08-10 17:10:48 +01:00
Michael Telatynski
3e3f279469
Update build_develop.yml
Ignore checks which don't relate to this action
2022-08-04 17:36:13 +01:00
Šimon Brandner
0d18e4ea8e
Add GHA for Dead Code Analysis (#22830) 2022-08-04 10:34:02 -06:00
Michael Telatynski
31636dcbaa
Update build_develop.yml (#22996) 2022-08-04 17:07:22 +01:00
Šimon Brandner
a866005bea
Add GHA for Dead Code Analysis (#9052) 2022-08-04 08:00:49 +00:00
Michael Telatynski
394907fb7a
Update build_develop.yml 2022-08-02 12:38:05 +01:00
Michael Telatynski
ec81bd5715
Fix sentry params 2022-08-02 12:08:17 +01:00
Michael Telatynski
070f4735cd
Update dockerhub.yaml 2022-07-29 15:19:51 +01:00
Michael Telatynski
f566c600e2
Port remaining Puppeteer tests over to Cypress (#9104)
* Port remaining Puppeteer tests over to Cypress

* Remove puppeteer support files

* Fix lifecycle matrixclientpeg setup race condition

* Alternative solution to the lifecycle problem

* Dismiss the notifications toast
2022-07-29 14:03:25 +00:00
Michael Telatynski
c21ba402ad
Fix Sentry org 2022-07-29 14:59:48 +01:00
Michael Telatynski
88f25d7444
Specify environment 2022-07-29 14:41:05 +01:00
Michael Telatynski
d86e897ba6
Rework dockerhub builds (#22026)
* WIP

* Attempt to wire up dockerhub building in GHA

* Fix issue with mime types

* Skip linux/arm, Cypress only installs on 64-bit

* Update dockerhub.yaml

* Update comment
2022-07-29 14:30:16 +01:00
Germain
d6d02631ab
Move major and critical threads to delight board (#22937) 2022-07-27 15:01:06 +02:00
Michael Weimann
2179be299a
Update pr-details to 1.2 (#9076) 2022-07-19 15:05:02 +00:00
Kat Gerasimova
1519d5672e
Update issue automation for the design team (#22879)
The design team would like to see all of their issues on their board for triage now
2022-07-18 10:48:47 +01:00
Michael Telatynski
64ed6ebdad
Rename PostCSS files to .pcss (#22769)
* Rename PostCSS files to `.pcss`

* Make Stylelint happy

* Make Stylelint happy v2

* Update CompatibilityView.tsx

* Update res/css/structures/ErrorView.pcss

Co-authored-by: Michael Weimann <mail@michael-weimann.eu>

* Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/pcss

 Conflicts:
	package.json
	res/css/_components.scss
	res/css/structures/_NotificationPanel.pcss
	res/css/views/dialogs/_SpotlightDialog.pcss
	res/css/views/rooms/_EventTile.pcss
	res/css/views/rooms/_ReadReceiptGroup.pcss
	yarn.lock

* Only use CI_PACKAGE mode on develop, it skips minification which can find some errors

* Keep name to not break existing PRs

Co-authored-by: Michael Weimann <mail@michael-weimann.eu>
2022-07-15 14:53:21 +01:00
Michael Telatynski
4d277a6bd9
Update build_develop.yml (#22820) 2022-07-13 09:57:51 +01:00
Michael Telatynski
a271516c8b
Update build_develop.yml (#22816) 2022-07-12 11:50:47 +01:00
Michael Telatynski
eff0395771
Update cypress.yaml (#9007) 2022-07-08 10:06:29 +01:00
Kat Gerasimova
836ba7a755
Update issue automation (#22672)
Remove "A-New-Search-Experience" from being automatically labelled with "Z-Labs"
2022-06-28 14:14:15 +01:00
Travis Ralston
7a131fc50f
Workflow: Move WAT issues to In Progress rather than Ready when assigned (#22577) 2022-06-14 15:03:18 -06:00
Michael Telatynski
79195dea8b
Skip running jobs on fork develop where they lack secrets (#8837)
* Skip running jobs on fork `develop` where they lack secrets

* Fix contexts
2022-06-14 11:37:07 +01:00
Michael Telatynski
2ea12ea68d
Skip running jobs on fork develop where they lack secrets (#22561)
* Skip running jobs on fork `develop` where they lack secrets

* Fix contexts
2022-06-14 11:30:12 +01:00
Michael Telatynski
5b149bcffd
Use a fixed matrix-org/github-action-benchmark (#8810) 2022-06-10 15:42:51 +01:00
Michael Telatynski
3510f8efa4
Update cypress.yaml (#8804) 2022-06-09 14:52:06 +01:00
Michael Telatynski
1d79c78f21
Update cypress.yaml 2022-06-09 10:12:45 +01:00
Michael Telatynski
fc133041e3
Update cypress.yaml 2022-06-09 09:33:19 +01:00
Michael Telatynski
3fc6554225
Fix typo 2022-06-09 09:01:39 +01:00
Michael Telatynski
9c9bb26f47
Update cypress.yaml (#8801) 2022-06-09 08:45:25 +01:00
Michael Telatynski
30192469af
Update cypress.yaml (#8797) 2022-06-08 22:08:28 +00:00
Michael Telatynski
b260b3e063
Fix wrong permission for cypress check (#8793) 2022-06-08 16:14:34 +01:00
Michael Telatynski
f53207a4fe
Fix cypress checkout and use github actions environments (#8790)
* Fix cypress checkout and use github actions environments

* Harden github token for cypress.yaml

* Allow writing status checks
2022-06-08 16:00:47 +01:00
Michael Telatynski
5698389789
Update pull_request.yaml (#22482) 2022-06-08 13:08:36 +01:00
Michael Telatynski
9656692700
Update pull_request.yaml (#8789) 2022-06-08 13:08:30 +01:00
Michael Telatynski
af609e35a3
Add CI to improve experience for community (#22474)
* Add CI to improve experience for community

* Fix close-if-fork-develop if-condition

* Extract into reusable workflow
2022-06-08 11:43:55 +01:00
Michael Telatynski
911150846e
Add CI to improve experience for community (#8779)
* Add CI to improve experience for community

* Fix close-if-fork-develop if-condition

* Extract into reusable workflow
2022-06-08 11:43:54 +01:00
Robin
b44df4bcc3
Add message starring label to labs automation (#22461) 2022-06-07 17:16:44 +02:00
Michael Telatynski
f65e8d088e
Update matrix-org/github-action-benchmark (#8774)
* Update cypress.yaml

* Update cypress.yaml

* Update cypress.yaml
2022-06-07 10:56:39 +01:00
Michael Telatynski
fa8c346dfa
Rework the Cypress & Percy CI (#8691)
* Split Cypress out into its own workflow

* Improve PR Details job to use github-script and output labels

* Fix wrongly using github.ref in workflow_run actions which always refer to develop

* Update pr-details to be far more generic

* Tweak how we fill command-prefix

* Tweak cypress job to pass more params & fix if condition

* Bring in external changes

* Add docs

* Use new composite action, and an action to update a status check based on this workflow run

* Iterate approach
2022-06-07 09:03:25 +01:00
Michael Telatynski
7e244fc833
Switch to composite actions for pr_details and sonarqube (#8729)
* Switch to composite actions for pr_details and sonarqube

* Bring back a reusable workflow for element-web stack sonarqube runs

* Move sonarcloud.yml to the right repo

* Fix Netlify run
2022-06-06 11:37:48 +01:00
Michael Telatynski
3c170bbe96
Switch to composite actions for pr_details and sonarqube (#22409)
* Switch to composite actions for pr_details and sonarqube

* Bring back a reusable workflow for element-web stack sonarqube runs
2022-06-06 11:37:44 +01:00
Michael Telatynski
2a9587d4ff
Clean up closed issues (duplicates and rageshakes) (#22451) 2022-06-06 10:26:29 +01:00
Michael Telatynski
69426387dc
Put web app team issues in the board (#22452) 2022-06-06 10:03:24 +01:00
Germain
76c9535255
Remove Z-IA issues to delight board automation (#22414) 2022-06-01 09:22:43 +00:00
Michael Telatynski
4a91c172b2
Github Actions pull_request synchronize runs on PR open anyway (#22396)
* Github Actions pull_request synchronize runs on PR open anyway

* Update pull_request.yaml
2022-05-30 15:40:33 +01:00
Michael Telatynski
e87ef3b6ab
Revert "Github Actions pull_request synchronize runs on PR open anyway" (#8720)
* Revert "Github Actions pull_request synchronize runs on PR open anyway (#8718)"

This reverts commit eaace4b4d1.

* Update pull_request.yaml
2022-05-30 15:40:26 +01:00
Michael Telatynski
eaace4b4d1
Github Actions pull_request synchronize runs on PR open anyway (#8718) 2022-05-30 14:33:36 +01:00
Michael Telatynski
7efd7b67ea
Fix gha concurrency conditions (#8702) 2022-05-26 10:21:44 +01:00
Michael Telatynski
89bffd132a
Fix gha concurrency conditions (#22360) 2022-05-26 10:21:43 +01:00
Michael Telatynski
f3f14afbbf
Move spaces tests from Puppeteer to Cypress (#8645)
* Move spaces tests from Puppeteer to Cypress

* Add missing fixture

* Tweak synapsedocker to not double error on a docker failure

* Fix space hierarchy loading race condition

Fixes https://github.com/matrix-org/element-web-rageshakes/issues/10345

* Fix race condition when creating public space with url update code

* Try Electron once more due to perms issues around clipboard

* Try set browser permissions properly

* Try to enable clipboard another way

* Try electron again

* Try electron again again

* Switch to built-in cypress feature for file uploads

* Mock clipboard instead

* TMPDIR ftw?

* uid:gid pls

* Clipboard tests can now run on any browser due to mocking

* Test Enter as well as button for space creation

* Make the test actually work

* Update cypress/support/util.ts

Co-authored-by: Eric Eastwood <erice@element.io>

Co-authored-by: Eric Eastwood <erice@element.io>
2022-05-26 10:19:00 +01:00
Michael Telatynski
e20ae18378
Revert "Split Cypress out into its own workflow (#8677)" (#8685)
This reverts commit 1722eb1bd3.
2022-05-24 23:23:49 +01:00
Michael Telatynski
1722eb1bd3
Split Cypress out into its own workflow (#8677)
* Split Cypress out into its own workflow

* Improve PR Details job to use github-script and output labels

* Fix wrongly using github.ref in workflow_run actions which always refer to develop

* Update pr-details to be far more generic

* Tweak how we fill command-prefix
2022-05-24 19:16:33 +01:00
Michael Telatynski
7c949f9f5a
Fix wrongly using github.ref in workflow_run actions which always refer to develop (#22321) 2022-05-24 12:36:15 +01:00
Michael Telatynski
fab52795e3
Consolidate i18n check into a reusable workflow (#22248)
* Fix i18n check bypass for RiotTranslateBot

* Consolidate i18n check into a reusable workflow
2022-05-20 01:17:34 +01:00
Michael Telatynski
a0cdc93642
Rename i18n_check.yaml to i18n_check.yml 2022-05-20 00:37:58 +01:00
Michael Telatynski
896c8c9035
Consolidate i18n check into a reusable workflow (#8634)
* Fix i18n check bypass for RiotTranslateBot

* Consolidate i18n check into a reusable workflow

* Update .github/workflows/i18n_check.yaml

Co-authored-by: Travis Ralston <travisr@matrix.org>

Co-authored-by: Travis Ralston <travisr@matrix.org>
2022-05-20 00:36:58 +01:00
Michael Telatynski
b2d057b7c3
Update triage-priority-bugs.yml (#22277) 2022-05-19 14:54:38 +01:00
Germain
ff7398b21f
Remove spaces to delight board automation (#22260) 2022-05-18 11:59:32 +01:00
Michael Telatynski
20cc77401c
Revert "Sonarcloud check out upstream develop not fork develop (#22239)" (#22249)
This reverts commit 56f3afc7f8.
2022-05-17 18:27:52 +01:00
Michael Telatynski
5f3a9378af
Revert "Sonarcloud check out upstream develop not fork develop (#8622)" (#8635)
This reverts commit 6ffd12a027.
2022-05-17 18:27:27 +01:00
Michael Telatynski
56f3afc7f8
Sonarcloud check out upstream develop not fork develop (#22239) 2022-05-17 18:09:32 +01:00
Michael Telatynski
6ffd12a027
Sonarcloud check out upstream develop not fork develop (#8622) 2022-05-17 18:09:28 +01:00
Michael Telatynski
b3ef2c179a
Update weblateToCounterpart to be more resilient (#22247)
* Update i18n check CI to ignore RiotTranslateBot

* Update `weblateToCounterpart` to be more resilient
2022-05-17 17:44:30 +01:00
Michael Telatynski
d9b7e0721c
Add visual tests using Percy in Cypress (#8610)
* Add basic Percy tests

* Run Percy in CI

* Fix snapshot timing

* Fix bad selector

* Hide another bit of dynamic text

* Add docs
2022-05-17 15:16:14 +00:00
J. Ryan Stinnett
c122c5cd3b
Add basic performance testing via Cypress (#8586) 2022-05-17 15:38:45 +01:00
Michael Telatynski
4162c21596
Update netlify.yaml (#8615) 2022-05-16 21:20:00 +00:00
Michael Telatynski
6c87e294c4
Run CI in Github Actions (#22054)
* Tidy workflows

* Update get-version-from-git.sh

* Run tests in Actions

* Upload coverage to SonarCloud

* Run linters in Actions

* Run builds in Actions, consolidating with sentry uploader

* Update sonar-project.properties

* chmod +x

* Iterate

* Use new env vars

* Delete yarn-sub.js

* Use re-usable sonarqube action

* Add README badges

* Match reality
2022-05-16 16:23:44 +02:00
Michael Telatynski
e6ec01fe86
Use reusable SonarCloud workflow (#8589)
* Use reusable SonarCloud workflow

* Simplify Netlify run too

* We don't need dbl quotes

* Remove stale if check
2022-05-13 22:25:50 +00:00
Travis Ralston
f080b1fb27
Update unlabel workflow to check for card archive-ness (#22194)
* Update unlabel workflow to check for card archive-ness

Fixes CI error notifications when removing labels from issues which are archived on the Issue Triage board.

Doesn't fix the adding of labels, but that's more complicated and a work in progress as of writing.

* Update triage-unlabelled.yml
2022-05-14 00:21:41 +02:00
Michael Telatynski
b331099525
Make pull_request.yaml between the layers consistent and fix enforce labels (#8580) 2022-05-13 18:51:25 +01:00
Michael Telatynski
f2c8e89053
Make pull_request.yaml between the layers consistent and fix enforce labels (#22172) 2022-05-13 18:51:22 +01:00
Michael Telatynski
b98e605574
Create dependency upgrade action (#22043) 2022-05-04 14:28:23 +01:00
Michael Telatynski
de6fc4ab52
Update upgrade_dependencies.yml (#8487) 2022-05-03 21:47:41 +00:00
Michael Telatynski
99cb83a9df
Create manual action for upgrading dependencies after rc cut (#8484) 2022-05-03 21:54:32 +01:00
Michael Telatynski
2e9c2dd42b
Prune i18n files (#8479)
* Prune i18n files

* Tweak i18n ci rule to ignore RiotTranslateBot
2022-05-03 16:09:11 +01:00
Michael Telatynski
4d122db7cf
Prevent Netlify builds from different PRs stepping on each other (#8477) 2022-05-03 15:43:40 +01:00
Michael Telatynski
2141b122f9
Tweak sonarqube run (#8475) 2022-05-03 14:46:38 +01:00
Michael Telatynski
7f78b1c968
Iterate CI checks (#8472) 2022-05-03 10:39:03 +01:00
Michael Telatynski
7477a2df7d
Switch coverage over to SonarQube (#8463) 2022-05-02 21:34:31 +01:00
Robin
850a250cea
Fix label triage automation (#21999) 2022-04-30 15:32:55 +01:00
Michael Telatynski
92f440d9de
Consolidate deployment management into more maintained action (#8430) 2022-04-29 11:07:42 +01:00
Michael Telatynski
6cb29f2b8d
Try SonarCloud (#8441) 2022-04-29 09:38:24 +00:00
Michael Telatynski
1bceeb244c
Record cypress runs to dashboard (#8436) 2022-04-28 12:47:13 +01:00
Kat Gerasimova
2c7680bd87
Add github automation for new labels (#21966)
Add 'Team: Delight' and 'Z-NewUserJourney' to the Delight board
2022-04-28 09:53:20 +01:00
Michael Telatynski
6d2230064e
Fix broken netlify ci (#8427) 2022-04-27 12:39:14 +01:00
Michael Telatynski
8f7e265125
Fix Netlify builds 2022-04-27 11:20:29 +01:00
Michael Telatynski
b6bc2943d3
Fix it once and for all 2022-04-27 11:11:48 +01:00
Michael Telatynski
4bcdb5e99b
Fix broken netlify ci (#8424) 2022-04-27 10:45:23 +01:00
Michael Telatynski
9ad93c2f5b
Attempt to use deployments to signal Netlify builds instead (#8421) 2022-04-27 10:24:38 +01:00
Michael Telatynski
6f5900557b
Remove notify environment requirement (#8383) 2022-04-21 15:17:43 +01:00
Michael Telatynski
146bcdd6a6
Move more stuff from BK to GHA (#8372) 2022-04-21 11:55:32 +00:00
David Baker
ffeab40af6
Fix netlify previews (#8330)
Update the name of the workflow in the workflow_run trigger as
it was changed when adding cypress tests.

This will upload the preview build after running the cypress tests:
unsure if this is what we want or not. The preview build will be
slower to appear, but it does sort of make sense to only get a
preview buuild if the tests pass. If not, we might be able to do
this by doing a repository dispatch after the preview build.
2022-04-14 18:19:26 +01:00
David Baker
123a659cf8
Fix synapse logs directory in Cypress tests (#8326)
I changed it in one place but not the other
2022-04-14 17:33:10 +01:00
David Baker
b8013fc52a
Add a Cypress Test 🌲 (#8295)
* A first, maybe working cypress test

Plus cypress plugins to manage synapses in docker containers

* Fix yaml

* This file is important

* try & find where it's put the artifact

* Download artifact to a directory

* pics or it didn't happen

* Add conditional, otherwise no artifacts on failure...

* Try increasing timeout

also actually give the test a name

* Try in chrome

* Get docker logs to see why it's failing

also document the chrome setting

* Try changing mode on homeserver.yaml

* debug

* More debugging

* more file permissions debugging

* ARGH

* more debug

* sigh

* Eugh, that's not how arguments work

* Add the option to really allow open registration

and remove debug logging / comment fixes

* failure to yaml

* Upload docker logs as artifacts

and temporarily remove contional to test

* Put the conditional back

* Upgrade types in end to end tests

to be compatible with fs-extra types

* Try reducing timeout a bit

also make password more... sensible

* Hex is not octal

* Remove file mode

Seems to be unnecessary since the signing key is perfectly fine

* Give the log files extensions

* Rename workflow file now it also does tests

* Add cypress scripts

* copyright headers

* Use ? operator

Co-authored-by: Travis Ralston <travisr@matrix.org>

* Use develop synapse image

* Tidy up any remaining synapses after each spec run

Also:
 * Move the synapseStart / synapseStop functions out to the top level
   so they can be reused
 * Add a tsconfig file
 * Give the containers names

* Don't upload video on test pass

We don't upload it anyway so tell cypress not to so it can not
bother encoding them

* Enable linting on cypress files

and fix existing lint errors

* Type check cypress files

and make it pass the type checks, specifically:
 * Upgrade sinon fake timers to a version that has the right types
 * Set module resolution
 * Type check cypress files separately

* Rename workflow file again

Probably better to just call it an element web build

* Don't plus + characters in container name

* Fix yaml

* Stream logs to file

* Add note to end to end tester to sya what's been ported

* Put docker rm in finally block

Co-authored-by: Travis Ralston <travisr@matrix.org>
2022-04-14 10:41:58 +01:00