Skip to content

Match workspace globs one path segment per * in the CI audit - #47

Merged
goastler merged 2 commits into
mainfrom
ciaudit/workspace-glob-depth
Nov 6, 2026
Merged

goastler merged 2 commits into
mainfrom
ciaudit/workspace-glob-depth

Conversation

@goastler

@goastler goastler commented Nov 6, 2026

Copy link
Copy Markdown
Member

What changed

The CI audit decided which packages belong to a pnpm/npm workspace with fnmatch, where * also matches /. It now matches the way pnpm does: * covers one folder level and ** covers any depth.

Effect

Packages nested deeper than a workspace glob (for example captcha's integration/frameworks/*/*, which captcha-private's captcha/integration/* does not include) are no longer credited with builds and lints they never get. Those units will now show as build/lint gaps.

Tests

New in_workspace cases for *, ** and a trailing /; ciaudit tests pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01H1ZqeFbuR8YxxrUEUaC3zS

@goastler
goastler merged commit 12a30e5 into main Nov 6, 2026
83 checks passed
@goastler
goastler deleted the ciaudit/workspace-glob-depth branch November 6, 2026 22:48
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