-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Skill-card worker leaves a Convex blob when attach fails #3674
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: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.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: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.security
Type
Fields
Priority
None yet
Summary
The skill-card worker stores generated
skill-card.mdin Convex, then attaches it to the skill version. If attach fails (stale lease or missing / soft-deleted version), the new storage id is never deleted. Retries store another orphan.skillCards.tshas nostorage.delete.This is a source-level resource leak in the worker action. I did not run the production skill-card worker.
Verification / reproduction
convex/skillCards.tscompleteSkillCardJob(store, thenattachCardAndSucceedJobInternal)._storageid is not deleted.Actual
Expected
Evidence
Source:
convex/skillCards.ts. Proposed patch: PR #3614.Security / privacy
Worker storage leak. No secret exposure.
Acceptance criteria
This tracker stays open if PR #3614 is closed without landing on
main.