Skip to content

fix(tier2): exclude generated artifacts from path budget - #7

Merged
rng1995 merged 1 commit into
mainfrom
fix/christopherk/tier2-artifact-discovery
Jul 10, 2026
Merged

rng1995 merged 1 commit into
mainfrom
fix/christopherk/tier2-artifact-discovery

Conversation

@chrisknvidia

Copy link
Copy Markdown
Collaborator

Summary

  • Prune CONTENT_DEDUP_EXCLUDED_DIRS during traversal so generated evaluation results and version snapshots do not consume the 4,096-path Tier 2 discovery budget.
  • Keep the path limit for authored content, preserve actionable traversal failures, and reject symbolic-link or Windows reparse-point directories before recursion.
  • Use the current upstream CLIReporter architecture and pin that a real structured path-limit failure is reported as an error, never as a duplicate finding.

This implementation is a single new commit built directly on the current NVIDIA/SkillEvaluator:main; it does not carry the personal staging branch history or restore the removed console_ui module.

Verification

  • I am familiar with the Contributing Guidelines
  • Added or updated focused tests
  • Updated documentation for user-visible changes
  • Ran make lint
  • Ran make test — 1,963 passed, 4 skipped on macOS
  • Ran make build
  • Did not add credentials, private datasets, or proprietary benchmark content
  • Built wheel and sdist; twine check --strict passed for both
  • Reproduced against the original busy skill tree: 85,386 total paths, 10 retained after excluded-directory pruning, and 7 authored scannable files collected
  • Independent edge-case review completed; Windows junction traversal issue found during review was fixed and re-reviewed as ready

The real Windows junction regression test is included but is skipped on macOS; the repository cross-platform CI job provides the live Windows execution.

Release Impact

  • No user-visible release note needed
  • Updated CHANGELOG.md

Prune configured excluded directories during traversal so generated evaluation results and version snapshots do not consume the Tier 2 discovered-path limit. Preserve actionable traversal errors and validate that authored content remains bounded.

Retain current upstream reporting and cover its honest scan-error output with a regression test.

Signed-off-by: Christopher Kevin <[email protected]>
@rng1995
rng1995 merged commit 09eb24a into main Jul 10, 2026
8 checks passed
@chrisknvidia
chrisknvidia deleted the fix/christopherk/tier2-artifact-discovery branch August 1, 2026 03:01
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.

2 participants