Skip to content

Conversation

@TkTech
Copy link
Owner

@TkTech TkTech commented Aug 13, 2025

0.25.0

🚨 This release requires that you run migrations, as it adds a new queue
setting, eager_polling. Call chancy.migrate() or use the CLI:

chancy --app <your app> misc migrate

✨ Improvements

  • Chancy.wait_for_job() now accepts a list of states to wait for, so you can
    use it to wait for a job to begin running, retried, etc... instead of just
    finished.
  • Reference() objects are now hashable and have equality.
  • Chancy.wait_for_jobs() added to wait for multiple jobs to finish.
  • Chancy.get_jobs() added to fetch multiple jobs by ID in a single query.
  • Added the eager_polling option to Queue to trigger immediate polling
    whenever an executor slot becomes free. This is useful for low-latency
    processing of jobs with low concurrency, but may increase database load (Set queue wake event when executor is not full anymore #48)

🐛 Fixes

PaulM5406 and others added 2 commits July 31, 2025 17:30
@codecov
Copy link

codecov bot commented Aug 13, 2025

Codecov Report

❌ Patch coverage is 94.54545% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.88%. Comparing base (4026904) to head (27bd3e7).

Files with missing lines Patch % Lines
chancy/job.py 86.66% 2 Missing ⚠️
chancy/app.py 96.15% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #49      +/-   ##
==========================================
+ Coverage   71.26%   71.88%   +0.61%     
==========================================
  Files          55       56       +1     
  Lines        2899     2938      +39     
==========================================
+ Hits         2066     2112      +46     
+ Misses        833      826       -7     
Flag Coverage Δ
unittests 71.88% <94.54%> (+0.61%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@TkTech TkTech changed the title v0.24.4 v0.24.4 - General Bug Fixes Aug 15, 2025
@TkTech TkTech merged commit e7d4850 into main Sep 3, 2025
1 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants