Skip to content

Add script to send stuck report summary emails. #5476

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

neprune
Copy link
Contributor

@neprune neprune commented Apr 24, 2025

Similar to the send-failure-summary one used internally but can be filtered to reports for a specific body and specific categories, and uses the cobrand URL, so better suited for flagging stuck reports externally.

Also supports sending details of unconfirmed reports.

For https://github.com/mysociety/societyworks/issues/4879.

bexley-ggw-stuck-reports-cron branch in servers repo has the changes to set-up the cron for Bexley. Verified with test script runs on staging site.

[skip changelog]

Copy link

codecov bot commented Apr 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.56%. Comparing base (681853d) to head (f88b747).
Report is 24 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5476      +/-   ##
==========================================
- Coverage   82.30%   80.56%   -1.74%     
==========================================
  Files         429      418      -11     
  Lines       34164    34683     +519     
  Branches     5514     5541      +27     
==========================================
- Hits        28118    27943     -175     
- Misses       4407     5132     +725     
+ Partials     1639     1608      -31     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@neprune neprune force-pushed the bexley-ggw-stuck-reports-script branch 6 times, most recently from 7387865 to 4cf0440 Compare April 24, 2025 16:50
@neprune neprune marked this pull request as ready for review April 24, 2025 17:04
@neprune neprune force-pushed the bexley-ggw-stuck-reports-script branch 2 times, most recently from 4009ce4 to 5d7cfec Compare April 24, 2025 18:08
Similar to the send-failure-summary one used internally but can be filtered to reports for
a specific body and specific categories, and uses the cobrand URL, so better suited for
flagging stuck reports externally.

Also supports sending details of unconfirmed reports.

For mysociety/societyworks#4879.
@neprune neprune force-pushed the bexley-ggw-stuck-reports-script branch from 5d7cfec to f88b747 Compare April 24, 2025 18:22
@neprune neprune requested a review from dracos April 24, 2025 19:17
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.

1 participant