Skip to content

test: update vitest for CVE & add CI test workflow - #16

Merged
baileydunning merged 2 commits into
mainfrom
update-vitest
Jun 3, 2026
Merged

test: update vitest for CVE & add CI test workflow#16
baileydunning merged 2 commits into
mainfrom
update-vitest

Conversation

@baileydunning

Copy link
Copy Markdown
Contributor

Summary

Bumps vitest off a critically vulnerable version and adds a GitHub Actions workflow to run the integration test suite on every push/PR.

Security fix

  • Updated vitest and @vitest/coverage-v8 from 4.0.18 → 4.1.8, resolving GHSA-5xrq-8626-4rwp (critical — the Vitest UI server can read and execute arbitrary files; affects all vitest <4.1.0).
  • npm audit fix also bumped a transitive qs (6.15.1 → 6.15.2), clearing a moderate DoS advisory (GHSA-q8mj-m7cp-5q26).
  • npm audit now reports 0 vulnerabilities.

CI

  • New .github/workflows/test.yaml runs on push/PR to main and manual dispatch.
  • Installs Harper via the existing install_harper.sh, runs npm install, starts the component with harperdb run ., polls the REST interface on :9926 until ready, then runs npm test. Dumps Harper logs on failure.
  • Sets USE_STATIC_ONLY=false so the regex-redirect tests are exercised.

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates the development dependencies in package.json and package-lock.json, specifically upgrading @vitest/coverage-v8 and vitest from version 4.0.18 to 4.1.8. This upgrade triggers several cascading dependency updates in the lockfile, including upgrading vite to version 8.0.16, replacing rollup with rolldown, and introducing lightningcss. There are no review comments to evaluate, and I have no additional feedback to provide on these dependency updates.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@baileydunning
baileydunning merged commit 895490f into main Jun 3, 2026
1 check 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