Skip to content

Emit dependency planning manifests - #949

Closed
nac5504 wants to merge 3 commits into
apple:mainfrom
nac5504:nick/oss-types-declaration-sharding-v2
Closed

Emit dependency planning manifests#949
nac5504 wants to merge 3 commits into
apple:mainfrom
nac5504:nick/oss-types-declaration-sharding-v2

Conversation

@nac5504

@nac5504 nac5504 commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • emit a deterministic JSON inventory of generated files and declaration dependencies
  • include SHA-256 input and output digests for downstream verification
  • keep plugin invocations unsupported until the manifest can be modeled as a declared plugin output

Stacked on #948. The final commit in this PR adds the dependency-manifest contract.

Validation

  • full Swift package test suite
  • focused dependency-manifest tests
  • 17-spec compatibility suite, including GitHub Enterprise and Kubernetes
  • byte-identical output across direct and command-plugin-style generator paths
  • downstream Ramp iOS manifest verification and module builds

Nick Candello added 3 commits August 31, 2026 12:33
Add the optional output.maxDeclarationsPerFile setting for further splitting declaration-bearing types namespace files into numbered extensions. Preserve the default namespace layout when unset, keep parent files responsible for namespace declarations, reject dynamic outputs in the build-tool plugin, and add documentation, focused tests, and updated Petstore references.
@nac5504

nac5504 commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

Closing this upstream draft; the work will remain as a stacked draft in the fork.

@nac5504 nac5504 closed this Sep 4, 2026
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