-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
fix: Prepare CI to properly run Electron on ubuntu-latest (24.04) #34238
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
68c7499
fix: Prepare CI to properly run Electron on ubuntu-latest (24.04)
agg23 5ad5d1a
Try built-in Playwright Chromium deps installation for Ubuntu
agg23 ae8cdd7
Add debugging information
agg23 9e5cb11
SSH test
agg23 58e6d5a
Add AppArmor fix
agg23 9b269e8
Try without apt install
agg23 1a7ec58
Remove other apt install
agg23 b210a11
Centralize Ubuntu Electron fix
agg23 c7655eb
Try adding shell specification
agg23 d27cd84
Move before npm ci
agg23 f44017c
Only run AppArmor command if Ubuntu 24
agg23 49d2f3a
Fix VSCode extension
agg23 6c49741
Remove change to VSCode extension
agg23 4c9a01b
Make Electron fix selective to Electron tests
agg23 013e5ec
Add missed installation test fix
agg23 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this actually help? We already run electron with
--no-sandbox
which is recommended as alternative solution in the internet. In github codespaces changing this option didn't have any effect on the tests for me.Update: it did help in the codespaces, but not in 24.04 docker.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not that it's relevant here, but what error were you seeing in Docker? If it's not the same image as the CI machines there may be additional dependencies that need to be installed.