Repository navigation
fix(deps): bump vitest to 4.1.8 — clear critical otelCarrier advisory - #1823
Conversation
GHSA-2h32-95rg-cppp (Vitest browser mode serves an unsanitized otelCarrier query parameter as inline script) is patched in @vitest/browser 4.1.6; the tree was on 4.1.4. `bun audit --prod` surfaces it as CRITICAL, tripping the security.yml bun-audit gate on every branch (and main). Bump vitest / @vitest/browser / @vitest/browser-playwright / @vitest/coverage-v8 to 4.1.8 across the workspace. `bun audit --prod --audit-level=critical` now exits clean; full test suite passes.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThis pull request updates the vitest testing ecosystem packages across the monorepo from version 4.1.4 to 4.1.8. The root Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption. 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 |
What
GHSA-2h32-95rg-cppp— Vitest browser mode serves an unsanitizedotelCarrierquery parameter as inline script — is a CRITICAL advisory published today, patched in@vitest/browser4.1.6. The tree was on 4.1.4, sobun audit --prod --audit-level=criticalnow flags it and the bun-audit gate insecurity.ymlfails on every branch and onmain.This bumps the vitest toolchain to 4.1.8 (latest 4.1.x) across the workspace:
vitest,@vitest/browser,@vitest/browser-playwright,@vitest/coverage-v8packages/ui:vitestservices/platform:@vitest/browser,@vitest/browser-playwrightAll dev dependencies; patch-level within 4.1.x.
Verification
bun audit --prod --audit-level=critical→ exits clean (0 critical).@tale/platformtest suite: 71,491 passing; format / lint / typecheck green.Why a standalone PR
The advisory breaks the audit gate repo-wide, so the fix belongs on
main. Once merged, the in-flight security PRs (#1819, #1820, #1821, #1822) just needmainmerged in for their bun-audit check to go green — #1821's current failure is this advisory, not its own changes.Summary by CodeRabbit