Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
There was a problem hiding this comment.
1 issue found across 44 files
Confidence score: 1/5
- There is a likely merge-blocking regression in
apps/mcp-server/src/funcs/policiesPoliciesControllerUploadPolicyPdfV1Multipart.ts:new FormData()is sent without appending fields frompayload$, so upload requests can be transmitted with an empty body. - Given the reported severity (10/10) and high confidence (9/10), this is a concrete functional break in a user-facing flow rather than a minor implementation detail.
- Pay close attention to
apps/mcp-server/src/funcs/policiesPoliciesControllerUploadPolicyPdfV1Multipart.ts- ensure multipart fields from the parsed payload are appended before sending the request.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="apps/mcp-server/src/funcs/policiesPoliciesControllerUploadPolicyPdfV1Multipart.ts">
<violation number="1" location="apps/mcp-server/src/funcs/policiesPoliciesControllerUploadPolicyPdfV1Multipart.ts:90">
P0: FormData is created empty but never populated with fields from the request payload. The function creates `new FormData()` on line 77 and sends it as the request body, but the parsed request payload (`payload$`) containing the file, fileName, versionId, etc. is never appended as form fields. Every upload will send an empty body and fail to upload the PDF.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
| return [parsed$, { status: "invalid" }]; | ||
| } | ||
| const payload$ = parsed$.value; | ||
| const body$ = new FormData(); |
There was a problem hiding this comment.
P0: FormData is created empty but never populated with fields from the request payload. The function creates new FormData() on line 77 and sends it as the request body, but the parsed request payload (payload$) containing the file, fileName, versionId, etc. is never appended as form fields. Every upload will send an empty body and fail to upload the PDF.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At apps/mcp-server/src/funcs/policiesPoliciesControllerUploadPolicyPdfV1Multipart.ts, line 90:
<comment>FormData is created empty but never populated with fields from the request payload. The function creates `new FormData()` on line 77 and sends it as the request body, but the parsed request payload (`payload$`) containing the file, fileName, versionId, etc. is never appended as form fields. Every upload will send an empty body and fail to upload the PDF.</comment>
<file context>
@@ -0,0 +1,162 @@
+ return [parsed$, { status: "invalid" }];
+ }
+ const payload$ = parsed$.value;
+ const body$ = new FormData();
+
+ const pathParams$ = {
</file context>
|
🎉 This PR is included in version 3.66.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This is an automated pull request to release the candidate branch into production, which will trigger a deployment.
It was created by the [Production PR] action.
Summary by cubic
Promotes the latest MCP Server release to production. Adds multipart policy PDF upload, built‑in role obligations APIs/tools, expanded finding frameworks, and updates docs/SDK.
New Features
Refactors
mcp-server.mcpbGitHub release.package-lock.json; regenerated SDK with base errorCompAiError; updated OpenAPI/manifest/tool names; removed stale generator lock.Written for commit e43721a. Summary will update on new commits.
Review in cubic