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

Schedule report tasks and add report preview view #1620

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

GregKaleka
Copy link
Collaborator

@GregKaleka GregKaleka commented Jan 29, 2025

  • Significantly improved the speed of the "Do Everything" (DE) button by restricting the data imports to the most recent two versions (for diffing), when before they were importing everything, taking hours. Should now take less than an hour to complete.
  • Added actual report generation and caching to the DE button (this takes only a few extra seconds)
  • Added a weekly scheduled task that runs the DE process
  • Added a url and view for staff only that shows the cached report for a given version if it exists, available at /releases/<version_slug>/report

Note: I have not implemented PDF rendering. I can do so, but wanted to have some discussion about what library to use. I've used WeasyPrint in the past, and the results have been good, though I recall the dev experience being annoying (someone on the team was always having to install some supporting thing on their machine).

Fixes #1603

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scheduled task for updated weekly release report preview
1 participant