Commit Graph

1231 Commits

Author SHA1 Message Date
joel.poyet 697c7efe15 ci: label desktop download links with platform 2026-07-29 23:32:28 +02:00
joel.poyet 637eaa7356 ci: retire legacy healthchat.ch desktop feed 2026-07-29 23:31:39 +02:00
joel.poyet 30bb2bfca3 ci: stage desktop feed on packages.healthchat.ch archive 2026-07-29 23:28:39 +02:00
joel.poyet 09e66dba47 ci: link desktop installers instead of attaching them 2026-07-29 23:19:35 +02:00
joel.poyet 8530b1f09a ci: split desktop feed tarball under 2 GiB asset cap 2026-07-29 23:08:03 +02:00
joel.poyet ab295d810c chore: move desktop packages to packages.healthchat.ch 2026-07-29 22:28:43 +02:00
joel.poyet 831a928d04 ci: split desktop feed publish into a manual deploy workflow 2026-07-29 00:39:16 +02:00
joel.poyet f345ca55b3 ci: publish :latest instead of :stable for stable tags 2026-07-29 00:39:16 +02:00
joel.poyet 205c49c010 ci: drop nightly cron schedules in HealthChat fork
The schedule triggers on build-and-test.yaml and build_desktop_and_deploy.yaml
fired nightly from the default branch (release/healthchat) and failed at startup,
since the repo gate only skips jobs, not the cron-spawned runs. Remove the
schedule triggers; pull_request/merge_group/push/release/workflow_dispatch are
untouched.
2026-06-30 16:51:57 +02:00
joel.poyet 981fd62b8f feat(desktop): show what's changed in auto-update prompt
Publish HEALTHCHAT_CHANGES.md release notes into the update feeds so users
see what changed. macOS gets them natively via releases.json's notes field;
Windows fetches a published notes.txt, since Squirrel.Windows only delivers
releaseName through the update-downloaded event.
2026-06-28 10:24:31 +02:00
joel.poyet 15161b6ddf ci: gate storybook build workflow on fork
Add the same repo guard applied to sibling upstream workflows in
bd6241ad9d. On the private fork this job failed at checkout because
permissions: {} leaves GITHUB_TOKEN without contents:read, so
actions/checkout 404s on the private repo.
2026-06-28 09:58:07 +02:00
joel.poyet ade1dff201 feat(desktop): wire up HealthChat auto-update + public installer hosting
The Electron auto-updater (Squirrel.Mac / Squirrel.Windows) was already
implemented but switched off for HealthChat because the variant config
omitted update_base_url, and CI published only installers (no update feed),
to a private GitHub Release that can't serve end users or the updater.

- config.json: set update_base_url to https://healthchat.ch/packages/desktop/update/
  so electron-main starts the updater.
- build-healthchat-desktop.yaml: pass base-url to the macOS job so releases.json
  is generated; extend the release job to stage the update feed + public
  installers and mirror them to healthchat.ch over FTPS (lftp, no-delete to
  preserve prior nupkgs; password via LFTP_PASSWORD).
- Document the feed/install layout, FTP secrets, and the two caveats (first
  install is manual; Windows auto-update needs the Setup.exe path, not .msi)
  in the healthchat README and the releasing-healthchat skill.

Requires repo secrets FTP_SERVER / FTP_USERNAME / FTP_PASSWORD.
2026-06-28 09:54:08 +02:00
joel.poyet bd6241ad9d ci: gate element-hq-only workflows on fork
Skip upstream deploy/publish/release, org automation, translations and
PR previews via a repo guard; allow PRs to release/* base branches.
2026-06-28 09:44:07 +02:00
joel.poyet cf917c1ed5 chore(release): HealthChat 1.1.2
Remove the Linux desktop build from the release pipeline. It could never
succeed in this fork: the upstream Linux reusable pulls a build-env Docker
image keyed by the building commit's SHA from the upstream element-hq
registry, where the fork's SHA does not exist, so every tagged build failed
with `manifest unknown`. Desktop releases now ship macOS and Windows only.

- Drop the linux job + its release artifacts from build-healthchat-desktop.yaml
- Bump apps/desktop/package.json to 1.1.2
- Update releasing-healthchat skill + desktop README docs
2026-06-28 09:09:27 +02:00
joel.poyet b8cf40ff5a ci(desktop): enforce app version matches release tag 2026-06-26 16:41:28 +02:00
joel.poyet d53b20e2a8 fix(ci): grant contents:read so desktop builds can clone the internal fork
The reusable build jobs ran with permissions: {} (fine for upstream's public
repo, which checks out with no token). This fork is internal, so checkout failed
with 'Repository not found'. Grant contents:read on the linux/macos/windows
caller jobs and the reusable build jobs, mirroring the prepare job.
2026-06-26 15:29:22 +02:00
joel.poyet 15d870fc1f fix(ci): read pnpm version from devEngines in healthchat desktop webapp job
pnpm/action-setup@v4 errored 'No pnpm version specified' because this repo
declares pnpm via devEngines.packageManager, not the top-level packageManager
field. Bump to v6.0.8 (as the shared desktop reusables use), which reads it.
2026-06-26 15:16:16 +02:00
joel.poyet f6925dbd77 feat(desktop): build signed Windows + macOS apps in healthchat pipeline
Extend the HealthChat desktop pipeline beyond Linux to produce fully branded,
signed Windows (.exe/.msi) and macOS (.dmg/.zip) installers, published to the
GitHub Release on the healthchat-v* tag alongside the web build.

- Add HealthChat desktop icons (icon.png/ico + Apple Icon Composer bundle),
  derived from apps/web/res/vector-icons/1024.png
- Point the reusable build workflows at this fork (new repository/ref inputs)
  so the Electron shell, icons and healthchat:// handler are fork-branded
- Relax hardcoded Element*/element-desktop* filename asserts to be
  product-name-agnostic
- Wire signed macOS + Windows jobs into build-healthchat-desktop.yaml, trigger
  it on healthchat-v* tags, and add a release job that uploads installers
- Map the org-level eSigner secrets to the CKA names the reusable expects
- Document signing setup (Apple env, eSigner mapping, ESIGNER_MODE=prod) in the
  desktop README and releasing-healthchat skill
2026-06-26 15:10:38 +02:00
joel.poyet 5f09f58a82 ci: add HealthChat desktop build pipeline 2026-06-22 17:06:16 +02:00
joel.poyet 67663d394a fix: adapt to pnpm monorepo after rebase onto master
Post-rebase fixups for the v1.12.7 -> v1.12.20 jump (yarn single-package
-> pnpm monorepo):

- UserSettingsDialog: TranslationKey is now a global ambient type (drop
  the import); remove imports left unused by the disabled Account/Security
  tabs; cast the module tab icon to the tightened Tab icon type.
- SdkConfig: point the default branding auth_header_logo_url at the PNG
  logo (the SVG was removed by HealthChat branding), fixing a broken
  default asset reference.
- build-healthchat.yaml: build apps/web/Dockerfile (monorepo location).
2026-06-22 17:05:54 +02:00
joel.poyet 8be6bc6e08 chore(release): set up tag-driven HealthChat release pipeline
Convert build-healthchat workflow from branch-push to tag-push trigger
(healthchat-v*), add version/workspace-ref/release-notes resolution,
and create a GitHub Release on tag push. Pin healthchat-workspace to
v0.5.0-rc.4 via .healthchat-workspace-version, seed the changelog with
1.0.0, and document the runbook in the releasing-healthchat skill.
2026-06-22 17:05:54 +02:00
joel.poyet 7eaab2eb70 chore: update healthchat-workspace 2026-06-22 17:05:54 +02:00
joel.poyet 54b9146731 chore: update healthchat-workspace 2026-06-22 17:05:54 +02:00
Joël Poyet 8aa782bd6e chore: upgrade healthchat-workspace 2026-06-22 17:05:54 +02:00
Joël Poyet 3c9edf5bc7 chore: update healtchat-workspace 2026-06-22 17:05:54 +02:00
Joël Poyet d14c1e8964 chore: update healtchat-workspace 2026-06-22 17:05:54 +02:00
Joël Poyet 8f5558a22b chore: release 2026-06-22 17:05:54 +02:00
joel.poyet 1f0f919b26 ci: fix pipeline to include healthchat workspace plugin 2026-06-22 17:05:54 +02:00
Joël Poyet bb684a18c9 ci: add workflow_dispatch with workspace ref input 2026-06-22 17:05:54 +02:00
Joël Poyet 450d743216 ci: add element-plugin build to Docker pipeline 2026-06-22 17:05:54 +02:00
Joël Poyet 55cedf7df2 chore: fix ci pipeline 2026-06-22 17:05:54 +02:00
Joël Poyet 2af20a9e3f chore: pipeline 2026-06-22 17:05:53 +02:00
joel.poyet 8a3c4fa341 chore: initial adaption for healthchat 2026-06-22 17:05:53 +02:00
Michael Telatynski 07ce599b4f Set up deploy workflow correctly 2026-06-02 17:17:09 +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
Michael Telatynski 32b66747f4 Fix renovate for pnpm 11 overrides (#33667) 2026-05-29 14:24:56 +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 911eb0ba2e9237d4b28e3bdaaf8f10ba6f22e827.

* Revert "Check ulimit"

This reverts commit f09eb59d715ba30a2e7fc5dba17dde092bd9bf17.

* Reapply "Check ulimit"

This reverts commit 83227c19ff5d07db91b6586f407f56870b00c041.

* 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 Langley c6b2f8955d Remove 'A-New-Search-Experience' label (#33589)
Removed label for the new search experience from labels.yml.

There is already one for spotlight synced from meta.
2026-05-28 07:42:36 +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
Robin d40fe81616 Expand the @element-hq/element-call-reviewers codeowners list (#33521)
Adding some more files that the VoIP team is responsible for.
2026-05-18 14:03:48 +00:00