Skip to content

Switch from pre-commit to prek #14093

Open

Activity

  1. github-actions commented on Sep 9, 2026

    @github-actions

    🎯 Triage report

    Maintainer proposes replacing pre-commit with prek (a Rust reimplementation) for the project's code-quality/pre-commit tooling, citing adoption by other Apache projects (Airflow) and example workflows from other ASF repos. This is a build/tooling improvement proposal, not a functional bug.

    📊 Assessment

    Dimension Value Reasoning
    Type type:improvement Proposes swapping a dev-tooling dependency, no user-facing behavior change
    Component component:build Affects CI/pre-commit build tooling configuration
    Severity n/a Not a bug
    Labels type:improvement, component:build See above
    Coding agent Needs more info Change is fairly self-contained (swap tool + workflow config, per linked examples), but requires a maintainer decision on whether to adopt prek before implementation; not purely mechanical

    🔗 Similar issues

    No similar open issues found via search. References PRs #8491 and #12836 for related context (linked by the author).

    💡 Notes and suggestions

    The issue includes concrete reference implementations from apache/lucenenet and apache/sedona (PREK.md, Makefile, workflow YAML) that could be adapted directly. Since prek claims to be a drop-in replacement for pre-commit, the main decision point for maintainers is adoption policy rather than technical feasibility.

    Generated by Daily Issue Triage · sonnet50 95.2K · ◷

    Add this agentic workflows to your repo

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/daily-issue-triage.md@d7c1dc4b72b00607a67caaffdcc216cb64379cf9
    
  2. added theissue type on Sep 10, 2026
  3. added this to the 24.0 milestone on Sep 10, 2026
  4. RosiKyu commented on Sep 30, 2026

    @RosiKyu
    Collaborator

    @jbampton, are you planning to submit a PR to address this for the upcoming 24.0 release?

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions