Commit Graph

507 Commits

Author SHA1 Message Date
joel.poyet edb3520c56 Add member directory tab to home navigation (#3)
* feat(healthchat): add member directory tab to home navigation

Third bottom-nav tab backed by the HealthChat API: searchable member
cards with native start-chat, approval-pending banner, retry on
failure and navigation into the native profile screens.

* fix(healthchat): stop tab back handler swallowing back presses

While a screen is pushed on top of Home, the still-composed tab
BackHandler intercepted back presses during the transition and
invisibly switched to the Chats tab. Gate it on the node's target
visibility in both the parent and Home's own backstack.

* fix(healthchat): satisfy detekt, ktlint and konsist rules

Import alias order, composable parameter order in HomeView, and konsist presenter helper shape.

* ci: pass the real repository name to the screenshot recorder

recordScreenshots.yml set GITHUB_REPOSITORY from `secrets.GITHUB_REPOSITORY`.
No such secret exists on this fork, so the expression expands to an empty
string and overrides the built-in environment variable of the same name.
recordScreenshots.sh checks it up front and exits 1 with "No repo specified",
so the workflow could never record anything here.

Use the `github.repository` context instead, which is always populated.

Claude-Session: https://claude.ai/code/session_01MQbp1EPM4TSXq8P8Pyq44F

* Update screenshots

* Revert "Update screenshots"

This reverts commit b99e0d643f.

* Reapply "Update screenshots"

This reverts commit 85bceb6d67.

* test(screenshots): stop a LayoutLib teardown crash failing the shard tests

Paparazzi 2.0.0-alpha05 / LayoutLib 16.2.1 races on HandlerThread startup:
HandlerThread_Delegate.run calls Process.setThreadPriority, which throws
NoSuchMethodError for Thread.setPosixNicenessInternal and kills the
"android.bg" thread. If the test thread reaches getLooper() after that, it
gets null, BackgroundThread.ensureThreadReady() NPEs, and the static
initialiser of LatencyTracker fails. The JVM then marks that class erroneous
for the lifetime of the fork, so every later preview showing the soft
keyboard dies with NoClassDefFoundError.

LayoutLibErrorFilterStatement already swallowed the bare NoSuchMethodError,
but PaparazziLogger re-throws collected background errors from teardown()
wrapped in a MultipleFailuresException when there is more than one, and that
wrapper slipped through. A recent run reported 17 failures with zero image
comparisons failing and zero delta images written.

Unwrap the wrapper by reflection and swallow it only when every collected
cause matches the known-bug list; anything unrecognised, and anything that
cannot be decomposed, is rethrown.

Also close a hole this filter had from the start. Paparazzi runs the test as
`try { body } finally { teardown() }`, so a teardown error discards whatever
the body threw — including a genuine snapshot mismatch. renderFailureCapture
is registered inside the Paparazzi rule to record the body's exception so it
wins over any teardown error, and the filter refuses to swallow anything if
that rule is not registered. Two HorizontalFloatingToolbar previews have been
mismatching silently behind this, and may now surface as real failures.

Claude-Session: https://claude.ai/code/session_01MQbp1EPM4TSXq8P8Pyq44F

---------

Co-authored-by: ElementBot <android@element.io>
2026-08-06 13:10:01 +02:00
joel.poyet 0cd363b1c3 ci: skip the codecov upload when no token is configured 2026-08-04 17:10:38 +02:00
joel.poyet e74db93344 ci: cap Gradle workers so test JVMs fit the container 2026-08-04 13:36:52 +02:00
joel.poyet 8c4ef9264b ci: record why the Gradle heap is reduced 2026-08-04 12:55:48 +02:00
joel.poyet 409a1e5b90 ci: report runner capacity on the self-hosted jobs 2026-08-04 12:43:27 +02:00
joel.poyet 2013b86dfe ci: size the Gradle heap for the self-hosted containers
Upstream's -Xmx8g/4g is sized for hosted VMs; here the daemon is SIGKILLed
and Gradle reports "the daemon has disappeared".
2026-08-04 12:28:42 +02:00
joel.poyet cedd070bfe ci: rely on the runner image for the Android SDK
Drops the setup-android step from the release job and gates the swapfile
resize, which needs a hosted runner image and passwordless sudo.
2026-08-04 11:04:07 +02:00
joel.poyet 0fcd7bcfce ci: run the heavy Gradle jobs on the self-hosted runners
Requires the Android SDK in the runner image. Also gates the disk-cleanup
step to hosted runners, where it would otherwise strip the host.
2026-08-04 08:42:36 +02:00
joel.poyet 0799ad5b73 ci: disable the Label Community PRs job on this fork 2026-08-04 08:07:51 +02:00
joel.poyet 9475ec3a48 ci: grant contents:read so checkout works on this private fork 2026-08-04 07:11:37 +02:00
joel.poyet 2221bf2972 ci(release): move releases to the persistent self-hosted runners
novaloop-incus-large is the GARM ephemeral pool, whose runners were reaped
mid-job; [self-hosted, Linux, X64] matches four persistent org runners.
2026-08-04 07:11:37 +02:00
joel.poyet b4629fff90 fix(release): drop changesNotSentForReview from Play upload
Play now sends this app's changes for review automatically and the Edits
API rejects the parameter, so the AAB uploaded but the edit never committed.
2026-08-03 13:44:34 +02:00
joel.poyet 09b6d6341b ci(release): add HealthChat Play Store release pipeline 2026-07-27 18:35:36 +02:00
renovate[bot] f6330c6098 Update zizmorcore/zizmor-action action to v0.5.7 2026-06-29 07:03:55 +00:00
Jorge Martin Espinosa 5848e0b9eb Disable periodically generating the screenshot gallery (#7110) 2026-06-26 12:48:04 +02:00
ganfra 2689f53342 Merge pull request #7104 from element-hq/renovate/danger-danger-js-13.x
Update danger/danger-js action to v13.0.8
2026-06-26 11:10:03 +02:00
renovate[bot] 17d0c54173 Update actions/checkout action to v7 (#7098)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-26 09:32:40 +02:00
renovate[bot] 4495f58520 Update danger/danger-js action to v13.0.8 2026-06-25 15:07:47 +00:00
renovate[bot] 03fb97ce6e Update actions/setup-java action to v5.3.0 2026-06-23 19:14:52 +00:00
renovate[bot] c77f349484 Update rnkdsh/action-upload-diawi action to v1.5.13 (#7067)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-22 10:41:48 +02:00
renovate[bot] 0cb04c714a Update gradle/actions action to v6.2.0 (#7063)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-22 08:25:40 +02:00
renovate[bot] 8e616f5268 Merge pull request #7037 from element-hq/renovate/gradle-actions-6.x
Update gradle/actions action to v6.1.1
2026-06-17 14:01:38 +02:00
renovate[bot] 37fed3e8fe Update actions/checkout action to v6.0.3 (#6997)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-11 09:45:30 +02:00
ganfra 3b9a2385ff deps(codecov) : bumps to v7.0.0 to unblock CI 2026-06-10 10:37:53 +02:00
renovate[bot] 9fd5277a48 Update zizmorcore/zizmor-action action to v0.5.6 (#6845)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-08 15:46:52 +02:00
ganfra 8210070ec2 Merge pull request #6900 from element-hq/renovate/tspascoal-get-user-teams-membership-4.x
Update tspascoal/get-user-teams-membership action to v4.0.2
2026-05-29 18:47:49 +02:00
ganfra 7c047ed03e Merge branch 'develop' into renovate/tspascoal-get-user-teams-membership-4.x 2026-05-29 18:34:37 +02:00
ganfra e45b36b657 Merge branch 'develop' into renovate/actions-stale-10.x 2026-05-29 18:33:57 +02:00
Benoit Marty 24c11e1b0f Add Stefan's etiquette to the project. (#6909) 2026-05-29 15:59:54 +02:00
renovate[bot] 6fd602a08f Update actions/stale action to v10.3.0 2026-05-28 15:07:59 +00:00
renovate[bot] e1aab57b96 Update tspascoal/get-user-teams-membership action to v4.0.2 2026-05-28 15:07:36 +00:00
Jorge Martin Espinosa f871252573 Revert "Disable cron jobs and private SSH key jobs in forks" (#6905)
This reverts commit ab4b11b9f0.
2026-05-28 09:56:07 +02:00
Jorge Martin Espinosa ab4b11b9f0 Disable cron jobs and private SSH key jobs in forks (#6821)
* Try disabling cron jobs in forks

* Try fixing quality checks

* Try fixing tests and enterprise builds

* Stop using the ssh private key in more quality checks

* Try disabling codecov if there is no token
2026-05-27 17:26:14 +02:00
renovate[bot] f447560665 Update codecov/codecov-action action to v6.0.1 (#6864)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-26 07:59:33 +02:00
renovate[bot] 00efd9a01c Update peaceiris/actions-gh-pages action to v4.1.0 (#6820)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-21 15:01:35 +02:00
Benoit Marty 960ff0fb75 Renovate: Keep Guava on the Android variant and ignore jre-only upgrades. 2026-05-12 21:39:48 +02:00
renovate[bot] c68e1b8845 Update tspascoal/get-user-teams-membership action to v4.0.1 (#6750)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-12 15:57:18 +02:00
renovate[bot] 90ce30d6e7 Update actions/add-to-project action to v2 (#6758)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-11 14:13:23 +02:00
renovate[bot] 95dac66869 Update tspascoal/get-user-teams-membership action to v4 (#6747)
* Update tspascoal/get-user-teams-membership action to v4

* Point the commit to the right tag v4.0.0

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-05-07 15:39:26 +02:00
Jorge Martin Espinosa 90ed385745 Fix record screenshots action permissions (#6679) 2026-04-28 11:17:57 +00:00
renovate[bot] d9080f5465 Update zizmorcore/zizmor-action action to v0.5.3 (#6630)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-23 09:46:37 +02:00
ganfra 8853f160e2 Merge pull request #6615 from element-hq/renovate/peter-evans-create-pull-request-8.x
Update peter-evans/create-pull-request action to v8.1.1
2026-04-20 15:50:06 +02:00
ganfra 05e1048d20 Merge pull request #6606 from element-hq/renovate/actions-github-script-9.x
Update actions/github-script action to v9
2026-04-20 15:44:52 +02:00
renovate[bot] f7eaedf805 Merge pull request #6614 from element-hq/renovate/actions-upload-artifact-7.x
Update actions/upload-artifact action to v7.0.1
2026-04-20 14:22:22 +02:00
renovate[bot] 09720a01c9 Update peter-evans/create-pull-request action to v8.1.1 2026-04-17 18:50:20 +00:00
renovate[bot] 555d7acbd3 Update actions/github-script action to v9 2026-04-17 00:03:24 +00:00
renovate[bot] 67c0e4c140 Update nschloe/action-cached-lfs-checkout action to v1.2.5 (#6600)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-16 15:26:20 +02:00
renovate[bot] bf1948185e Update gradle/actions action to v6.1.0 2026-04-10 18:15:06 +00:00
renovate[bot] 9e61c6545c Update codecov/codecov-action action to v6 2026-04-08 14:48:53 +00:00
renovate[bot] a44cf4335b chore(deps): update gradle/actions action to v6 (#6489)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-01 15:13:07 +02:00