Skip to content

chore(deps): bump vitest to 4.1.12 - #2647

Merged
jariy17 merged 1 commit into
aws:refactorfrom
notgitika:fix/vitest-audit
Oct 22, 2026
Merged

jariy17 merged 1 commit into
aws:refactorfrom
notgitika:fix/vitest-audit

Conversation

@notgitika

Copy link
Copy Markdown
Contributor

Description

Updates Vitest from 4.1.11 to 4.1.12, including the matching @vitest/* packages in bun.lock.

This fixes the two moderate advisories that caused bun run audit to fail in the post-merge refactor CI run: https://github.com/aws/agentcore-cli/actions/runs/39796084574/job/119883574433

Related Issue

Related to the failing refactor branch CI run linked above.

Documentation PR

Not applicable; dependency-only change.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Other (please describe):

Testing

  • bun install --frozen-lockfile
  • bun run audit — no vulnerabilities found
  • bun test src/cliVersionManager/cliVersionManager.test.ts — 6 passed
  • bun run build
  • prettier --check package.json bun.lock

All commands above used Bun 1.4.0, matching CI. The full local typecheck sees pre-existing untracked files under src/cli/; the clean CI checkout passed typecheck before failing at audit.

Checklist

  • I have read the CONTRIBUTING document
  • No documentation changes are needed
  • My changes generate no new warnings

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the
terms of your choice.

@github-actions github-actions Bot added the size/xs PR size: XS label Oct 22, 2026
@agentcore-devx-automation agentcore-devx-automation Bot added agentcore-harness-reviewing AgentCore Harness review in progress claude-security-reviewing Claude Code /security-review in progress labels Oct 22, 2026
@agentcore-devx-automation

Copy link
Copy Markdown
Contributor

Claude Security Review: no high-confidence findings. (run)

@agentcore-devx-automation agentcore-devx-automation Bot removed the claude-security-reviewing Claude Code /security-review in progress label Oct 22, 2026

@agentcore-devx-automation agentcore-devx-automation Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

AgentCore Harness Review

Verdict: Looks good

Straightforward floor bump of the vitest devDependency from ^4.1.0 to ^4.1.12, with matching lockfile updates for all @vitest/* transitive packages (expect, mocker, pretty-format, runner, snapshot, spy, utils) consistently pinned to 4.1.12.

This picks up the fix for GHSA-82fw-gwwq-j7x9 (path traversal / arbitrary file read via @vitest/mocker Redirect Mock, patched in 4.1.11). vitest is a devDependency, so there's no runtime impact, and 4.1.12 is a patch release off the same 4.1 line already in use — no breaking changes expected.

No code, test, or telemetry considerations here. LGTM to merge.

@agentcore-devx-automation agentcore-devx-automation Bot removed the agentcore-harness-reviewing AgentCore Harness review in progress label Oct 22, 2026
@jariy17
jariy17 merged commit fbe54ac into aws:refactor Oct 22, 2026
14 of 15 checks passed
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.62%. Comparing base (ef5b4ea) to head (3931252).
⚠️ Report is 2 commits behind head on refactor.

Additional details and impacted files
@@            Coverage Diff            @@
##           refactor    #2647   +/-   ##
=========================================
  Coverage     96.62%   96.62%           
=========================================
  Files           706      706           
  Lines         58476    58476           
=========================================
  Hits          56500    56500           
  Misses         1976     1976           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the report, @codecov-commenter — feedback like this is exactly
how we catch the things we missed. Because this PR is already
closed, the team won't see follow-up comments here.

Would you mind opening a new issue so we can track it properly?
https://github.com/aws/agentcore-cli/issues/new/choose

If this is a security issue, please report it privately via
https://aws.amazon.com/security/vulnerability-reporting/ instead
of a public issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xs PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants