Repository navigation
fix(linux): log the AppImage launcher and tray host result on every path - #7141
Closed
github-actions[bot] wants to merge 1 commit into
Closed
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
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 #7138
1 of 4 tasks
Contributor
|
Replaced by #7156: the same commit, opened from a fork so the full CI runs. GitHub Actions opened this one, so only CodeQL ran here. This one can be closed. |
Collaborator
|
Closing as a duplicate of #7156, which carries the same commit and runs the full CI. |
kovtcharov
added a commit
to kovtcharov/gaia
that referenced
this pull request
Nov 11, 2026
…ath (amd#7156) Before this change, the Fedora run that amd#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 amd#7138 Replaces amd#7141, which GitHub Actions opened, so the full CI never ran on it. Same commit. ## Test plan - [x] `npx jest` in `tests/electron` passes (61 suites, including a new test that logs both tray-host answers). Also run on Fedora 44 merged with amd#7149 and amd#7155: 62 suites, 1,592 tests pass - [ ] `python util/lint.py --all` passes. Two Python checks (import validation, tool descriptions) failed in this job, on files this change doesn't touch. - [ ] `python -m pytest tests/unit/ -x` passes. It couldn't run in this job because a dev dependency (`responses`) wasn't installed. This change has no Python. - [ ] On Fedora Workstation (GNOME, extensions off), start the AppImage, then run `grep -E '\[tray\]|AppImage launcher' ~/.gaia/electron-main.log`. Expect one `AppImage launcher <status>: <path>` line and one `[tray]` line. >⚠️ **Needs manual validation:** the automated checks confirm there's no regression, but they can't run a packaged AppImage. A maintainer should run the last step on a real Fedora GNOME desktop before merging. <details> <summary>🔍 Technical details</summary> - `main.cjs`: logs `launcher.status` and `entry` for every status except `not-appimage`. Before, only `written` was logged; `current`, `kept-existing` and `package-installed` were silent. - `services/tray-manager.cjs` `setHost`: logs when a host is available too. The wording doesn't claim that ✕ hides, because that still depends on the minimize-to-tray setting. - This is the "self-reporting" follow-up suggested in the issue's first comment. </details> Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
kovtcharov-amd
added a commit
to kovtcharov/gaia
that referenced
this pull request
Nov 11, 2026
…h that misses it The `--search "autofix/issue-<N> in:head"` check returns nothing even when the draft exists (issue amd#7138 has draft amd#7141 on autofix/issue-7138, and the search finds neither), so a fix session would open a second PR. `--head autofix/issue-<N>` is the filter the auto-fix workflow itself uses.
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
Test plan
npx jestintests/electronpasses (61 suites, including a new test that logs both tray-host answers)python 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.