Repository navigation
ci: add deterministic schemas type sync - #166
Merged
Merged
Conversation
This was referenced Jul 21, 2026
Merged
Contributor
|
🎉 This PR is included in version 0.14.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Part of the org-wide deterministic schemas→types sync (replaces the manual per-repo regeneration chore):
oas-downloadnow acceptsSCHEMAS_REF(refs/tags/vX.Y.Z, a branch ref, or a SHA; defaultrefs/heads/main), andoas-syncchains download + codegen as the single entry point.npx [email protected], was unpinnednpx openapi-typescript); not added to devDependencies because openapi-typescript 7 peers ontypescript@^5while this repo is on TS 6..github/workflows/schemas-sync.yml, a thin caller of the org reusable workflowinference-gateway/.github/.github/workflows/schemas-sync.yml@main. It regenerates types against a pinned schemas ref and opens/updates an idempotent PR on the fixedschemas-syncbranch. Dispatch it from this repo's Actions tab, or fan out to all consumers viasync-downstream.ymlininference-gateway/schemas.Verified locally:
task oas-sync SCHEMAS_REF=refs/tags/v0.10.0downloads the pinned spec and regenerates deterministically.Impacted repos
Same rollout lands in:
inference-gateway/.github(reusable workflow; SDK LLM drift audit retired, docs audit kept),sdk,python-sdk,rust-sdk,typescript-sdk,inference-gateway, andschemas(fan-out dispatcher).