Skip to content

test: add CODEOWNERS conformance fixtures - #53

Merged
daichunghy merged 2 commits into
mainfrom
test/codeowners-conformance-fixtures
Aug 25, 2026
Merged

test: add CODEOWNERS conformance fixtures#53
daichunghy merged 2 commits into
mainfrom
test/codeowners-conformance-fixtures

Conversation

@daichunghy

Copy link
Copy Markdown
Owner

Summary

Closes #6

Adds seven recorded GitHub API fixtures for the documented CODEOWNERS subset:

  • .github/CODEOWNERS, root CODEOWNERS and docs/CODEOWNERS precedence
  • escaped patterns and multiple owners
  • unsupported syntax diagnostics
  • permission denial and incomplete changed-path boundaries

The fixtures are registered in the manifest and replayed through the existing adapter tests. The
parser remains deliberately bounded; unsupported CODEOWNERS behavior is reported instead of
approximated.

Verification

  • npm run verify:fixtures: 18/18 pass
  • npm run test:fixtures: 3/3 pass
  • npm run typecheck
  • npm run check:fixture-budgets: 10 API fixtures
  • git diff --check

Boundary

These are deterministic recorded API fixtures. They do not claim live GitHub CODEOWNERS coverage,
broader syntax compatibility or external adoption.

@daichunghy
daichunghy merged commit 99ce4e3 into main Aug 25, 2026
10 checks passed
@daichunghy
daichunghy deleted the test/codeowners-conformance-fixtures branch August 25, 2026 03:46
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.

Test the documented CODEOWNERS subset with conformance fixtures

1 participant