Skip to content

electron tests are broken #3676

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
khassel opened this issue Jan 2, 2025 · 3 comments
Closed

electron tests are broken #3676

khassel opened this issue Jan 2, 2025 · 3 comments
Assignees
Labels
dependencies Pull requests that update a dependency file

Comments

@khassel
Copy link
Collaborator

khassel commented Jan 2, 2025

Before adding a PR I tested it on my fork. Without any changes related to electron and without any dependency updates all electron tests are failing.

Found a hint on the actions site:

ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see actions/runner-images#10636

After changing the workflow back to ubuntu-22.04 the tests are working again.

Will provide this as hotfix.

I suspect in ubuntu-24.04 dependencies are missing needed by electron. We have enough time to solve the issue in 24.04 because 22.04 is supported for another 2 years.

@khassel khassel added the dependencies Pull requests that update a dependency file label Jan 2, 2025
@khassel khassel self-assigned this Jan 2, 2025
@sdetweil
Copy link
Collaborator

sdetweil commented Jan 2, 2025

where do you see the failures? I get notices for each build action, but haven't had any today

@khassel
Copy link
Collaborator Author

khassel commented Jan 2, 2025

e.g. https://github.com/khassel/MagicMirror/actions/runs/12589061748

maybe your account or MagicMirrorOrg account are still using 22.04 as latest, they do it step by step, but will be a question of time ...

rejas pushed a commit that referenced this issue Jan 3, 2025
clientonly:
- did work only with xserver and `DISPLAY` env var
- now checks for `WAYLAND_DISPLAY` or `DISPLAY` env var before running
- if `WAYLAND_DISPLAY` is set now starts with wayland parameters

electron tests see #3676
@khassel
Copy link
Collaborator Author

khassel commented Jan 3, 2025

I removed the "ready (coming with next release)" label because

  • the tests are unrelated to releases
  • we still have to get the electron tests running on ubuntu-24.04

rejas pushed a commit that referenced this issue Jan 5, 2025
@khassel khassel closed this as completed Jan 12, 2025
@rejas rejas mentioned this issue Apr 1, 2025
rejas added a commit that referenced this issue Apr 1, 2025
Thanks to: @Developer-Incoming, @eltociear, @geraki, @khassel,
@KristjanESPERANTO, @MagMar94, @mixasgr, @n8many, @OWL4C, @rejas,
@savvadam, @sdetweil.

> ⚠️ This release needs nodejs version `v22.14.0 or higher`

### Added

- Add CSS support to the digital clock hour/minute/second through the
use of the classes `clock-hour-digital`, `clock-minute-digital`, and
`clock-second-digital`.
- Add Arabic (#3719) and Esperanto translation.
- Mark option `secondsColor` as deprecated in clock module.
- Add Greek translation to Alerts module.
- [newsfeed] Add specific ignoreOlderThan value (override) per feed
(#3360)
- [weather] Added option Humidity to hourly View
- [weather] Added option to hide hourly entries that are Zero, hiding
the entire column if empty.
- [updatenotification] Added option to iterate over modules directory
instead using modules defined in `config.js` (#3739)

### Changed

- [core] starting clientonly now checks for needed env var
`WAYLAND_DISPLAY` or `DISPLAY` and starts electron with needed
parameters (if both are set wayland is used) (#3677)
- [core] Optimize systeminformation calls and output (#3689)
- [core] Add issue templates for feature requests and bug reports
(#3695)
- [core] Adapt `start:x11:dev` script
- [weather/yr] The Yr weather provider now enforces a minimum
`updateInterval` of 600 000 ms (10 minutes) to comply with the terms of
service. If a lower value is set, it will be automatically increased to
this minimum.
- [weather/weatherflow] Fixed icons and added hourly support as well as
UV, precipitation, and location name support.
- [workflow] Run `sudo apt-get update` before installing packages to
avoid install errors
- [workflow] Exclude issues with label `ready (coming with next
release)` from stale job

### Removed

### Updated

- [core] Update requirements and dependencies including electron to v35
and formatting (#3593, #3693, #3717)
- [core] Update prettier, ESLint and simplify config
- Update Greek translation

### Fixed

- [calendar] Fix clipping events being broadcast (#3678)
- [tests] Fix Electron tests by running them under new github image
ubuntu-24.04, replace xserver with labwc, running under xserver and
labwc depending on env variable WAYLAND_DISPLAY is set (#3676)
- [calendar] Fix arrayed symbols, #3267, again, add testcase, add
testcase for #3678
- [weather] Fix wrong weatherCondition name in openmeteo provider which
lead to n/a icon (#3691)
- [core] Fix wrong port in log message when starting server only (#3696)
- [calendar] Fix NewYork event processed on system in Central timezone
shows wrong time #3701
- [weather/yr] The Yr weather provider is now able to recover from bad
API responses instead of freezing (#3296)
- [compliments] Fix evening events being shown during the day (#3727)
- [weather] Fixed minor spacing issues when using UV Index in Hourly
- [workflow] Fix command to run spellcheck

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Michael Teeuw <[email protected]>
Co-authored-by: Kristjan ESPERANTO <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Karsten Hassel <[email protected]>
Co-authored-by: Ross Younger <[email protected]>
Co-authored-by: Bugsounet - Cédric <[email protected]>
Co-authored-by: jkriegshauser <[email protected]>
Co-authored-by: illimarkangur <[email protected]>
Co-authored-by: sam detweiler <[email protected]>
Co-authored-by: vppencilsharpener <[email protected]>
Co-authored-by: Paranoid93 <[email protected]>
Co-authored-by: Brian O'Connor <[email protected]>
Co-authored-by: WallysWellies <[email protected]>
Co-authored-by: Jason Stieber <[email protected]>
Co-authored-by: jargordon <[email protected]>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: Ryan Williams <[email protected]>
Co-authored-by: Panagiotis Skias <[email protected]>
Co-authored-by: Marc Landis <[email protected]>
Co-authored-by: HeikoGr <[email protected]>
Co-authored-by: Pedro Lamas <[email protected]>
Co-authored-by: veeck <[email protected]>
Co-authored-by: Magnus <[email protected]>
Co-authored-by: Ikko Eltociear Ashimine <[email protected]>
Co-authored-by: DevIncomin <[email protected]>
Co-authored-by: Nathan <[email protected]>
Co-authored-by: mixasgr <[email protected]>
Co-authored-by: Savvas Adamtziloglou <[email protected]>
Co-authored-by: Konstantinos <[email protected]>
Co-authored-by: OWL4C <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

3 participants