Skip to content

pipeline: incremental reindex still walks excluded trees in pkgmap (residue of #792) #804

Description

@DeusData

Residue found during the #793 review (which fixes the FULL-index path). pipeline_incremental.c's extract ctx does not carry excluded_dirs, so on any incremental run with changed files, cbm_parallel_extract → merge_pkg_entries → cbm_pkgmap_scan_repo walks the repo unexcluded — the #792 15-minute walk survives on real incremental reindexes (the reported 0.4s 'incremental no-op' early-outs before extraction, masking it).

Fix shape: thread the pipeline's excluded_dirs into the incremental ctx (same borrow #793 added for the full path). Blocked-by/after: #793.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority/highNeeds near-term maintainer attention; high-impact bug, regression, safety issue, or release blocker.stability/performanceServer crashes, OOM, hangs, high CPU/memory

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions