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

kobotoolbox / kpi / 14179567334
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: refactor-subsequences-2025
DEFAULT BRANCH: master
Ran 31 Mar 2025 07:54PM UTC
Jobs 1
Files 637
Run time 1min
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

31 Mar 2025 07:16PM UTC coverage: 80.835% (-0.01%) from 80.847%
14179567334

push

github

web-flow
fix(massEmails): fix plan name (#5639)

### đŸ“Ŗ Summary
Use the correct plan name in mass emails.


### 💭 Notes
Use product name instead of active_subscription_status.


### 👀 Preview steps

Note: in the redis container, run `redis-cli KEYS "*mass_emails*" |
xargs redis-cli DEL` between tests to make sure the mass email job runs.
May need to update the cron as well to run the job on a shorter interval
so you don't have to wait for the email sends.

Bug template:
1. â„šī¸ Enable stripe
2. â„šī¸ have at least one user with a professional plan
3. Update `kpi.kobo.apps.mass_emails.user_queries.get_inactive_users` to
use a timedelta of 2 seconds
4. Create a mass email config with query = 'users_inactive_for_365_days'
and "##plan_name##" somewhere in the template
5. Add config to daily send. Check either the logs or the /emails folder
for the emails, depending on what email backend you're using.
6. 🔴 [on main] The plan name for the user with the professional plan wil
be "$159.00 USD/month for Professional"
7. đŸŸĸ [on PR] The plan name will be "Professional"

6100 of 9684 branches covered (62.99%)

22 of 23 new or added lines in 2 files covered. (95.65%)

5 existing lines in 1 file now uncovered.

23190 of 28688 relevant lines covered (80.84%)

0.81 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
86.98
0.28% kobo/apps/stripe/utils.py

Uncovered Existing Lines

Lines Coverage ∆ File
5
86.06
-3.03% kobo/apps/organizations/models.py
Jobs
ID Job ID Ran Files Coverage
1 14179567334.1 31 Mar 2025 07:54PM UTC 637
80.84
Source Files on build 14179567334
  • Tree
  • List 637
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • afc6dde5 on github
  • Prev Build on main (#14172316895)
  • Next Build on main (#14181934891)
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