build: publish Linux Flatpak, deb, and rpm artifacts#492
Conversation
Restore Tauri Debian and RPM assets while adding Flatpak outputs for both desktop variants so Linux users have package-manager and sandboxed alternatives to AppImage. Electron Flatpak packaging now installs the required Freedesktop runtime in CI, and Tauri Flatpak packaging uses a generated manifest around the existing release binary and packaged resources. The Linux dependency list also includes xdg-utils because Tauri AppImage bundling requires xdg-open. Docker-based Ubuntu 24.04 reproductions verified Electron zip/AppImage creation and Tauri AppImage/deb/rpm creation. Local Docker could not complete Flatpak builds because bubblewrap cannot create/seccomp namespaces in this host container environment, which should not apply to native GitHub runners.
|
I want you to perform the gatekeeper checks for latest PR state check for regressions |
|
Understood request: perform a strict gatekeeper review of the latest PR state, looking for regressions and better implementations. Assumption: this is review-only; I did not change code. Findings
Validation Performed
Validation Not Completed
Gatekeeper verdict: do not merge until at least findings 1 and 2 are addressed or disproven with CI evidence that installs and launches the exact generated Flatpak artifacts. -- |
Add explicit Electron Linux artifact gating so the release job fails if Flatpak output is missing rather than silently uploading only zip/AppImage assets. Reuse the existing Tauri Linux desktop metadata for Flatpak packaging to avoid drift across deb, rpm, AppImage, and Flatpak launchers. The workflow now installs the generated Tauri Flatpak and runs ldd inside the sandbox to catch missing runtime libraries before upload.
|
PR builds are available as GitHub Actions artifacts: https://github.com/NeuralNomadsAI/CodeNomad/actions/runs/26214382534 Artifacts expire in 7 days.
|
|
PR builds are available as GitHub Actions artifacts: https://github.com/NeuralNomadsAI/CodeNomad/actions/runs/26214736258 Artifacts expire in 7 days.
|
|
again |
|
Understood request: Findings
Validation Performed
Gatekeeper verdict: still do not merge until the latest SHA has successful Linux artifacts visible from CI, and the Flatpak desktop metadata issue is fixed or explicitly justified. -- |
Move Electron Flatpak packaging out of electron-builder's bundled flatpak target and into a repository-controlled flatpak-builder manifest generated from the linux-unpacked app. This keeps the zip and AppImage build path unchanged while producing an explicit .flatpak artifact after electron-builder completes. Bump the Tauri Flatpak runtime from GNOME 46 to GNOME 47 so the Ubuntu 24.04-built binary can satisfy its GLIBC_2.39 runtime dependency during the CI install smoke check. Validation: node --check for both Flatpak scripts, JSON parse for the Electron package, Ruby YAML parse for the workflow, and git diff --check.
|
PR builds are available as GitHub Actions artifacts: https://github.com/NeuralNomadsAI/CodeNomad/actions/runs/26217525781 Artifacts expire in 7 days.
|
Install the existing 512x512 PWA icon into the Electron Flatpak hicolor 512x512 location instead of the 1024x1024 application icon. Flatpak export validates icon dimensions against the target icon directory and rejected the previous artifact. Validation: node --check packages/electron-app/scripts/build-flatpak.js and git diff --check.
|
PR builds are available as GitHub Actions artifacts: https://github.com/NeuralNomadsAI/CodeNomad/actions/runs/26218587088 Artifacts expire in 7 days.
|
Use the Tauri package version when the reusable PR build workflow does not provide VERSION. PR validation intentionally leaves release version inputs empty, but artifact filenames should still include the package version rather than producing names like CodeNomad-Tauri-linux-x64-.flatpak. Validation: Ruby YAML parse for the workflow and git diff --check.
|
PR builds are available as GitHub Actions artifacts: https://github.com/NeuralNomadsAI/CodeNomad/actions/runs/26353839603 Artifacts expire in 7 days.
|
|
@shantur in my opinion maybe just .deb and .AppImage are enough |
Summary
.deband.rpmrelease artifacts alongside AppImage and zip outputs.Validation
packages/tauri-app/scripts/build-flatpak.jsandscripts/desktop-server-resources.cjswithnode --check..github/workflows/build-and-upload.ymlas YAML.bwrapnamespace restrictions.Notes
flatpak-builder/bubblewrapcould not create the required namespaces/seccomp filters in this host container environment. Native GitHub Ubuntu runners should not have that Docker sandbox limitation, but CI should confirm.