Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save report csv to bucket #2107

Open
terrazoon opened this issue Nov 13, 2024 · 0 comments · May be fixed by #2115
Open

Save report csv to bucket #2107

terrazoon opened this issue Nov 13, 2024 · 0 comments · May be fixed by #2115
Assignees

Comments

@terrazoon
Copy link
Contributor

As we move to asynchronous report generation, we need to store the report csv in the bucket when it is finished, so the UI can access it for download.

Store the reports in the form:

reports/service_id/user_id/number_of_days_in_report/report.csv. If an old report already exists, delete it before doing the upload.

This way there is always only one copy of each report (1,3,5,7 day) for each user, and it is the latest version. The normal csv deleting job should remove reports more than 7 days old (but we should verify that).

@terrazoon terrazoon converted this from a draft issue Nov 13, 2024
@terrazoon terrazoon self-assigned this Nov 13, 2024
@terrazoon terrazoon moved this from ⬇ Up-Next to 🏗 In progress (WIP: ≤ 3 per person) in Notify.gov product board Nov 13, 2024
@terrazoon terrazoon linked a pull request Nov 14, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗 In progress (WIP: ≤ 3 per person)
Development

Successfully merging a pull request may close this issue.

1 participant