Skip to content

Fix the E2E and security audit CI failures - #134

Merged
brionmario merged 2 commits into
thunder-id:mainfrom
janithjay:fix/audit-advisories
Oct 26, 2026
Merged

brionmario merged 2 commits into
thunder-id:mainfrom
janithjay:fix/audit-advisories

Conversation

@janithjay

@janithjay janithjay commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Purpose

Two CI checks fail on main and on every PR. This PR fixes both.

1. E2E tests. thunder-id/samples#12 moved the quickstarts from pnpm to npm. We still install them with pnpm, which blocks their build scripts (ERR_PNPM_IGNORED_BUILDS), so the install fails before any test runs.

2. Security audit. pnpm audit --audit-level=high reports new advisories:

Approach

E2E

  • prepare-samples.ts: write the local SDK tarballs into each quickstart's package.json (overrides, plus the direct dependencies) and install with npm install.
  • run-e2e-suite/action.yml and run-e2e.sh: start the quickstarts with npx --no-install instead of pnpm exec.

Security audit (followed fix-npm-vulnerability; no new overrides needed)

  • next → 15.5.28 (packages/nextjs, playgrounds/nextjs), dompurify → 3.4.17 (catalog), undici → ^7.30.1 (tests/e2e).
  • zod: lockfile refreshed to 4.6.7; the existing range already allows it.
  • body-parser: removed the body-parser and body-parser>qs overrides. They forced express 5 onto body-parser 1.x. Without them, express resolves the patched body-parser@2.4.0 and qs@6.16.1.
  • pnpm-lock.yaml only changes the packages above and their own dependencies.

Related Issues

  • N/A

Related PRs

Checklist

  • Followed the contribution guidelines.
  • Manual test round performed and verified.
  • Documentation provided. (Add links if there are any)
  • Tests provided. (Add links if there are any)
    • Unit Tests
    • Integration Tests
  • Breaking changes. (Fill if applicable)
    • Breaking changes section filled.
    • breaking change label added.
  • Cross-SDK parity. Exactly one of parity/prs-raised or parity/prs-not-needed added.
    • If parity/prs-raised, the port links are posted as a reply on the parity check's comment.

Security checks

  • Followed secure coding standards.
  • Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.

Bump next to 15.5.28, dompurify to 3.4.17 and undici to ^7.30.1, and
refresh the lockfile so zod resolves 4.6.7. Remove the body-parser and
body-parser>qs overrides: they forced express 5 onto body-parser 1.x,
while express 5 resolves the patched body-parser 2.4.0 and qs 6.16.1
on its own.

Signed-off-by: janithjay <janithjayashan018@gmail.com>
Copilot AI balanced review requested due to automatic review settings October 26, 2026 05:58
@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

🔀 Cross-SDK feature parity, no ports needed

This pull request is labelled parity/prs-not-needed: nothing here has to ship in the other ThunderID SDKs. If that changes, swap the label for parity/prs-raised.

@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@brionmario brionmario added the parity/prs-not-needed Nothing here reaches another SDK label Oct 26, 2026
@janithjay janithjay changed the title Fix next, dompurify, zod, body-parser and undici audit advisories Fix the E2E and security audit CI failures Oct 26, 2026
@janithjay
janithjay force-pushed the fix/audit-advisories branch from 3e65bcd to 7d9fe3c Compare October 26, 2026 06:40
Signed-off-by: janithjay <janithjayashan018@gmail.com>
@janithjay
janithjay force-pushed the fix/audit-advisories branch from 7d9fe3c to 52b5753 Compare October 26, 2026 06:53
@brionmario
brionmario merged commit 2731ce9 into thunder-id:main Oct 26, 2026
7 checks passed
@janithjay
janithjay deleted the fix/audit-advisories branch October 26, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

parity/prs-not-needed Nothing here reaches another SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants