fix(web): update data export download expiry copy to 24 hours - #5187
Conversation
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
| The export includes your App Builder project titles and the prompt prefixes recorded | ||
| with your usage history. Large accounts can take a while to generate. We'll email | ||
| you when it's ready, and downloads expire 7 days after that. | ||
| you when it's ready, and downloads expire 24 hours after that. |
There was a problem hiding this comment.
WARNING: New copy says downloads expire after 24 hours, but the backend still expires exports 7 days after completion
When an export completes, the user-data-export worker sets expires_at = now() + interval '7 days' (services/user-data-export/src/databases.ts:117), and the presigned download URL TTL is derived from that expires_at (services/user-data-export/src/index.ts, downloadExpiration). This PR changes only the UI copy, so after merge the page will tell users downloads expire in 24 hours while they actually remain available for 7 days. If the intent is a real 24-hour expiry, the worker change needs to ship with (or before) this copy; otherwise the copy should stay at 7 days. Note: the 24-hour figure matches the separate re-request throttle (apps/web/src/routers/user-exports-router.ts: "You can request one data export every 24 hours"), which is a different limit.
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
Code Review SummaryStatus: 1 Issue Found | Recommendation: Address before merge Executive SummaryThe updated copy claims downloads expire 24 hours after the export is ready, but the user-data-export backend still sets Overview
Issue Details (click to expand)WARNING
Files Reviewed (1 file)
Fix these issues in Kilo Cloud Reviewed by kimi-k3 · Input: 77.9K · Output: 8.3K · Cached: 808.8K Review guidance: REVIEW.md from base branch |
Summary
Updates the copy on the Data Exports page (
/data-exports) to reflect that downloads expire 24 hours after the export is ready, instead of 7 days.Changes
apps/web/src/app/(app)/data-exports/DataExportsClient.tsx: "downloads expire 7 days after that" → "downloads expire 24 hours after that"Notes
Copy-only change; no logic affected.