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

kobotoolbox / kpi / 15426576951
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: refactor-subsequences-2025
DEFAULT BRANCH: master
Ran 03 Jun 2025 08:31PM UTC
Jobs 2
Files 653
Run time 301min
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

03 Jun 2025 07:55PM UTC coverage: 81.094%. First build
15426576951

push

github

web-flow
feat(massEmails): adapt timeouts for condensed send mode (#5821)

### đŸ“Ŗ Summary
Lower the timeouts for mass email sends when in test mode.

### 💭 Notes
Update the time_limit option in the task decorator to be conditional on
whether or not we're in condensed send mode. Also adds the
soft_time_limit option because celery will ignore the regular time_limit
if soft_time_limit is higher.


### 👀 Preview steps
If you are using kobo-compose, you may need to recreate the kpi_worker
container (not just restart it).
Bug template:
1. â„šī¸ have a superuser account and at least one other account
2. Update `MASS_EMAIL_THROTTLE_PER_SECOND` to 1 and
`MASS_EMAIL_SLEEP_SECONDS` to 400
3. Add at least two user emails to `MASS_EMAIL_TEST_EMAILS`
4. Create a new MassEmailConfig with frequency=1 and using the
test_users query. Set it to live.
5. đŸŸĸ At the next 15 min boundary (+1 minute), the send_emails job should
run. It should send one email then throw a
TimeLimitExceeded error after 3 minutes

6279 of 9941 branches covered (63.16%)

4 of 4 new or added lines in 1 file covered. (100.0%)

23918 of 29494 relevant lines covered (81.09%)

1.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 15426576951.1 03 Jun 2025 08:31PM UTC 653
79.0
2 15426576951.2 03 Jun 2025 08:33PM UTC 653
81.07
Source Files on build 15426576951
  • Tree
  • List 653
  • Changed 19
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • e7bea330 on github
  • Prev Build on main (#15394659608)
  • Next Build on main (#15452610745)
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