You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Corrected. The first version of this issue claimed the appstream mode reported metainfo-missing-screenshots and therefore had to wait alongside repo. That was wrong, and Codex caught it on #614. Both findings come from repo; appstream is clean and now gates CI. Only repo is deferred.
What is missing
scripts/flathub_builder_lint.py drives all three of flatpak-builder-lint's modes. CI now gates on two:
appstream and repo are different checks despite both mentioning screenshots: appstream reads the catalogue appstreamcli compose generated, repo reads the exported OSTree Flathub would publish. Only the second reports anything.
Why repo is not wired up yet
Not because the tooling is unfinished. Because it reports real submission blockers whose fix is to take screenshots (#437), not to change anything in the linting.
Wiring it in before the screenshots exist leaves two options, and both are worse than waiting:
A permanently red job. It trains everyone to ignore the check, and buries any genuinely new finding underneath the one everybody already knows about.
An exception.flatpak/flathub-lint-exceptions.json is for a finding a person judged wrong or unavoidable for Linthra. A finding that is simply not fixed yet belongs in its issue. [Flathub] Submit Linthra to Flathub #456 also requires that file to be empty at submission, so an entry would have to come straight back out.
Add --repo flatpak/repo-ci to the existing "Lint the AppStream catalogue" step in .github/workflows/flatpak-build.yml, and rename the step to cover both.
It already sits after "Install and launch packaged Flatpak", which is deliberate and should stay: a failed step ends the job, so a lint ahead of the launch smoke stops the package being installed and launched at all. There is a guardrail asserting that order.
Delete the the repo mode waits for the screenshots that let it pass guardrail in test/tooling/flathub_metadata_guardrails_test.dart.
Update the "What CI gates on today" table in docs/flathub-builder-lint.md.
Acceptance criteria
CI gates on all three linter modes.
The launch smoke still runs before the lint, asserted by a test.
flatpak/flathub-lint-exceptions.json is still empty.
docs/flathub-builder-lint.md no longer describes any mode as deferred.
Follow-up to #449 (PR #614). Blocked on #437.
What is missing
scripts/flathub_builder_lint.pydrives all three offlatpak-builder-lint's modes. CI now gates on two:manifestappstreamrepometainfo-missing-screenshots,appstream-screenshots-not-mirrored-in-ostreeappstreamandrepoare different checks despite both mentioning screenshots:appstreamreads the catalogueappstreamcli composegenerated,reporeads the exported OSTree Flathub would publish. Only the second reports anything.Why
repois not wired up yetNot because the tooling is unfinished. Because it reports real submission blockers whose fix is to take screenshots (#437), not to change anything in the linting.
Wiring it in before the screenshots exist leaves two options, and both are worse than waiting:
flatpak/flathub-lint-exceptions.jsonis for a finding a person judged wrong or unavoidable for Linthra. A finding that is simply not fixed yet belongs in its issue. [Flathub] Submit Linthra to Flathub #456 also requires that file to be empty at submission, so an entry would have to come straight back out.What to do
Land [Flatpak] Add Flathub-quality screenshots #437 (screenshots, per
docs/flathub-screenshots.md) and the<screenshots>block in the metainfo.Confirm the mode is clean:
Add
--repo flatpak/repo-cito the existing "Lint the AppStream catalogue" step in.github/workflows/flatpak-build.yml, and rename the step to cover both.It already sits after "Install and launch packaged Flatpak", which is deliberate and should stay: a failed step ends the job, so a lint ahead of the launch smoke stops the package being installed and launched at all. There is a guardrail asserting that order.
Delete the
the repo mode waits for the screenshots that let it passguardrail intest/tooling/flathub_metadata_guardrails_test.dart.Update the "What CI gates on today" table in
docs/flathub-builder-lint.md.Acceptance criteria
flatpak/flathub-lint-exceptions.jsonis still empty.docs/flathub-builder-lint.mdno longer describes any mode as deferred.🤖 Generated with Claude Code
https://claude.ai/code/session_01QLDN6yzLpSdXoFHYJNqyyp