Skip to content

docs(discovery): clarify aliases into excluded directories - #785

Merged
chrisknvidia merged 1 commit into
NVIDIA:mainfrom
YMuskrat:followup/catalog-alias-comment
Nov 19, 2026
Merged

chrisknvidia merged 1 commit into
NVIDIA:mainfrom
YMuskrat:followup/catalog-alias-comment

Conversation

@YMuskrat

Copy link
Copy Markdown
Contributor

Summary

Clarify the internal-directory-alias comment: aliases are skipped, and targets such as node_modules still follow normal discovery exclusions. This changes no discovery behavior.

Follow-up to the non-blocking note on #210.

Verification

  • Familiar with the contributing guidelines
  • Existing discovery/helper tests: 61 passed
  • make lint passed
  • make build produced the wheel and source distribution
  • Ran make test: 2,645 passed, 3 skipped, 4 failed before the configured failure limit. All four failing cases also fail on unchanged upstream affe1ac with the same dependencies and isolated temporary directory. They concern Tier 2 reporting, GitLab's hard-coded /tmp path, ambient provider validation, and generated-output provenance. A full-suite pass is not claimed.
  • No credentials, private datasets or proprietary benchmark content added

Validated with Python 3.12 and the committed dependency lock. No new test is needed for this comment-only correction.

Release Impact

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

Explain that internal aliases are skipped and their real targets remain subject to discovery exclusions.

Signed-off-by: YMuskrat <Y.Laaouach@sussex.ac.uk>

@chrisknvidia chrisknvidia left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this reads right. I checked the wording against the walk: an in-tree alias is skipped and its real target goes through the normal exclusions, so an alias into node_modules is ignored silently, while an alias to a directory outside the scan root is still inspected and reported as a linked skill directory. That matches what the comment now says, and the exclusion-scoping change that landed in #746 only touched the validator-side rglob discovery, so nothing else needs updating here. No changelog entry is needed for a comment-only change.

The branch is behind main and main requires branches to be up to date; since maintainer edits are off on this fork, could you click Update branch when you get a chance?

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution! The revised comment matches discovery's handling of internal aliases and excluded real targets. Reviewed the surrounding traversal and exclusion behavior; helper and catalog-discovery tests passed (61 tests). No actionable issues found.

@chrisknvidia
chrisknvidia merged commit 771a390 into NVIDIA:main Nov 19, 2026
25 checks passed
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.

3 participants