Skip to content

Run UI CI on pull requests that change the desktop app - #35

Merged
renatoathaydes merged 3 commits into
mainfrom
claude/ui-ci-paths
Oct 23, 2026
Merged

renatoathaydes merged 3 commits into
mainfrom
claude/ui-ci-paths

Conversation

@renatoathaydes

@renatoathaydes renatoathaydes commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

ui-ci.yaml filtered pull requests on paths: desktop/, which only matches a file literally named desktop/, so the workflow has never run: GitHub has no runs of it, although 12 merged PRs changed files under desktop/. It now matches desktop/**, and the workflow file itself, so this PR runs it too.

With the workflow running, the problems already on main that it would have caught are fixed here, so it passes:

  • Lint (the 5 errors from the fork point, which AGENTS.md mentioned and no longer does):
    • ESLint ignores eslint.config.js. The typed TypeScript parser (parserOptions.project) can't parse it, since allowJs is off and the TypeScript project doesn't take JavaScript.
    • react-refresh/only-export-components is off for src/main.tsx, update-window/src/main.tsx and src/routes.tsx. They export no components (entry points, and the Routes and router constants), so when they change Vite reloads the page instead of refreshing components in place, which is fine for them.
    • An unused @tauri-apps/plugin-log import is removed from src/client/command.ts.
  • Formatting: Prettier on the 9 files yarn format:check flagged; only whitespace and parentheses change. src/client/command.ts's formatting is in the lint commit, with its import removal; the other 8 are in the Prettier commit.

Testing

Locally (Node 22, yarn 1.22.19), after a fresh yarn install --frozen-lockfile: yarn lint:ci, yarn format:check, yarn types:check and yarn build all pass; before these changes, lint and format failed.

🤖 Generated with Claude Code

renatoathaydes and others added 3 commits October 23, 2026 11:57
The paths filter was `desktop/`, which matches no file, so the workflow
never ran on a pull request. Match everything under desktop/, and the
workflow itself, as the other workflows do.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- ESLint ignores eslint.config.js, which the TypeScript project that the
  typed parser uses doesn't include, so it failed to parse it.
- react-refresh/only-export-components is off for the entry points and
  the router module, which export no components.
- Remove an unused import from src/client/command.ts.

These 5 errors were there at the fork point, so AGENTS.md no longer
mentions them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Nine files weren't formatted, so `yarn format:check` failed. Only
whitespace and parentheses change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@renatoathaydes
renatoathaydes merged commit 0ccae74 into main Oct 23, 2026
2 checks passed
@renatoathaydes
renatoathaydes deleted the claude/ui-ci-paths branch October 23, 2026 10:02
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