Skip to content

chore(deps): astro 5->6 + vitest 2->3 — clear 11 of 12 Scorecard advisories#129

Merged
harry-harish merged 2 commits into
mainfrom
chore/scorecard-vuln-remediation
Jul 8, 2026
Merged

chore(deps): astro 5->6 + vitest 2->3 — clear 11 of 12 Scorecard advisories#129
harry-harish merged 2 commits into
mainfrom
chore/scorecard-vuln-remediation

Conversation

@harry-harish

@harry-harish harry-harish commented Jun 30, 2026

Copy link
Copy Markdown
Member

What

The astro 5→6 + vitest 2→3 major-bump PR that the Phase 4b override notes deferred to "its own PR". Rebased onto current main and built on its existing override strategy — clears 11 of the original 12 Scorecard advisories, leaving only the one esbuild residual main already documented as accepted.

Rebuilt from scratch on current main (the original branch was cut from a ~10-commit-stale main). The redundant "safe 4" follow-up (#130) was closed — those overrides are already on main.

Clears

  • Astro 5 → 6 (apps/peek-docs, apps/tracelane-docs) — the 5 astro advisories (2pvr, 8hv8, j687, jrpj, xr5h; no 5.x backport exists).
    • Astro 6 moved to Zod 4, so @cubenest/docs-shared's recipeSchema is rebuilt on zod@^4.3.6 — content validation was silently failing otherwise (astro check flagged 32 cascading type errors).
    • Astro 6 needs Node >=22.12, declared in each docs app's engines (CI runs Node 24).
  • Vitest 2 → 3 (root) — the critical GHSA-5xrq-8626-4rwp, and esbuild GHSA-67mh-4wv8-2f99 (retiring the vitest@2/Vite-5 toolchain drops the old esbuild@0.21.5). The @vitejs/plugin-react pin is now scoped to @wxt-dev/module-react (plugin-react 6 needs vite 7+ via vite/internal; WXT 0.20 stays on Vite 6).
  • js-yaml (GHSA-h67p-54hq-rp68) — js-yaml@3 → 3.15.0 / @4 → 4.2.0, fixed within the 3.x line so @changesets/cli's safeLoad is preserved (the residual main was tracking).
  • vite (GHSA-fx2h-pf6j-xcff, GHSA-v6wh-96g9-6wx3) → 6.4.3 via peek-extension's direct vite dep, replacing the vite@6 override (which rewrote vitefu/@tailwindcss-vite peers and broke strict-peer once astro@6/Vite-7 and the demo/Vite-8 entered the tree).

Residual (accepted, unchanged from main)

esbuild GHSA-g7r4-m6w7-qqqr — a global 0.28.1 pin breaks the WXT MV3 build (esbuild 0.28 can't lower for-of destructuring to chrome87/es2020); the advisory is esbuild-dev-server-only, never invoked in this build-only pipeline.

Verification

  • pnpm audit11/12 cleared (only g7r4 residual).
  • pnpm build green — incl. the WXT MV3 extension (esbuild 0.27.7 retained) and both Astro 6 docs sites.
  • pnpm test — peek-mcp (35), peek-cli (25), peek-extension (45), rrweb-core, tracelane-core/security all pass under vitest 3. Remaining local failures are the pre-existing Windows-only @tracelane/report assets.ts path-guard tests (and tracelane-cli/detect) — they pass on CI Linux.

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@harry-harish, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 14 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: a1cace67-6ff5-41bf-a233-ceba696d15b6

📥 Commits

Reviewing files that changed from the base of the PR and between c4d65b0 and 7d756fa.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml, !pnpm-lock.yaml
📒 Files selected for processing (6)
  • AGENTS.md
  • apps/peek-docs/package.json
  • apps/tracelane-docs/package.json
  • package.json
  • packages/docs-shared/package.json
  • packages/peek-extension/package.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/scorecard-vuln-remediation

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@harry-harish harry-harish force-pushed the chore/scorecard-vuln-remediation branch from 7a70de0 to f8decda Compare June 30, 2026 10:46
@harry-harish harry-harish changed the title chore(deps): clear 12 OpenSSF Scorecard vulnerability advisories chore(deps): astro 5->6 + vitest 2->3 — clear 11 of 12 Scorecard advisories Jun 30, 2026
…ies (re-landed on main)

Re-applies PR #129 on top of current main (connector-platform packages).
- root: vitest ^2.1.8 -> ^3.2.6; overrides reworked (drop vite@6, scope
  @vitejs/plugin-react to @wxt-dev/module-react, add js-yaml@3/@4).
- apps/{peek,tracelane}-docs: astro ^5.18.2 -> ^6.4.6; engines node >=22.12.
- packages/docs-shared: zod ^3.25.76 -> ^4.3.6.
- packages/peek-extension: vite ^6.4.2 -> ^6.4.3.
- AGENTS.md note updated (Vitest 3 / Astro 6).
Reconciled cleanly with main's verify:plugin script + docs-shared test
script + smol-toml. esbuild GHSA-g7r4-m6w7-qqqr remains an accepted dev-only
residual. Full local CI green (build/typecheck/lint/test) incl. connector
suites under vitest 3.2.7.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: harry-harish <22562634+harry-harish@users.noreply.github.com>
@harry-harish harry-harish force-pushed the chore/scorecard-vuln-remediation branch from f8decda to ff229f6 Compare July 8, 2026 14:42
@harry-harish

Copy link
Copy Markdown
Member Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 8, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@harry-harish

Copy link
Copy Markdown
Member Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Jul 8, 2026

Copy link
Copy Markdown
✅ Action performed

Full review finished.


Your plan includes PR reviews subject to rate limits. More reviews will be available in 14 minutes.

@harry-harish harry-harish merged commit a61efa4 into main Jul 8, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant