Skip to content

feat: swiftdata api coverage validator - #14

Merged
ChakornK merged 18 commits into
mainfrom
feat/swiftdata-api-coverage-validator
Nov 11, 2026
Merged

ChakornK merged 18 commits into
mainfrom
feat/swiftdata-api-coverage-validator

Conversation

@ChakornK

Copy link
Copy Markdown
Owner

Summary

  • New parity-api-coverage executable gates CI on SwiftData API coverage
  • Extracts public symbols from SwiftData.swiftinterface via SwiftSyntax
  • Scans parity tests and OpenSwiftData sources for references
  • Fails build when uncovered symbols lack allowlist entries
  • Two strategies: name-match (default) and signature-precise (USR join)
  • --check-only re-evaluates existing report against current allowlist
  • --emit-allowlist-skeleton bootstraps allowlist from uncovered symbols
  • CI workflow gets Validate API surface coverage step and parity-api-coverage-report.json artifact
  • Empty allowlist {"symbols": []} committed

Real SDK run: 467/545 symbols covered

@ChakornK
ChakornK merged commit f7433ad into main Nov 11, 2026
2 checks passed
@ChakornK
ChakornK deleted the feat/swiftdata-api-coverage-validator branch November 11, 2026 07:42
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