Skip to content

Fix Dependabot transitive security updates#22

Merged
andrmaz merged 1 commit into
mainfrom
cursor/ci-autofix-automation-a7c2
Jun 13, 2026
Merged

Fix Dependabot transitive security updates#22
andrmaz merged 1 commit into
mainfrom
cursor/ci-autofix-automation-a7c2

Conversation

@cursor

@cursor cursor Bot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Adds targeted pnpm overrides for vulnerable transitive dependencies that Dependabot could not update automatically, then regenerates the lockfile.

Validation:

  • pnpm install --lockfile-only --frozen-lockfile
  • pnpm --filter db db:generate && pnpm check-types
Open in Web View Automation 

Co-authored-by: Andrea Mazzucchelli <andrmaz@users.noreply.github.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

CI Autofix Automation

Failure logs: https://github.com/andrmaz/cortex/actions/runs/27463460309/job/81181436325
Broken by: #21 (cc @coderabbitai)
Reason: PR #21 regenerated the pnpm lockfile while adding test dependencies, leaving vulnerable transitive versions of brace-expansion, flatted, @hono/node-server, postcss, and picomatch. Dependabot's security-update jobs were configured for direct updates, so each advisory failed with security_update_not_possible instead of updating the transitive package.
Fixed by: Added targeted root pnpm.overrides for the five vulnerable transitive ranges and regenerated pnpm-lock.yaml. Verified with pnpm install --lockfile-only --frozen-lockfile and pnpm --filter db db:generate && pnpm check-types.

View PR

Open in Web View Automation 

Sent by Cursor Automation: Fix CI failures

@andrmaz andrmaz marked this pull request as ready for review June 13, 2026 10:19
@andrmaz andrmaz merged commit 29fc0bf into main Jun 13, 2026
3 checks passed
@andrmaz andrmaz deleted the cursor/ci-autofix-automation-a7c2 branch June 13, 2026 10:19
andrmaz added a commit that referenced this pull request Jun 20, 2026
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Andrea Mazzucchelli <andrmaz@users.noreply.github.com>
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.

2 participants