Skip to content

fix(web): delete Caps left behind by failed file imports - #3614

Open
yashranaway wants to merge 3 commits into
CapSoftware:mainfrom
yashranaway:fix/web-upload-page
Open

yashranaway wants to merge 3 commits into
CapSoftware:mainfrom
yashranaway:fix/web-upload-page

Conversation

@yashranaway

@yashranaway yashranaway commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

when a browser file import died partway (network drop etc) the cap row was already created, so it stayed in the library while the user got told to try again, and every retry made another one. videos showed upload failed forever and images were left with no media at all.

now if the upload fails before all the bytes are sent, or storage explicitly rejects it, the import deletes the cap it created (the web recorder already does the same), and the paste import refreshes so the deleted card doesn't hang around. if all the bytes went out and only the response got lost, an image is kept only when storage confirms it has the file, and a video keeps the existing processing check.

RetriggerView in GreptileConfidence Score: 5/5

The changes since the previous review appear safe to merge.

Summary

This PR deletes Caps created by failed file imports and refreshes the dashboard after a failed paste import.

  • Failed media imports remove Caps when uploads are incomplete or rejected.
  • Failed pasted imports refresh the dashboard page.

No new actionable issues were found in the changes since the previous review. Tests were inspected but not run.

Reviews (4) · Last reviewed commit: "fix(web): report rejected image uploads ..." · Reviewed by Greptile

@vercel
vercel Bot temporarily deployed to Preview – cap-status November 1, 2026 07:33 Inactive
@vercel

vercel Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
cap-status Skipped Skipped Nov 1, 2026 8:48am UTC
@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@vercel
vercel Bot temporarily deployed to Preview – cap-status November 1, 2026 09:19 Inactive
@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@vercel
vercel Bot temporarily deployed to Preview – cap-status November 1, 2026 09:48 Inactive

This branch was previously deployed

1 inactive deployment
Preview – cap-status — ed396f68 Deployed Nov 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant