fix(chat): download generated files without stale storage URLs - #7858
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
|
Also addressed the bulk-download finding: failed files are counted and shown in an inline alert, successful files continue downloading, and a successful retry clears the alert. Covered partial failure and retry in the component tests and exercised the actual component under the application CSP. |
|
@cubic-dev-ai review this PR |
@icecrasher321 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 4 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@icecrasher321 I have started the AI code review. It will take a few minutes to complete. |
|
@cubic-dev-ai review this PR |
@icecrasher321 I have started the AI code review. It will take a few minutes to complete. |
Summary
Type of Change
Testing
192 focused tests, type-check, repository lint, and all 46 audits passed. Browser verification under restrictive CSP saved inline and served files with exact byte equality and kept denied files blocked. A real generated PNG downloaded byte-for-byte after its delivered signed URL expired. Regression coverage includes revoked and cross-workspace access, unauthenticated serving, arbitrary external provider IDs, unsafe URLs, bulk failure/retry, response-body cancellation, and safe browser navigation for CORS-restricted external downloads.
Checklist