Skip to content

Update dependency prek to v0.4.4#151

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/prek-0.x
Open

Update dependency prek to v0.4.4#151
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/prek-0.x

Conversation

@renovate

@renovate renovate Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
prek patch 0.4.30.4.4

Release Notes

j178/prek (prek)

v0.4.4

Compare Source

Released on 2026-06-04.

Highlights

0.4.4 makes prek run easier to watch and easier to slice.

Hook stream output now shows a small live preview under the running hook in the
progress UI. Long-running hooks no longer look stuck while they are producing
logs, and failed hooks are easier to diagnose because recent output is already
visible before the final result.

The new group selector lets a single config support different workflows. Tag
hooks with groups, then select or exclude those groups at run time:

repos:
  - repo: local
    hooks:
      - id: format
        name: Format Python
        language: system
        entry: ruff format
        groups: [format, ci]

      - id: lint
        name: Lint Python
        language: system
        entry: ruff check
        groups: [lint, ci]
prek run --all-files --group ci
prek run --all-files --no-group format

This is useful when local development, CI, slow validation, or project-specific
checks need different hook sets without splitting the config.

Enhancements
  • Add hook group filters to prek run (#​2141)
  • Delay hook output preview rendering (#​2140)
  • Stream hook output in progress UI (#​2136)
Bug fixes
  • Fix intent-to-add stash restore (#​2143)
Documentation
  • Document hook stage file input (#​2147)
Contributors

Configuration

📅 Schedule: (in timezone America/Chicago)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from gtbuchanan as a code owner June 7, 2026 08:39
@renovate renovate Bot added the dependencies label Jun 7, 2026
@renovate

renovate Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: mise.lock

mise ERROR error parsing config file: /tmp/renovate/repos/github/gtbuchanan/tooling/mise.toml
mise ERROR Config files in /tmp/renovate/repos/github/gtbuchanan/tooling/mise.toml are not trusted.
Trust them with `mise trust`. See https://mise.en.dev/cli/trust.html for more information.
mise ERROR Version: 2026.6.1 linux-x64 (2026-06-06)
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information

Command failed: mise lock prek
mise ERROR error parsing config file: /tmp/renovate/repos/github/gtbuchanan/tooling/mise.toml
mise ERROR Config files in /tmp/renovate/repos/github/gtbuchanan/tooling/mise.toml are not trusted.
Trust them with `mise trust`. See https://mise.en.dev/cli/trust.html for more information.
mise ERROR Version: 2026.6.1 linux-x64 (2026-06-06)
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information

@coderabbitai

coderabbitai Bot commented Jun 7, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

This PR updates the prek tool version in mise.toml from 0.4.3 to 0.4.4. The change is isolated to a single line in the tool configuration file, with no modifications to other configuration entries or task definitions.

Changes

Tool version update

Layer / File(s) Summary
prek tool version bump
mise.toml
The prek tool pin in the [tools] section is updated from version 0.4.3 to 0.4.4.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~1 minute

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: updating the prek dependency to v0.4.4, which matches the sole modification in the changeset.
Description check ✅ Passed The description is directly related to the changeset, providing detailed release notes, changelog information, and context for the prek dependency update.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@mise.toml`:
- Line 14: The lockfile is missing the newly bumped prek = "0.4.4" while
lockfile = true forces CI to use mise.lock; regenerate and commit an updated
lockfile by running `mise install` locally to update mise.lock so it includes
prek@0.4.4, verify the updated mise.lock contains the new prek entry, then add
and commit the updated mise.lock to the PR.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 863465ba-1768-4b17-8d0d-537b8f40538d

📥 Commits

Reviewing files that changed from the base of the PR and between 64eb2a7 and 859bffb.

📒 Files selected for processing (1)
  • mise.toml
📜 Review details
🧰 Additional context used
📓 Path-based instructions (1)
{package.json,mise.toml}

📄 CodeRabbit inference engine (AGENTS.md)

Use packageManager field in package.json to pin the pnpm version, setting idiomatic_version_file_enable_tools = ["pnpm"] in mise.toml to read the version from the same field

Files:

  • mise.toml
🧠 Learnings (4)
📓 Common learnings
Learnt from: CR
Repo: gtbuchanan/tooling PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-06-04T20:00:49.800Z
Learning: Applies to .github/workflows/*.yml : Every job that needs Node, pnpm, or prek must prepend `mise-setup` to install exact versions pinned in `mise.toml` / `mise.lock`
📚 Learning: 2026-06-04T20:00:49.800Z
Learnt from: CR
Repo: gtbuchanan/tooling PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-06-04T20:00:49.800Z
Learning: Run `pnpm build`, `pnpm test:slow`, and `pnpm test:e2e` with `--concurrency=1` in Termux/Android environments to avoid OOM

Applied to files:

  • mise.toml
📚 Learning: 2026-06-04T20:00:49.800Z
Learnt from: CR
Repo: gtbuchanan/tooling PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-06-04T20:00:49.800Z
Learning: Applies to .pre-commit-config.yaml : Define pre-commit hooks in `.pre-commit-config.yaml` and ensure prek is installed automatically via the `prepare` script on `pnpm install`

Applied to files:

  • mise.toml
📚 Learning: 2026-06-04T20:00:49.800Z
Learnt from: CR
Repo: gtbuchanan/tooling PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-06-04T20:00:49.800Z
Learning: Applies to .github/workflows/*.yml : Every job that needs Node, pnpm, or prek must prepend `mise-setup` to install exact versions pinned in `mise.toml` / `mise.lock`

Applied to files:

  • mise.toml
🪛 GitHub Actions: PR / 5_CI _ Config Check.txt
mise.toml

[warning] 1-1: mise WARN: Failed to resolve tool version list for prek: [~/work/tooling/tooling/mise.toml] prek@0.4.4 is not in the lockfile. Hint: Run mise install without --locked to update the lockfile.


[warning] 1-1: mise WARN: Failed to resolve tool version list for prek: [~/work/tooling/tooling/mise.toml] prek@0.4.4 is not in the lockfile. Hint: Run mise install without --locked to update the lockfile.


[error] 1-1: mise ERROR: Failed to install aqua:j178/prek@0.4.4: prek@0.4.4 is not in the lockfile. Hint: Run mise install without --locked to update the lockfile.

🪛 GitHub Actions: PR / CI _ Build
mise.toml

[warning] 1-1: mise WARN: Failed to resolve tool version list for prek: prek@0.4.4 is not in the lockfile. Hint: Run mise install without --locked to update the lockfile.


[error] 1-1: mise ERROR: Failed to install aqua:j178/prek@0.4.4: prek@0.4.4 is not in the lockfile. Hint: Run mise install without --locked to update the lockfile.

Comment thread mise.toml
[tools]
node = "24.16.0"
prek = "0.4.3"
prek = "0.4.4"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Critical: Update mise.lock to include prek@0.4.4.

The pipeline is failing because the lockfile does not contain the new prek version. When lockfile = true (line 6), CI runs mise install --locked, which requires all tool versions to exist in mise.lock.

🔧 Proposed fix

Run this command locally to regenerate the lockfile with prek@0.4.4:

mise install

Then commit the updated mise.lock file to this PR.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@mise.toml` at line 14, The lockfile is missing the newly bumped prek =
"0.4.4" while lockfile = true forces CI to use mise.lock; regenerate and commit
an updated lockfile by running `mise install` locally to update mise.lock so it
includes prek@0.4.4, verify the updated mise.lock contains the new prek entry,
then add and commit the updated mise.lock to the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants