Skip to content

Skip file type detection for unmatched paths - #2686

Closed
j178 wants to merge 1 commit into
masterfrom
filter-tags
Closed

Skip file type detection for unmatched paths#2686
j178 wants to merge 1 commit into
masterfrom
filter-tags

Conversation

@j178

@j178 j178 commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Runs currently identify file types even for excluded paths. Limit identification to files that selected hooks may use, preserving pre-hook tag snapshots and orphan ownership. Unconditional hooks that take no filenames need no tag matching.

@j178 j178 added the performance Performance improvements label Sep 5, 2026 — with ChatGPT Codex Connector
@codecov

codecov Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 99.42857% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 94.15%. Comparing base (9754f65) to head (9ea77ee).

Files with missing lines Patch % Lines
crates/prek/src/cli/run/filter.rs 99.40% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2686      +/-   ##
==========================================
+ Coverage   94.11%   94.15%   +0.03%     
==========================================
  Files         141      141              
  Lines       30057    30223     +166     
==========================================
+ Hits        28287    28455     +168     
+ Misses       1770     1768       -2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@j178 j178 closed this Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Performance improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant