Repository navigation
refactor(api): generate runtime metadata SDK - #518
Merged
Merged
Conversation
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
What changed and why
Capabilities and integration metadata had handwritten client DTOs that drifted from the server, and
/api/integrationswas missing from OpenAPI. Both endpoints now use shared response schemas and an Orval-generated SDK with runtime validation. Every consumer in this family is migrated; legal pages read one live, uncached metadata snapshot. Their dates advance to October 18 in both locales as required by the source-change gate; policy wording is unchanged.304; expose only type/name/category in public health summaries.libx11to its existing targeted Alpine upgrades (CVE-2026-88806, 1.8.13-r0 → 1.8.14-r0).Orval was compared with Hey API, openapi-typescript/openapi-fetch, OpenAPI Generator and swagger-typescript-api. Its documented custom-client boundary fits the existing transport. The pinned configuration preserves recursive schemas and selects validated output types using its supported transformer. Its declared, maintained
js-yaml4.3.2 parser is scoped to dev-only generation; other consumers retain the workspace v5 policy.Rendered legal pages: date/layout verification
Local Next.js pages inspected in the collaborative browser. Rich runtime provider metadata is covered separately by producer-to-SDK tests.
Verification
linux/amd64docs image from tracked files, and scanned it with a fresh Trivy database: zero fixable HIGH/CRITICAL findings. nginx configuration and HTTP smoke checks passed. CI uses Trivy 0.75.0; the local verification used 0.76.0. Original CI passed all application/test/database gates; fresh CI will verify the image correction.Release and upgrade impact
Product impact: breaking
Public integration health metadata no longer exposes operational URLs, headers or configuration keys. Bundled consumers migrate together; custom internal-API consumers must use the current contracts. No database/configuration migration or compatibility layer.
The Changeset covers the new portable output-schema exports and CLI rebuild. A product release-note fragment records the internal API change. No package publication or deployment is performed here.