test: bump docusaurus-openapi-docs to canary 0.0.0-1371 (DLP Data Profiles crash fix) - #1387
Open
sserrata wants to merge 2 commits into
Open
test: bump docusaurus-openapi-docs to canary 0.0.0-1371 (DLP Data Profiles crash fix)#1387sserrata wants to merge 2 commits into
sserrata wants to merge 2 commits into
Conversation
Canary build of docusaurus-openapi-docs that fixes the infinite-recursion crash on Data Profiles API pages (self-referential discriminators). Bumps the plugin and theme to 0.0.0-1371 to validate the fix on a deploy preview before the upstream release lands. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The docusaurus-openapi-docs canary depends on sass-loader@^17, which requires node >=22.11. Bump deploy-preview and deploy-live from node 20 to 22 (matching the node22 base image already used in .gitlab-ci.yml). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Visit the preview URL for this PR (updated for commit a09b094): https://pan-dev-f1b58--pr1387-6j9qeie1.web.app (expires Thu, 06 Aug 2026 20:56:24 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 9359a9fa100d5fdb082f75280473a90b1f96eb51 |
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.
What
Bumps
docusaurus-plugin-openapi-docsanddocusaurus-theme-openapi-docsfrom5.1.2to canary0.0.0-1371to validate a rendering fix on a deploy preview.Why
The Data Loss Prevention → Data Profiles API pages (
/dlp/api/) freeze and crash the browser tab. Root cause: infinite recursion in the theme's schema renderer when aoneOf's branches each declare their owndiscriminatoron the same property (every DLP RuleItem variant does). The discriminator object is shared by reference and its inferredmappingends up pointing back to the branch itself, recursing until the stack overflows.Fixed upstream in PaloAltoNetworks/docusaurus-openapi-docs#1584 (merged); canary
0.0.0-1371contains the compiled fix.Testing
Verify on the deploy preview that the previously-crashing pages now render the full schema without freezing:
/dlp/api/get-v-2-api-data-profiles/dlp/api/post-v-2-api-data-profiles/dlp/api/get-v-2-api-data-profiles-resourceid/dlp/api/put-v-2-api-data-profiles-resourceid/dlp/api/patch-v-2-api-data-profiles-resourceidSanity-check a sibling resource (e.g.
/dlp/api/get-v-2-api-data-patterns) still renders normally.🤖 Generated with Claude Code