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

Geoffery10 / Discord-Role-Manager / 27889998957
90%

Build:
DEFAULT BRANCH: main
Ran 21 Jun 2026 01:44AM UTC
Jobs 1
Files 22
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

21 Jun 2026 01:43AM UTC coverage: 64.807% (+5.5%) from 59.308%
27889998957

push

github

Geoffery10
Add test_update.py — update.py now at 98% coverage

update.py went from 0% to 98%. 13 new tests cover the daily-task
runner plus its per-member sync logic.

update_database branches:
  - adds new user when member has no DB row
  - updates discriminator when stale (Discord username migration)
  - updates username when stale
  - updates avatar when stale
  - handles member.avatar = None without crashing
  - is a no-op when member is fully synced
  - links to new guild without duplicating existing rows
  - handles empty members list

update() orchestrator:
  - iterates each guild, calls check_birthday once per guild,
    spawns update_database tasks and gathers them
  - empty guild list path

check_if_update_needed() gate:
  - runs update() and overwrites last_update.json when day changed
  - skips update() when last_update.json matches today
  - overwrites last_update.json BEFORE running update() so a crash
    inside update() doesn't loop infinitely on next startup

The one uncovered line (49) is dead code: a hardcoded
'DEBUG = False' inside check_if_update_needed makes the else branch
unreachable without modifying source. Worth flagging for cleanup
in a follow-up.

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

1475 of 2276 relevant lines covered (64.81%)

0.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27889998957.1 21 Jun 2026 01:44AM UTC 22
64.81
GitHub Action Run
Source Files on build 27889998957
  • Tree
  • List 22
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27889998957
  • 89d55342 on github
  • Prev Build on main (#27889910644)
  • Next Build on main (#27890045690)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc