Repository navigation
Conversation
… to Bump.sh Bump.sh's renderer regressed between 2026-07-22 and 2026-11-09: a discriminated union whose parent declares properties alongside oneOf (children composing back via allOf) renders as an opaque array[object] when reached through array items in a request body. regionConfigs on createGroupCluster/updateGroupCluster lost all provider fields in the published docs for API versions 2024-08-05 onward. Add normalizeDiscriminatedUnionForBump.js, run in the Bump deploy job, which rewrites only the deployed copy of each spec into an acyclic render view (shared fields extracted to CloudRegionConfig20240805Base, children compose the base). The committed published spec is untouched, so API contract, SDKs, and compatibility tooling see no change. The script passes the spec through unchanged once the source schema is refactored. Verified against the real Bump renderer via the previews API: exact published artifact renders 0 variant tabs before and 168 variant tabs after normalization, legacy 2023-02-01 body unchanged.
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.
Proposed changes
Jira ticket: CLOUDP-475594
WIP:
Run a normalization step in the Bump deploy job that rewrites only the deployed copy of each spec into an acyclic render view of the affected discriminated union. Requires reaching out to Bump.sh team for long term fix.
Checklist
Changes to Spectral