Skip to content

chore(ci): run linting on all files in CI#196

Merged
jdx merged 1 commit intomainfrom
fix-ci-lint-all
Jan 28, 2026
Merged

chore(ci): run linting on all files in CI#196
jdx merged 1 commit intomainfrom
fix-ci-lint-all

Conversation

@jdx
Copy link
Owner

@jdx jdx commented Jan 28, 2026

Summary

  • Add --all flag to hk check and hk fix in mise tasks
  • Without this flag, hk only runs on staged files, causing CI to skip linting entirely
  • Fixes clippy warning that slipped through due to this issue

🤖 Generated with Claude Code


Note

Enables full-repo linting in CI and addresses a minor lint in the CLI.

  • Update mise.toml to run hk check --all and hk fix --all so CI linting covers all files
  • Tweak Stop::run argument validation in src/cli/stop.rs to satisfy clippy (logical equivalence)
  • Clarify Conventional Commits in CRUSH.md with pitchfork-specific feat/fix scope and add chore(ci)/chore(deps) examples

Written by Cursor Bugbot for commit 90cc5d1. This will update automatically on new commits. Configure here.

Copilot AI review requested due to automatic review settings January 28, 2026 14:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a CI linting configuration issue where the linting tasks were only running on staged files instead of all files. The PR adds the --all flag to both hk check and hk fix commands in the mise task configuration, ensuring comprehensive linting in CI. Additionally, it fixes a clippy warning that was able to slip through due to this linting gap.

Changes:

  • Added --all flag to hk check and hk fix commands in mise.toml
  • Fixed a clippy warning in stop.rs by simplifying a boolean expression

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
mise.toml Updated lint and lint-fix tasks to run on all files instead of only staged files
src/cli/stop.rs Simplified boolean logic to address clippy warning

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

hk check/fix without --all only runs on staged files, which means
CI was skipping lint checks entirely. This also fixes a clippy
warning that slipped through.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@jdx jdx force-pushed the fix-ci-lint-all branch from b23b780 to 90cc5d1 Compare January 28, 2026 14:20
@jdx jdx changed the title fix(ci): run linting on all files in CI chore(ci): run linting on all files in CI Jan 28, 2026
@jdx jdx enabled auto-merge (squash) January 28, 2026 14:20
@jdx jdx merged commit c369381 into main Jan 28, 2026
4 checks passed
@jdx jdx deleted the fix-ci-lint-all branch January 28, 2026 14:23
@jdx jdx mentioned this pull request Jan 28, 2026
jdx added a commit that referenced this pull request Feb 1, 2026
## 🤖 New release

* `pitchfork-cli`: 1.2.0 -> 1.3.0

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

## [1.3.0](v1.2.0...v1.3.0) -
2026-02-01

### Added

- *(list)* show available daemons and align logics with TUI
([#206](#206))
- *(logs)* support `--since <humantime>`, use pager by default
([#204](#204))
- support `pitchfork.local.toml`
([#198](#198))
- impl `stop --all` ([#195](#195))
- beautify web ui ([#191](#191))
- add ready_cmd option
([#187](#187))

### Fixed

- refactor the logic of stopping a daemon and add tests
([#192](#192))

### Other

- re-order code to suit for multi-frontend structure
([#197](#197))
- *(deps)* update rust crate xx to v2.3.1
([#203](#203))
- *(deps)* update rust crate clap to v4.5.56
([#202](#202))
- *(ci)* run linting on all files in CI
([#196](#196))
- Update README.md logo
([#184](#184))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Low risk: this PR only updates version numbers and release notes/docs,
with no runtime code changes.
> 
> **Overview**
> Releases **v1.3.0** by bumping the crate version from `1.2.0` to
`1.3.0` (including `Cargo.lock`) and updating the
`pitchfork.usage.kdl`/generated CLI docs to match.
> 
> Updates `CHANGELOG.md` with the `1.3.0` release notes and links to the
included feature/fix PRs.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
d278b90. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

2 participants