Skip to content

ci: add deterministic schemas type sync - #84

Merged
edenreich merged 3 commits into
mainfrom
ci/deterministic-schemas-sync
Jul 21, 2026
Merged

edenreich merged 3 commits into
mainfrom
ci/deterministic-schemas-sync

Conversation

@edenreich

Copy link
Copy Markdown
Contributor

Summary

Part of the org-wide deterministic schemas→types sync (replaces the manual per-repo regeneration chore):

  • Standardizes the Taskfile sync contract: oas-download now accepts SCHEMAS_REF (refs/tags/vX.Y.Z, a branch ref, or a SHA; default refs/heads/main), and oas-sync chains download + codegen as the single entry point.
  • Threads SCHEMAS_REF through the existing OPENAPI_URL var; oas-sync reuses the existing oas-download → oas-validate → generate dep chain.
  • Adds .github/workflows/schemas-sync.yml, a thin caller of the org reusable workflow inference-gateway/.github/.github/workflows/schemas-sync.yml@main. It regenerates types against a pinned schemas ref and opens/updates an idempotent PR on the fixed schemas-sync branch. Dispatch it from this repo's Actions tab, or fan out to all consumers via sync-downstream.yml in inference-gateway/schemas.

Verified locally: task oas-sync SCHEMAS_REF=refs/tags/v0.10.0 downloads 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, and schemas (fan-out dispatcher).

@edenreich
edenreich merged commit ad894d1 into main Jul 21, 2026
1 check passed
@edenreich
edenreich deleted the ci/deterministic-schemas-sync branch July 21, 2026 13:02
inference-gateway-releaser Bot added a commit that referenced this pull request Jul 21, 2026
## [0.10.0](v0.9.0...v0.10.0) (2026-07-21)

### ✨ Features

* sync generated types with schemas v0.10.0 ([#85](#85)) ([8f397d3](8f397d3))

### 👷 CI

* add deterministic schemas type sync ([#84](#84)) ([ad894d1](ad894d1))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.10.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant