
Security News
Risky Biz Podcast: AI Agents Are Raising the Stakes for Software Supply Chain Security
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.
@mergifyio/vitest
Advanced tools
A Vitest reporter that integrates seamlessly with Mergify, uploading OpenTelemetry traces of test executions to Mergify CI Insights, along with optional quarantine and flaky-test detection.
More information at https://mergify.com
Install the package as a dev dependency alongside vitest (>= 3.0.0):
npm install --save-dev @mergifyio/vitest
Register MergifyReporter in your vitest.config.ts:
import { defineConfig } from 'vitest/config';
import MergifyReporter from '@mergifyio/vitest';
export default defineConfig({
test: {
reporters: ['default', new MergifyReporter()],
},
});
Set MERGIFY_TOKEN in your CI environment so the reporter can upload test
traces. Without it, the reporter stays silent and tests run normally.
| Variable | Description | Default |
|---|---|---|
MERGIFY_TOKEN | Mergify API authentication token | (required) |
MERGIFY_API_URL | Mergify API endpoint | https://api.mergify.com |
VITEST_MERGIFY_ENABLE | Force-enable outside CI | false |
MERGIFY_CI_DEBUG | Print spans to console instead of uploading | false |
MERGIFY_TRACEPARENT | W3C distributed trace context | — |
For detailed documentation, see the official guide.
Clone the repo and install dependencies:
pnpm install
Available scripts (from this package's directory or with pnpm --filter @mergifyio/vitest):
| Command | What it does |
|---|---|
pnpm test | Run the test suite once (vitest run) |
pnpm run build | Bundle the package with tsdown |
FAQs
Vitest reporter for Mergify CI Insights
We found that @mergifyio/vitest demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.