-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Multipart package publish leaves Convex blobs after a failed publish #3673
Copy link
Copy link
Closed
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:bulk-filedClawSweeper detected a high recent issue-filing volume from this author.ClawSweeper detected a high recent issue-filing volume from this author.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Activity
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:bulk-filedClawSweeper detected a high recent issue-filing volume from this author.ClawSweeper detected a high recent issue-filing volume from this author.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Priority
None yet
Summary
Authenticated multipart package publish stores the ClawPack tarball and extracted files (or loose uploaded files) before
publishPackageImplvalidates name, version, account age, and owner. Handler catch maps those failures to HTTP 400 and does not delete the new storage ids.This is a source-level resource leak. I did not run a live production package publish.
Verification / reproduction
convex/httpApiV1/packagesV1.tsparseMultipartPackagePublish/publishPackageV1Handler.storeUploadedPackageFile.storage.deletethose ids.Actual
Expected
publishPackageImplfails before a release owns them.Evidence
Source:
convex/httpApiV1/packagesV1.ts. Proposed patch: PR #3613.Sibling: #3549 is skill multipart only.
Security / privacy
Authenticated publisher storage leak. Not a claimed unauthenticated vuln.
Acceptance criteria
This tracker stays open if PR #3613 is closed without landing on
main.