CI: fix trailing-whitespace failure and check the whole tree #3

Merged
aporter merged 1 commit from fix/ci-whitespace into main 2026-11-02 11:50:29 +10:00
Owner

CI build failed on every run since #1 at Check whitespace: testing/virtual-streamdeck/vsd-prefs.ps1:8: trailing whitespace. (exit 2). All earlier steps (typecheck, tests, build, validate, pack, package contents) passed.

  • Remove the trailing space.
  • The step ran git show --check HEAD, which only checks HEAD's own diff and is unreliable on merge commits. It now diffs the empty tree against HEAD, so every tracked file is checked (works with depth-1 checkout).

Checks: npm run check (37/37 tests, validation OK), whole-tree git diff --check clean, gitleaks clean.

Review-gate: codex gpt-6.1-sol ship (no blocking items; one review for plan and diff, as the change is trivial).

🤖 Generated with Claude Code

CI `build` failed on every run since #1 at **Check whitespace**: `testing/virtual-streamdeck/vsd-prefs.ps1:8: trailing whitespace.` (exit 2). All earlier steps (typecheck, tests, build, validate, pack, package contents) passed. - Remove the trailing space. - The step ran `git show --check HEAD`, which only checks HEAD's own diff and is unreliable on merge commits. It now diffs the empty tree against HEAD, so every tracked file is checked (works with depth-1 checkout). Checks: `npm run check` (37/37 tests, validation OK), whole-tree `git diff --check` clean, gitleaks clean. Review-gate: codex gpt-6.1-sol ship (no blocking items; one review for plan and diff, as the change is trivial). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
CI: fix trailing-whitespace failure and check the whole tree
All checks were successful
ci / secrets (pull_request) Successful in 6s
ci / build (pull_request) Successful in 23s
e79d3b8cb9
The build job failed at "Check whitespace" on a trailing space in
testing/virtual-streamdeck/vsd-prefs.ps1:8. The step used
`git show --check HEAD`, which only checks HEAD's own diff and behaves
inconsistently on merge commits. Diff the empty tree against HEAD instead
so every tracked file is checked.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
aporter deleted branch fix/ci-whitespace 2026-11-02 11:50:29 +10:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aporter/jwzoomswitcher!3
No description provided.