Skip to content

ci(desktop): make lint-and-test an always-reporting gate job - #665

Merged
skevetter merged 1 commit into
mainfrom
ci/require-desktop-lint-and-test
Jul 14, 2026
Merged

skevetter merged 1 commit into
mainfrom
ci/require-desktop-lint-and-test

Conversation

@skevetter

Copy link
Copy Markdown
Contributor

Summary

Restructures Desktop CI so lint-and-test can be added to the branch ruleset as a required status check without blocking PRs that don't touch the desktop app.

Previously the workflow used a paths: trigger filter, so lint-and-test only ran on desktop/** changes. A required status check that never runs blocks a PR indefinitely ("waiting for status"), so the check couldn't safely be made required as-is.

Changes

  • Move path filtering from the workflow trigger into a changes job (dorny/paths-filter), mirroring the existing pattern in pr-ci.yml.
  • lint-and-test now runs on every PR and reports a status. Its steps are conditioned on needs.changes.outputs.desktop == 'true', so it succeeds instantly when the desktop app is untouched and runs the real type-check + unit tests when it isn't.
  • build-desktop and build-flatpak remain gated behind the desktop filter.

Follow-up

Once this merges, lint-and-test will be added to the default repository ruleset's required status checks.

@netlify

netlify Bot commented Jul 14, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for devsydev canceled.

Name Link
🔨 Latest commit cc1c235
🔍 Latest deploy log https://app.netlify.com/projects/devsydev/deploys/6a56630e39030f000826c2f1

@coderabbitai

coderabbitai Bot commented Jul 14, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0c55f484-5929-4165-a8fc-a46b6ac71645

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@netlify

netlify Bot commented Jul 14, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for images-devsy-sh canceled.

Name Link
🔨 Latest commit cc1c235
🔍 Latest deploy log https://app.netlify.com/projects/images-devsy-sh/deploys/6a56630e3ddcfc0008ffca7f

@skevetter
skevetter force-pushed the ci/require-desktop-lint-and-test branch 3 times, most recently from a6ded54 to 5d0961c Compare July 14, 2026 16:07
Split path filtering out of the workflow trigger and into a 'changes'
job so Desktop CI runs on every PR. lint-and-test now always reports a
status, skipping its steps when desktop/** is untouched, so it can be
added to the branch ruleset as a required check without blocking
non-desktop PRs. build-desktop and build-flatpak stay gated on the
desktop filter.
@skevetter
skevetter force-pushed the ci/require-desktop-lint-and-test branch from 5d0961c to cc1c235 Compare July 14, 2026 16:25
@skevetter
skevetter merged commit f2d3e1c into main Jul 14, 2026
28 checks passed
@skevetter
skevetter deleted the ci/require-desktop-lint-and-test branch July 14, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant