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

kobotoolbox / kpi / 14362514546
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: beccagraber/dev-1452-new_action
DEFAULT BRANCH: master
Ran 09 Apr 2025 05:20PM UTC
Jobs 1
Files 639
Run time 2min
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

09 Apr 2025 04:42PM UTC coverage: 80.934% (+0.005%) from 80.929%
14362514546

push

github

web-flow
feat(massEmails): condense send interval on dev machines (#5657)

### đŸ“Ŗ Summary
Adds a test setting that condenses the mass email send job to treat 15
minutes as a day and run every 5 minutes. Only for use on testing/dev
machines.


### 💭 Notes
Hardcoded 15 and 5 since they are easy numbers to work with and, since
this is just a test endpoint, it's more important to get something out
quickly than to make it super flexible.


### 👀 Preview steps

Feature/no-change template:
1. â„šī¸ build your kpi and kpi_worker containers with
MASS_EMAILS_CONDENSE_SEND=True
2. â„šī¸ have at least 2 accounts
3. đŸŸĸ in the kpi_worker logs you should see, "Task
kobo.apps.mass_emails.tasks.send_emails received" every 5 minutes
4. update `user_queries.get_inactive_users` to look for users who were
idle for 2 seconds
5. Create a MassEmailConfig that users the inactive users query and add
to the daily send
6. đŸŸĸ At the closest 15 minute boundary, the email should send

6160 of 9761 branches covered (63.11%)

15 of 16 new or added lines in 2 files covered. (93.75%)

23347 of 28847 relevant lines covered (80.93%)

0.81 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
76.41
-0.08% kobo/settings/base.py
Jobs
ID Job ID Ran Files Coverage
1 14362514546.1 09 Apr 2025 05:20PM UTC 639
80.93
Source Files on build 14362514546
  • Tree
  • List 639
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • a2dd0d4b on github
  • Prev Build on main (#14360535190)
  • Next Build on main (#14384237089)
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

© 2026 Coveralls, Inc