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

kobotoolbox / kpi / 13770767138
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: refactor-subsequences-2025
DEFAULT BRANCH: master
Ran 10 Mar 2025 06:09PM UTC
Jobs 1
Files 635
Run time 5min
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

10 Mar 2025 05:18PM UTC coverage: 80.855% (+0.008%) from 80.847%
13770767138

push

github

web-flow
feat(massEmail): query for identifying inactive users based on login, form activity, and submissions TASK-1581 (#5569)

### 📣 Summary
Detect and return a list of users who have been inactive for a specified
period based on login activity, project updates, and submissions.


### 📖 Description
This update introduces a method to identify inactive users who have not:

- Logged into their account.
- Modified their projects or had modifications made by others.
- Received submissions to their projects.

By default, the inactivity period is set to 365 days but can be
configured dynamically.


### 👀 Preview steps

1. Run `get_inactive_users(days=1)` in the shell, users inactive for 1+
days should be listed.
2. Modify `inactivity_threshold = now() - timedelta(minutes=2)`
3. Log in & log out, run `get_inactive_users()`, user should NOT be
listed. Wait 2 mins, run again, user should be listed now.
4. Log in, create a project, run `get_inactive_users()`, user should NOT
be listed. Wait 2 mins, run again, user should be listed now.
5. Change the name of the project, run `get_inactive_users()`, user
should NOT be listed. Wait 2 mins, run again, user should be listed now.
6. Add a submission, run `get_inactive_users()`, user should NOT be
listed. Wait 2 mins, run again, user should be listed.

5997 of 9529 branches covered (62.93%)

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

22886 of 28305 relevant lines covered (80.85%)

0.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13770767138.1 10 Mar 2025 06:09PM UTC 635
80.85
Source Files on build 13770767138
  • Tree
  • List 635
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 3729098f on github
  • Prev Build on main (#13769879100)
  • Next Build on main (#13772095855)
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