Skip to content

fix(web): preserve personal bucket lookup failures - #3558

Open
yashranaway wants to merge 1 commit into
CapSoftware:mainfrom
yashranaway:fix/custom-bucket-access
Open

yashranaway wants to merge 1 commit into
CapSoftware:mainfrom
yashranaway:fix/custom-bucket-access

Conversation

@yashranaway

@yashranaway yashranaway commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

if looking up a user's own s3 bucket settings failed (say a database error), we treated that the same as "no custom bucket" and quietly picked cap's default bucket. so someone who set up their own storage could have new uploads land in ours without knowing, which is exactly what they set up a bucket to avoid.

now the lookup error is passed through like the organization bucket lookup already does, so the request fails through the normal storage error path instead of switching destinations. no custom bucket at all still uses the default.

RetriggerView in GreptileConfidence Score: 5/5

This PR appears safe to merge.

Summary

Personal bucket lookup errors now reach the caller instead of silently selecting Cap storage.

  • Personal uploads no longer switch to Cap storage when a bucket lookup fails.

Reviews (1) · Last reviewed commit: "fix(web): preserve personal bucket looku..." · Reviewed by Greptile

@vercel

vercel Bot commented Oct 29, 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 Oct 29, 2026 8:48pm UTC

@vercel
vercel Bot temporarily deployed to Preview – cap-status October 29, 2026 20:48 Inactive
@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

This branch was previously deployed

1 inactive deployment
Preview – cap-status — 33573f8c Deployed Oct 29, 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant