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

Geoffery10 / Discord-Role-Manager / 29950204037
90%

Build:
DEFAULT BRANCH: main
Ran 22 Jul 2026 07:16PM UTC
Jobs 1
Files 26
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

22 Jul 2026 07:14PM UTC coverage: 80.911% (+0.003%) from 80.908%
29950204037

push

github

Geoffery10
Silence no-op role logs and batch guild-user membership query

- role_handler: add_role and remove_role now return a Result namedtuple
  (did_work, message) instead of a bare string. did_work is True only
  when the Discord API was actually called. The 'user does not have the
  role' no-op returns did_work=False, which the caller uses to skip
  the log line — this was spamming one INFO per non-birthday user per
  day (thousands of lines per run across 6 guilds).
- birthday.check_birthday: replace the per-user is_user_in_guild() loop
  with a single get_guild_users(guild.id) call. One SQL query instead
  of N round-trips per guild. Visibly faster on the bot server
  (~19s/guild dropped to <1s for ~200 users).
- tests/test_role_handler: update 16 tests to access .message and
  .did_work on the new Result. Behavior coverage unchanged; the
  no-op assertion is now explicit (did_work is False and remove_roles
  is not awaited).

42 of 44 new or added lines in 3 files covered. (95.45%)

2166 of 2677 relevant lines covered (80.91%)

0.81 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
97.83
-2.17% birthday.py
Jobs
ID Job ID Ran Files Coverage
1 29950204037.1 22 Jul 2026 07:16PM UTC 26
80.91
GitHub Action Run
Source Files on build 29950204037
  • Tree
  • List 26
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29950204037
  • 7feeb584 on github
  • Prev Build on main (#29947658365)
  • Next Build on main (#29950793573)
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