fix(ci): repair Flatpak gh-pages publish (was silently failing) + autostart doc#140
Merged
Conversation
flatpak install can't enable autostart (the sandbox can't write the host autostart dir), so give a dedicated Flatpak subsection: use the desktop's autostart settings, or a host ~/.config/autostart/*.desktop with 'flatpak run com.getpcpanel.PCPanel quiet'. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CjZYH14th2uGJAMPRRpbsf
The Flatpak job silently failed and never updated gh-pages: cloning the repo
back from the gh-pages branch drops OSTree's empty dirs (git doesn't store
empty directories), so 'ostree prune --refs-only' died with
'opendir(refs/remotes): No such file or directory'. Because the build step was
continue-on-error, the job showed green and the publish step was skipped by its
outcome=='success' guard — so gh-pages stayed frozen at the first run (stale
.flatpakref, bare landing page).
- Recreate site/repo/refs/{heads,remotes,mirrors} and tmp after cloning.
- Make failures visible: give the publish step an id and add a final step that
marks the JOB red when the build or publish fails. Job-level continue-on-error
still keeps the release unblocked (.deb + AppImage ship regardless).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CjZYH14th2uGJAMPRRpbsf
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.
The Flatpak job was silently failing (masked by continue-on-error) so gh-pages was frozen at the first run — stale .flatpakref (the install 404) and bare landing page. Root cause: git drops OSTree’s empty dirs on the gh-pages round-trip, so
ostree prunedied onopendir(refs/remotes). Recreate those dirs; also make a Flatpak/Pages failure mark the job red instead of green.Also: document Flatpak autostart in linux.md.
AI-generated; the fix is a direct response to the exact CI error. Verified end-to-end by the following build.
This pull request was made by an AI without any human intervention
🤖 Generated with Claude Code
https://claude.ai/code/session_01CjZYH14th2uGJAMPRRpbsf