fix: pin Swagger UI dark theme CSS to a commit SHA - #4083
Conversation
|
Warning Review limit reached
Next review available in: 12 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Pins the Swagger UI dark-theme stylesheet URL to an immutable jsDelivr GitHub commit SHA while keeping the existing Subresource Integrity hash, and updates/clarifies changeset messaging to reflect the current asset-loading approach.
Changes:
- Pin
swagger_ui_dark.min.csson jsDelivr togh/...@868ea5da...(commit SHA) while retaining the existingsha384SRI attribute. - Clarify the existing changeset to focus on
swagger-ui-dist@5.11.0+ SRI loading via<link>/<script>. - Add a new changeset documenting the commit-pinned dark-theme CSS rationale.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/fets/src/swagger-ui.html | Pins the dark-theme CSS jsDelivr URL to a specific commit SHA (immutable) while keeping SRI metadata. |
| .changeset/swagger-ui-sri.md | Updates wording to align with the current Swagger UI asset pinning + SRI approach. |
| .changeset/pin-swagger-dark-theme.md | Adds a changeset explicitly documenting the dark-theme CSS commit pinning with SRI. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
💻 Website PreviewThe latest changes are available as preview in: https://pr-4083.fets-3ku.pages.dev |
✅ Benchmark Results |
Summary
gh/...@868ea5da…(immutable commit)Follow-up for Copilot review comments on #4082.
Test plan
sha384matches the HTML attribute