Skip to content

fix(extract): honor persisted excludes on re-extract#2028

Open
oleksii-tumanov wants to merge 1 commit into
Graphify-Labs:v8from
oleksii-tumanov:fix/extract-reapply-persisted-excludes
Open

fix(extract): honor persisted excludes on re-extract#2028
oleksii-tumanov wants to merge 1 commit into
Graphify-Labs:v8from
oleksii-tumanov:fix/extract-reapply-persisted-excludes

Conversation

@oleksii-tumanov

Copy link
Copy Markdown
Contributor

Summary

  • reuse persisted --exclude patterns when a later graphify extract omits the flag
  • apply the effective patterns to both incremental and forced full detection
  • preserve explicit replacement semantics and custom --out configuration

Result

A flag-less re-extract keeps previously excluded files out of the graph without changing .graphify_build.json.

Tests

  • python -m pytest tests/ -q --tb=short — 3418 passed, 33 skipped
  • python -m pytest tests/test_extract_code_only_cli.py tests/test_extract_cli.py tests/test_watch.py -q --tb=short — 100 passed, 2 skipped
  • python -m ruff check graphify/cli.py tests/test_extract_code_only_cli.py
  • all five tools.skillgen checks
  • graphify update .

Closes #2027.

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.

Flag-less graphify extract ignores persisted --exclude patterns

1 participant