Commit Graph

1074 Commits

Author SHA1 Message Date
Michael Telatynski eca2f39dbb Switch from prettier to oxfmt (#33844)
* Switch from prettier to oxfmt

* Make knip happy

* Make knip happy

* Apply suggestion from @t3chguy

* Rename .oxfmtrc.json to .oxfmtrc.jsonc

* Make oxfmt happier
2026-06-16 12:17:18 +00:00
renovate[bot] d92e10f01a Update github-actions non-major dependencies to v6.0.9 (#33849)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-16 08:01:53 +00:00
Michael Telatynski 2f4e6a4ec4 Use vitest for some EW unit tests (#33816)
* Use vitest for some EW unit tests

* Ensure library builds are done before unit tests

* Stabilise jest tests

* Move more tests over

* Make sonar happier

* Update types/node for happy-dom compat again

* Decrease max-workers to stabilise jest tests

* Split jest over 3 runners to alleviate memory woes

* Switch jest to runInBand

* Attempt to deflake jest tests

* tweak coverage

* tweak coverage
2026-06-15 13:24:33 +00:00
Michael Telatynski 48e4bce28e Use PR labels to request additional CI to run (#33829)
* Run all desktop platform tests on PR with `A-Electron` label

* Run modules tests on PR with `A-Modules` label

* Fix matrix configuration

* Iterate
2026-06-12 10:18:52 +00:00
Michael Telatynski 2d24778214 Fix modules dir tsc not running in CI (#33811)
* Fix modules dir tsc not running in CI

* Switch to nx run-many for ci task

This has smarter scheduling logic for dependant tasks
2026-06-11 10:37:47 +00:00
Michael Telatynski e9a89d9872 Consolidate vitest CI & coverage (#33808)
* Consolidate modules vitest coverage

* Use vite-common as base for modules vitest config

* Make knip happier

* Fix coverage paths

* Place modules unit tests alongside src

* Switch to defineProject for better type safety

* Consolidate vitest CI & coverage

Kills off vite-common

* Update comment

* Update lockfile

* Fix shared-components vitest config

* Soften eslint config for tests in modules

* Run eslint on modules/playwright dir too

* Make tsc happy
2026-06-10 16:00:34 +00:00
Michael Telatynski bb2c6d68ff Fix playwright modules tests 2026-06-09 18:17:37 +01:00
Michael Telatynski e8244ae8a9 Add --workspace-concurrency=1 2026-06-09 14:36:21 +01:00
Michael Telatynski a74add6fbd Merge branch 'develop' of ssh://github.com/element-hq/element-web into t3chguy/merge-modules
# Conflicts:
#	pnpm-lock.yaml
2026-06-09 14:05:01 +01:00
RiotRobot ce4167d3b4 Merge branch 'master' into develop 2026-06-09 13:01:56 +00:00
Michael Telatynski c1ecf49dca Fix WEBAPP_PATH 2026-06-09 13:55:23 +01:00
Michael Telatynski ab4f427cac Fix playwright config 2026-06-09 13:20:08 +01:00
Michael Telatynski 99dcfe7fe1 Fix docker 2026-06-08 13:27:37 +01:00
Michael Telatynski d6313dfae1 Set --workspace-concurrency=1 2026-06-08 13:21:13 +01:00
Michael Telatynski c315848c47 Fix docker test 2026-06-08 13:14:26 +01:00
Michael Telatynski 763df4d425 Fix docker test 2026-06-08 12:58:19 +01:00
Michael Telatynski 788c76d677 Fix widget toggles vitest browser test 2026-06-08 11:30:08 +01:00
Michael Telatynski cf9ee41d06 DRY 2026-06-08 11:19:13 +01:00
Michael Telatynski 799d33278f Absorb remainder of element-modules into monorepo 2026-06-08 10:32:12 +01:00
Michael Telatynski cd8a1012c8 Use Localazy environment for localazy upload (#33760)
* Use Localazy environment for localazy upload

* Inline localazy_upload workflow to enable use of `environment`

* Make zizmor happy
2026-06-05 10:09:25 +00:00
Michael Telatynski afc4e52df4 Report on Playwright flakes in the merge queue (#33750) 2026-06-04 17:03:19 +00:00
David Baker a7b70ee9cc More 'df' debugging in GHA workflows (#33751)
Firstly, I add4ed the df before to the wrong job. Secondly, shared
component visual tests is now flaking the same way, so add the same
there.
2026-06-04 17:03:10 +00:00
renovate[bot] 1a03fcc38c Update actions/checkout digest to df4cb1c (#33738)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-04 10:06:58 +00:00
renovate[bot] f9837c1a2b Update aws-actions/configure-aws-credentials digest to e7f100c (#33712)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-02 16:36:41 +00:00
renovate[bot] b8ee89abbc Update docker (#33713)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-02 16:35:54 +00:00
renovate[bot] 1f7faa0de6 Update github-actions non-major dependencies to v1.2.6 (#33709)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-02 16:24:16 +00:00
Michael Telatynski 07ce599b4f Set up deploy workflow correctly 2026-06-02 17:17:09 +01:00
Michael Telatynski c9650db965 Fix coverage gate
Bad copy paste from js-sdk PR
2026-06-02 16:30:13 +01:00
renovate[bot] ffd524d8c2 Update aws-actions/configure-aws-credentials digest to 99214aa (#33682)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-01 13:25:52 +00:00
Michael Telatynski 9c4397fe9e Fix deployment to Cloudflare pages (#33674)
Broken by pnpm 11 PR
2026-06-01 13:17:53 +00:00
Michael Telatynski 35484e5183 Switch to using diff-cover for the Coverage gate (#33673)
* Switch to using diff-cover for the Coverage gate

Enabling developers to check their PR coverage without waiting for CI

* Remove sonar-project.properties - in automatic mode Sonar will not read this file

* Add note to CONTRIBUTING.md

* Skip sonar in MQ
2026-06-01 12:26:03 +00:00
David Baker 05e3f1bd6f Rename first df job (#33651)
Presumably it can't have the same name as the other df job
2026-05-29 08:50:19 +00:00
renovate[bot] b151749be6 Update actions/stale digest to eb5cf3a (#33659)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-29 08:32:57 +00:00
renovate[bot] 1fb6b778e7 Update pnpm to v11 (#33573)
* Update pnpm to v11

* Handle breaking changes

* Attach pnpm hash

* Remove redundant packageManager fields

* Make lint-staged happy

* Lockfile pnpm itself too

* Update pnpm/action-setup for better v11 compatibility

* Specify types to make tsc happier

* Fix permissions

* Check ulimit

* Specify minimumReleaseAgeExclude

* Run desktop tests

* Revert "Run desktop tests"

This reverts commit 911eb0ba2e.

* Revert "Check ulimit"

This reverts commit f09eb59d71.

* Reapply "Check ulimit"

This reverts commit 83227c19ff.

* Run desktop tests

* Switch nodeLinker & remove app-builder-lib patch

* Fix webpack.config.ts

* Fix .stylelintrc.cjs

* Fix `events` package

* Makes types happier

* Make knip happy

* Fix hak build

* Make jest happy

* Make pnpm-link happy

* Remove dead file

* Run playwright tests

* Fix linux hak permissions in ci

* Test

* Remove ulimit checks

* Disable skip

* Update nx

* Tweak line endings

* Update screenshot

* Iterate

* Webpack fallback `events`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2026-05-29 08:26:59 +00:00
David Baker d3a80e3ca7 Add df before tests start (#33627)
* Add df before tests start

As I'd quite like to know what the disk usage was *before* the job
started too.

* typo
2026-05-27 15:11:01 +00:00
David Baker a415a7ee2a Run prebuild separately for CD job (#33582)
* Run prebuild separately for CD job

as per comment

* Prettier
2026-05-26 08:06:53 +00:00
Michael Telatynski 629f80fa13 Make sonarcloud happier (#33466)
* Remove manual npm update in workflow

It is no longer necessary

* Use already installed deps over npx

* Make pnpm work under sudo in workflow

* Make pnpm work under sudo in workflow v2
2026-05-26 07:33:45 +00:00
renovate[bot] 1ffbe66d72 Update hashicorp/vault-action action to v4 (#33572)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-24 14:02:15 +00:00
renovate[bot] 51472242a8 Update dependency macos to v26 (#33571)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-24 14:01:45 +00:00
renovate[bot] 4b7b0dbead Update cloudflare/wrangler-action action to v4 (#33569)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 21:35:45 +00:00
renovate[bot] 1f2664bc7d Update zizmorcore/zizmor-action action to v0.5.6 (#33545)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-20 14:49:05 +00:00
Michael Telatynski 87cb719114 Update check-regexp to exclude 'deploy' keyword 2026-05-11 10:59:33 +01:00
renovate[bot] 9e75ac84ab Update sigstore/cosign-installer action to v4.1.2 (#33422)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-07 12:12:23 +00:00
renovate[bot] af25f48640 Update aws-actions/configure-aws-credentials digest to d979d5b (#33420)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-07 12:12:19 +00:00
renovate[bot] b6a172c01a Update actions/add-to-project action to v2 (#33381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 13:47:03 +00:00
renovate[bot] 06eab4c17b Update SimenB/github-actions-cpu-cores action to v3 (#33382)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 13:45:11 +00:00
Michael Telatynski 6aee85aef5 Fix OIDC login callback handling on Element Desktop (#33332)
* Fix OIDC login callback handling on Element Desktop

* Add unit tests

* Iterate

* Fix lcov reporter

* Fix coverage paths

* Fix coverage upload

* Ensure `.test.ts` files don't get included in the desktop package

* Fix coverage artifact name

* Delint

* Tidy coverage name

* Improve coverage
2026-04-29 14:05:38 +00:00
Michael Telatynski 1a6b0e22a1 Add CI to detect stale vis screenshots (#33274)
* Add CI to detect stale vis screenshots

* Remove already installed `tree` command

* Remove workaround for vis silently adding missing screenshots in CI

* Fix stale screenshot detection

* Test that CI doesn't silently create new screenshots

* Discard changes to packages/shared-components/src/room/composer/Banner/Banner.stories.tsx

* Delete stale snapshots
2026-04-23 09:24:31 +00:00
Michael Telatynski 4b4289e211 Implement new design for Welcome page (#33211)
* Convert welcome.html to React component

In advance of changes to use Compound

* Fix types

* Fix tests

* Update styling to match Figma

* Fix random capitalisation

* Tweak styling

* Regenerate i18n

* Update tests

* Make linter happy

* Iterate
2026-04-22 15:32:05 +00:00
Michael Telatynski 29411f0ded Speed up PR CI (#33239)
* Speed up PR CI

By skipping some desktop tests in pull requests and instead only running them in the Merge Queue

* Fix comment
2026-04-22 10:55:29 +00:00