chore: update dependencies to fix vulnerabilities#2644
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
WalkthroughBumped several dependency versions and added a Fastify onRequest hook in Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📝 Coding Plan
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. Comment Tip You can customize the high-level summary generated by CodeRabbit.Configure the |
Router-nonroot image scan passed✅ No security vulnerabilities found in image: |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2644 +/- ##
=======================================
Coverage 46.42% 46.42%
=======================================
Files 1046 1046
Lines 141488 141496 +8
Branches 9679 9683 +4
=======================================
+ Hits 65680 65690 +10
+ Misses 74095 74094 -1
+ Partials 1713 1712 -1
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@studio/package.json`:
- Line 98: package.json was updated to "next": "15.4.11" but pnpm-lock.yaml
still resolves to 15.4.10; run pnpm install to regenerate the lockfile so
pnpm-lock.yaml and package.json are in sync, then commit the updated
pnpm-lock.yaml (ensure the "next" entry in pnpm-lock.yaml reflects 15.4.11 and
no stale resolutions remain).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 69418b55-2770-492b-8222-dc4486d2965b
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (1)
studio/package.json
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@cli/package.json`:
- Line 83: The package.json currently pins "@types/tar" to an outdated v6 while
"tar" is v7; either update the "@types/tar" dependency to "7.0.87" to match
tar@7, or remove the "@types/tar" entry entirely if tar's bundled types
suffice—then run TypeScript build/tests and verify the import in
cli/src/commands/grpc-service/commands/init.ts (where { extract, t } from "tar"
is used) still type-checks; apply the change by editing the "@types/tar"
dependency in package.json and adjusting lockfile (npm/yarn) accordingly.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: a80a0070-c831-4e58-8505-d33ab037476d
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (1)
cli/package.json
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@controlplane/src/core/build-server.ts`:
- Around line 184-185: The Content-Type header check currently calls
includes('\t') on request.headers['content-type'] which can be an array and will
not detect tabs inside string elements; update the validation in build-server.ts
where contentType is read (variable contentType) to first normalize: if
Array.isArray(contentType) iterate elements and reject if any
element.includes('\t'), otherwise if typeof contentType === 'string' check
contentType.includes('\t'); ensure the guard treats missing/undefined headers
safe and returns the same error/response path when a tab is found.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 1a3c97ce-3a14-48bf-a8e6-04e68e837d45
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (2)
controlplane/package.jsoncontrolplane/src/core/build-server.ts
✅ Files skipped from review due to trivial changes (1)
- controlplane/package.json
ae4a6be to
b078e63
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@controlplane/src/core/build-server.ts`:
- Around line 185-186: The code uses the wrong variable name: change the check
that references values to use the declared contentTypeValues variable (i.e.,
replace any use of values with contentTypeValues in the block around the
content-type handling), ensuring the Array.isArray/contentType normalization
logic (contentTypeValues) is the one being inspected for tabs; also scan for any
other stray uses of values in the same function (e.g., in build-server.ts around
the contentType handling) and update them to contentTypeValues so TypeScript
compiles.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 6aeea665-27a3-48b9-9dd1-0178c04755db
📒 Files selected for processing (1)
controlplane/src/core/build-server.ts
b078e63 to
15493c6
Compare
15493c6 to
097f67f
Compare
e42d726 to
43de283
Compare
43de283 to
777950b
Compare
2dc6571 to
79f9537
Compare
comatory
left a comment
There was a problem hiding this comment.
Tried running build for controlplane + studio, all seems to pass. studio also runs fine and tried running release-preview (dry run).
It seems fine (not sure about the emails)
…s-due-mar-15-2026
Summary by CodeRabbit
Chores
Bug Fixes
Checklist