Skip to content

🐛 [fix] Forward Flatpak smoke arguments and share diagnostics - #220

Merged
Nick2bad4u merged 1 commit into
mainfrom
fix/flatpak-smoke-launch
Oct 8, 2026
Merged

Nick2bad4u merged 1 commit into
mainfrom
fix/flatpak-smoke-launch

Conversation

@Nick2bad4u

@Nick2bad4u Nick2bad4u commented Oct 8, 2026 •

Copy link
Copy Markdown
Owner

Description

The Flatpak bundle built and installed, but its smoke launcher dropped --ffv-smoke-test and all other harness arguments. Electron performed an ordinary startup, leaving the harness to time out. Forward the arguments and place diagnostics under the runner temp directory shared by the host and Flatpak sandbox; Flatpak reserves its own /tmp even with the existing host filesystem permission.

  • Bug fix

Related Issues

Follow-up to #218 and the v30.0.3 Flatpak run: https://github.com/Nick2bad4u/FitFileViewer/actions/runs/37726637303

Changes Made

  • Forward "$@" through the generated Flatpak smoke launcher.
  • Set FFV_SMOKE_DIAGNOSTICS_DIRECTORY to the shared runner temp directory.
  • Always retain smoke diagnostics for 14 days.
  • Preserve the existing 15-second startup deadline.

Testing

  • actionlint -oneline .github/workflows/flatpak-build.yml — passed.
  • Prettier checking and git diff --check — passed.
  • Reviewed argument forwarding through the existing Flatpak manifest launcher and the host/sandbox report path.
  • Native Flatpak workflow — passed on Ubuntu.
  • Installed bundle: visible initialized renderer, version 30.0.3, 1,285 FIT records, one session, and 58 route elements — passed within the unchanged 15-second startup deadline.
  • Retained the smoke JSON and screenshot; visually verified the route display.
  • Published the Flatpak bundle and ZIP to v30.0.3; all 50 release-note download links resolve to uploaded assets.
  • Downloaded the public Flatpak and ZIP: their SHA-256 digests match GitHub metadata, and both bundle copies match the exact CI artifact that passed the installed-app smoke.

Compatibility

This fixes the Linux Flatpak workflow's integration with the existing packaged smoke harness.

Checklist

  • Followed repository formatting and commit-message conventions.
  • Reviewed the complete workflow diff.
  • Preserved the existing smoke assertions and deadline.

@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Greetings, thanks for opening a pull request, I'll look when I can.

@sonarqubecloud

sonarqubecloud Bot commented Oct 8, 2026

Copy link
Copy Markdown

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@Nick2bad4u
Nick2bad4u merged commit 91278fb into main Oct 8, 2026
21 checks passed
@Nick2bad4u
Nick2bad4u deleted the fix/flatpak-smoke-launch branch October 8, 2026 04:52
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.

1 participant