Skip to content

Conversation

@TkTech
Copy link
Owner

@TkTech TkTech commented Oct 26, 2025

0.25.1

✨ Improvements

  • Added the Trigger plugin, which allows you to start jobs when arbitrary
    database events occur, such as inserts, updates, or deletes.
  • Ensure fetch_workflows_ex always has guaranteed deterministic ordering of
    the returned workflow steps.
  • Workflow's now validate before pushing, ensuring workflows with circular
    dependencies or invalid dependencies cannot be created.
  • Test against PostgreSQL 18 and Python 3.14.
  • The metrics plugin now tracks metrics on its own operations.
  • Added Chancy.purge_jobs() and Chancy.retry_jobs() to bulk purge or
    retry specific jobs by reference.
  • Added _ex versions of purge_jobs, retry_jobs, pause_queue,
    resume_queue, delete_queue, and cancel_job to allow passing in a
    cursor for transactional operations.

🐛 Fixes

  • Fix a workflow's on_single_step_completed potentially running after the
    worker has lost leadership. Due to the workflow lock, this could not have
    resulted in duplicate work

@codecov
Copy link

codecov bot commented Oct 26, 2025

Codecov Report

❌ Patch coverage is 93.66197% with 18 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.19%. Comparing base (e7d4850) to head (0cb14b1).
⚠️ Report is 18 commits behind head on main.

Files with missing lines Patch % Lines
chancy/plugins/metrics/metrics.py 82.25% 11 Missing ⚠️
chancy/app.py 92.00% 4 Missing ⚠️
chancy/plugins/trigger/__init__.py 97.72% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #56      +/-   ##
==========================================
+ Coverage   71.88%   73.19%   +1.30%     
==========================================
  Files          56       58       +2     
  Lines        2938     3193     +255     
==========================================
+ Hits         2112     2337     +225     
- Misses        826      856      +30     
Flag Coverage Δ
unittests 73.19% <93.66%> (+1.30%) ⬆️

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 merged commit b0e3e94 into main Oct 29, 2025
30 of 32 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