Skip to content

fix: adapt scanner pruning for jwalk 0.9 API - #89

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/ci-autofix-automation-21f8
Draft

fix: adapt scanner pruning for jwalk 0.9 API#89
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/ci-autofix-automation-21f8

Conversation

@cursor

@cursor cursor Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes CI on Dependabot PR #88 by updating the directory-prune callback for jwalk 0.9 (read_children_pathread_children) and bumping the dependency.

Changed files

  • src-tauri/Cargo.tomljwalk 0.8 → 0.9
  • src-tauri/src/scanner.rs — use read_children = None when pruning dev/cache dirs
  • Cargo.lock — lockfile sync for jwalk 0.9.0

Testing performed

  • cargo test --workspace (not run in Ubuntu cloud agent; macOS CI is authoritative)
  • Manual run on macOS / Apple Silicon (Dry mode first)

Safety notes

Scan pruning behavior unchanged: dev/cache directories are still skipped during walk; exact-hash dedup, Dry-default, and quarantine-never-delete contracts preserved.

Risk

Low — dependency bump plus one-field API rename in existing prune logic.

Verification

CI quality workflow on this PR (macOS).

Unverified paths

Local cargo check on Linux (toolchain too old for lockfile deps); macOS CI proves compile.

Open in Web View Automation 

jwalk 0.9 renamed DirEntry.read_children_path to read_children; update
the directory-prune callback and bump the dependency so Dependabot and
CI compile cleanly.

Co-authored-by: k2gwv6rzf6 <k2gwv6rzf6@privaterelay.appleid.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.

1 participant