Skip to content

Fix: Redirect spammy electron stderr to a debug sink #32188

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

Draft
wants to merge 15 commits into
base: develop
Choose a base branch
from

Conversation

cacieprins
Copy link
Contributor

Additional details

Rather than maintaining an ever-growing list of regular expressions to filter electron stderr output, I've opted to provide a holistic approach:

The errors lib now exports a few utility transform streams, and an error logging function. When the utility streams are used in conjunction with the tags that are exported alongside the error logging function, parent processes can effectively split "first party" stderr output from "third party" stderr output.

This is a draft PR. Unit tests, removing obsolete tests, and full migration from console.error -> logError are pending vs. confirmation of approach.

Steps to test

How has the user experience changed?

PR Tasks

@cacieprins cacieprins changed the base branch from develop to release/15.0.0 August 8, 2025 18:12
@cacieprins cacieprins marked this pull request as draft August 8, 2025 18:13
Copy link

cypress bot commented Aug 11, 2025

cypress    Run #64486

Run Properties:  status check passed Passed #64486  •  git commit 7d9898ea34: rm new err log from packherd-quire
Project cypress
Branch Review fix/audio-error-stdout
Run status status check passed Passed #64486
Run duration 20m 03s
Commit git commit 7d9898ea34: rm new err log from packherd-quire
Committer Cacie Prins
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 12
Tests that did not run due to a developer annotating a test with .skip  Pending 1102
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 26527
View all changes introduced in this branch ↗︎
UI Coverage  44.86%
  Untested elements 188  
  Tested elements 157  
Accessibility  97.71%
  Failed rules  4 critical   8 serious   2 moderate   2 minor
  Failed elements 110  

@jennifer-shehane jennifer-shehane changed the base branch from release/15.0.0 to develop August 11, 2025 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

15.0.0: Error: sysctlbyname for kern.hv_vmm_present failed with status -1 / ALSA lib errors
1 participant