Repository navigation
fix(linux): log the AppImage launcher and tray host result on every path - #7156
Merged
kovtcharov-amd merged 2 commits intoNov 11, 2026
Merged
Conversation
The main log said nothing when the launcher was already current, kept, or package-installed, or when a tray host was found, so a Fedora run of the close path could not show which branch GAIA took. Refs amd#7138
1 of 4 tasks
Contributor
|
Verdict: Approve This adds two log lines so a Fedora run can show which path GAIA took when ✕ is clicked: whether a tray icon host was found, and what happened to the AppImage launcher. Neither check stays silent on any outcome any more. Nothing the user sees or does changes, and the logging is correct on every path I traced. Real-world evidenceN/A: the evidence harness produced no bundle for this change, and a packaged AppImage can't run on this runner. The verdict rests on static review and the Jest test the PR adds. As the PR description says, the real proof is the Fedora GNOME 🔍 Technical detailsIssues found None blocking.
Checks run
Strengths
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Before this change, the Fedora run that #7138 asks for couldn't show which path GAIA took when ✕ was clicked. The main log stayed silent when a tray host was found, and also when the AppImage launcher was already current, was left alone, or came from a package install. The tester would have had to rebuild that state by hand. Now both checks write one line on every outcome, so the log alone tells us whether ✕ should hide or minimize, and why.
This only adds logging; what ✕ does is unchanged. The issue stays open until the real Fedora run is attached.
Refs #7138
Replaces #7141, which GitHub Actions opened, so the full CI never ran on it. Same commit.
Test plan
npx jestintests/electronpasses (61 suites, including a new test that logs both tray-host answers). Also run on Fedora 44 merged with fix(linux): show GAIA once in the app grid and open its window on Wayland #7149 and fix(desktop): don't report a renderer's clean exit as a crash #7155: 62 suites, 1,592 tests passpython util/lint.py --allpasses. Two Python checks (import validation, tool descriptions) failed in this job, on files this change doesn't touch.python -m pytest tests/unit/ -xpasses. It couldn't run in this job because a dev dependency (responses) wasn't installed. This change has no Python.grep -E '\[tray\]|AppImage launcher' ~/.gaia/electron-main.log. Expect oneAppImage launcher <status>: <path>line and one[tray]line.🔍 Technical details
main.cjs: logslauncher.statusandentryfor every status exceptnot-appimage. Before, onlywrittenwas logged;current,kept-existingandpackage-installedwere silent.services/tray-manager.cjssetHost: logs when a host is available too. The wording doesn't claim that ✕ hides, because that still depends on the minimize-to-tray setting.