-
Notifications
You must be signed in to change notification settings - Fork 7
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
Activity Page: Recent job reports not displaying (for some one-off sends) #1859
Comments
I updated the UI conditionals to ensure that "N/A" shows up after 7 days. However, this ticket requires the attention of a backend engineer to verify that the job exists and that the The issue at hand involves the display of the download button, which is dependent on the availability of the job's data. The get_time_left function calculates the time left based on the created_at timestamp. If the data retention period has passed, this function returns "Data no longer available," causing the table to display "N/A" instead of the download link, which would otherwise call view_job_csv. We need to ensure that the created_at timestamp for the job is accurate and consistent. In this example, two jobs appears to be processed around the same time, but check to see if created_at is accurate. A while back, there was this ticket created related to created_at not being accurate. It could be related: GSA/notifications-api#1199 |
GSA/notifications-api#1284 (possible fix to created_at issue) |
It looks like the issue may be resolved with @terrazoon's PR, which ensures the created_at timestamp is accurate. However, if this PR did indeed fix the issue, we still cannot change the timestamps for past jobs in the database. As a result, the download CSV file that were missing on the Activity page may exceed the 7-day limit, making that data unavailable to users. |
@heyitsmebev thanks for the flag. I didn't check the time-based reports, and wonder if these jobs show up in the there, i assume they are because we haven't heard otherwise from partners. To clarify, this issue wasn't surfaced from a partner directly, I found it as I was clicking through the WA service. So i think that it will be okay if we've fixed this for future jobs :) |
This has now been taken care of! |
Some jobs on Washinton's service even when sent less than 7-days ago are not displaying as downloadable on the All Activity table. (Screen shot shows a message sent yesterday, 8/15, as n/a).
This only seems to be the case on Washington's service. @em-herrick can provide an invite to their service as needed to investigate.
The text was updated successfully, but these errors were encountered: