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

Fix purged reports loading indefinitely #1581

Merged
merged 4 commits into from
Sep 11, 2024
Merged

Fix purged reports loading indefinitely #1581

merged 4 commits into from
Sep 11, 2024

Conversation

rien
Copy link
Member

@rien rien commented Sep 10, 2024

When reports would be purged by the server (without the front-end knowing) it would cause the front end to keep fetching the reports indefinitely. This PR aims to fix that issue.

This is caused by the the Rails API trying to create an URL for non-existing files, throwing an error and returning an internal server error. The front-end then never gets to update the report status, causing it to keep periodically fetching the report.

This PR also removes migration code for the old local storage key.

@rien rien added the bug Something isn't working label Sep 10, 2024
@rien rien force-pushed the fix/purged-report-error branch from 5799ff4 to 2b64d1b Compare September 11, 2024 13:14
@rien rien force-pushed the fix/purged-report-error branch from 2b64d1b to a8ac0ea Compare September 11, 2024 13:17
@rien rien marked this pull request as ready for review September 11, 2024 13:18
@rien rien enabled auto-merge September 11, 2024 13:22
@rien rien disabled auto-merge September 11, 2024 13:24
@rien rien merged commit aca8414 into main Sep 11, 2024
26 checks passed
@rien rien deleted the fix/purged-report-error branch September 11, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant