Skip to content

fix(ci): the exclusion audit mirrors Bun's complement for a negated wildcard workspace pattern #590

Description

@tps-flint

Measured with real Bun 1.3.10 while building #589: a negated pattern whose last segment carries a wildcard makes Bun install the complement. For example, ["!packages/*"] or ["packages/*", "!packages/*"] installs every workspace outside packages/*. The release-age exclusion audit's resolver treats a negated pattern as contributing no matches, so on these shapes it can only over-report unused-manifest (fail-closed), never accept a pin Bun does not apply.

The fix: mirror Bun's complement behaviour for a negated wildcard pattern, with a real-Bun parity row for each shape above, and keep every existing row green.

Activity

  1. self-assigned this
    on Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions