• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kobotoolbox / kpi / 15610804976 / 2
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: refactor-subsequences-2025
DEFAULT BRANCH: master
Ran 12 Jun 2025 01:20PM UTC
Files 653
Run time 185min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Jun 2025 12:42PM UTC coverage: 81.039%. First build
15610804976.2

push

github

web-flow
feat(massEmails): allow multiple sends of one-time emails DEV-574 (#5831)

### đŸ“Ŗ Summary
Allow one-off emails to be resent if they have completely finished
sending.


### 💭 Notes
Once a one-off email has records enqueued, set the 'live' flag to
read-only so it can not be set to False and then re-added until all
enqueued records have been sent. Once all records are sent for a one-off
email, set live to False so it is clear that it is no longer sending and
allow users to re-add it to the send list another day.



### 👀 Preview steps

Use mailhog or file-backed email send for easier testing.
1.  â„šī¸ have at least superuser account and one other account
2. Make sure MASS_EMAILS_CONDENSE_SEND is True
3. Set MAX_MASS_EMAILS_PER_DAY to 1
4. In admin, add two user emails to Constance > Config >
MASS_EMAIL_TEST_EMAILS
5. Create a new MassEmailConfigs, with the 'test_users' query and a
frequency of -1. Don't check 'live'
6. Add the new config to the daily send using the admin action
7. The new config should now show as live in the list view
8. đŸŸĸ At the next 15-minute boundary (:00, :15, :30, or :45) (give or
take a minute), the first user should receive the email
9. Before the next 15 minute boundary, go to the config in Django admin
10. đŸŸĸ The 'live' field should be read-only
11. Try to add the config to the daily send again using the admin action
12. đŸŸĸ You should get an error message "Emails for {config.name} have
already been scheduled"
13. đŸŸĸ At the next 15 minute boundary, the second user should receive the
email
14. Go back to the config in Django admin. 'live' should now be
unchecked
15. Try to add the config to the daily send again
16. đŸŸĸ The config should be successfully added to the next "day"'s send

6324 of 10003 branches covered (63.22%)

23925 of 29523 relevant lines covered (81.04%)

0.81 hits per line

Source Files on job 15610804976.2
  • Tree
  • List 653
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 15610804976
  • fdebd104 on github
  • Prev Job for on main (#15606802772.2)
  • Next Job for on main (#15610834001.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc