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

thumbor / remotecv / 39876288252
94%

Build:
DEFAULT BRANCH: master
Ran 23 Oct 2026 12:09AM UTC
Jobs 5
Files 25
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

23 Oct 2026 12:08AM UTC coverage: 84.413% (+0.5%) from 83.951%
39876288252

push

github

web-flow
Refuse pyres jobs whose class is not DetectTask (#117)

pyres resolves the "class" field of every payload with __import__ and then
calls perform(*args) on whatever it finds, so anyone who can push to the
Detect queue in Redis chooses which module the worker imports and which
callable it runs. The worker only ever expects remotecv.pyres_tasks.DetectTask
on that queue, so there is no reason to let any other class through.

UniqueWorker.before_process now raises ValueError for any class outside a
fixed allowlist, after removing the unique key so a legitimate re-enqueue of
the same image is not blocked. pyres catches the exception, records the job
on resque:failed and moves on, which is the same path a crashing job takes
today. This does not change who can reach Redis, so the SECURITY.md advice
to restrict access to it still stands; it only closes the arbitrary-import
path through this worker.

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

482 of 571 relevant lines covered (84.41%)

4.22 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.13 - 39876288252.1 23 Oct 2026 12:09AM UTC 25
84.41
GitHub Action Run
2 run-3.12 - 39876288252.2 23 Oct 2026 12:09AM UTC 25
84.41
GitHub Action Run
3 run-3.10 - 39876288252.3 23 Oct 2026 12:09AM UTC 25
84.41
GitHub Action Run
4 run-3.14 - 39876288252.4 23 Oct 2026 12:09AM UTC 25
84.41
GitHub Action Run
5 run-3.11 - 39876288252.5 23 Oct 2026 12:09AM UTC 25
84.41
GitHub Action Run
Source Files on build 39876288252
  • Tree
  • List 25
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39876288252
  • 29808fb7 on github
  • Prev Build on master (#39287897391)
  • Next Build on master (#39877628186)
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