-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Package publish leaves a legacy ZIP after a rejected release #3677
Copy link
Copy link
Open
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:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.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:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.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.security
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:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.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:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.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.security
Type
Fields
Priority
None yet
Summary
Non-npm-pack package publish stores a new legacy ZIP in Convex, then can reject the release (reusable attempt, version already exists, or a throw before
insertReleaseInternal). Those paths never delete the new zip id.discardPendingPackagePublicationInternalonly deletes blobs already attached to a pending release.This is a source-level resource leak. I did not run a live production package publish.
Verification / reproduction
convex/packages.tspublishPackageImplaround the legacy zipctx.storage.store.legacyZipStorageIdis not deleted on those paths.Actual
Expected
legacyZipStorageIdon every return or throw before the release row ownsclawpackStorageId.Evidence
Source:
convex/packages.ts. Proposed patch: PR #3622.Sibling: #3613 covers multipart
packagesV1stores, not thispublishPackageImplzip.Security / privacy
Authenticated publisher storage leak. No secret exposure.
Acceptance criteria
This tracker stays open if PR #3622 is closed without landing on
main.