Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 19, 2026

Bumps oban from 2.20.1 to 2.20.2.

Changelog

Sourced from oban's changelog.

v2.20.2 — 2025-12-04

Enhancements

  • [Telemetry] Add domain to attach_default_logger metadata

    Although this information is present in the source attribute, it’s not part of the metadata, it’s part of the attributes. And when encode = true, it’s generated as a string, which makes it less convenient to work with.

  • [Cron] Add unique cron entry identifiers to job meta

    A id value is generated for each cron entry and stored in the job's meta to distinguish between different cron jobs with the same expression.

Bug Fixes

  • [Stager] Order staging query to maximize compound index usage

    The core compound index couldn't be utilized by staging queries when the planner estimated a large number of hits. Changing the query to order by scheduled_at and id, it becomes an index scan.

    It would still be more efficient to use a dedicated index, but OSS doesn't have any mechanisms for automatic concurrent index creation and we have to save it for later.

  • [Executor] Take measurements from the executing process

    When Producer starts jobs, it calls Executor.new in its own process, before handing it off to Task.Supervisor.async_nolink to call Executor.call. That means it used the Producer pid, and took measurements from that process.

  • [Oban] Set scheduled state correctly when updating with update_job/3

    When the scheduled_at timestamp is set during update_job, the state is automatically set to scheduled. This mirrors the functionality of insert_job.

    Note that the value of the timestamp isn't considered. Setting a timestamp in the past will set the job as scheduled. This isn't a problem in practice because the stager will change the state to available on the next cycle anyhow.

  • [Repo] Include :deadlock_detected in expected errors

    Deadlocks are automatically resolved by Postgres because it aborts one transaction. At that point, the retry should succeed quickly since the blocking transaction is gone.

Commits
  • 6e57e4b Release v2.20.2
  • e13b071 Include :deadlock_detected in expected errors
  • 3f67421 Bump credo from 1.7.13 to 1.7.14 in the development-dependencies group (#1376)
  • 854b7fd Bump actions/checkout from 5 to 6 (#1375)
  • 1d2c1f8 Update development dependencies
  • 106f3ea Bump the production-dependencies group with 2 updates (#1369)
  • d1789f1 README.md: Update explanatory link for queues (#1368)
  • a92ca5e Add domain to log metadata (#1364)
  • aa24e3b Update matrix for Elixir v1.19 and OTP 28.1
  • a1d20f2 Order stage query to maximize compound index usage
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [oban](https://github.com/oban-bg/oban) from 2.20.1 to 2.20.2.
- [Release notes](https://github.com/oban-bg/oban/releases)
- [Changelog](https://github.com/oban-bg/oban/blob/main/CHANGELOG.md)
- [Commits](oban-bg/oban@v2.20.1...v2.20.2)

---
updated-dependencies:
- dependency-name: oban
  dependency-version: 2.20.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code labels Jan 19, 2026
@github-project-automation github-project-automation bot moved this to New Issues in v2 Jan 19, 2026
@codecov
Copy link

codecov bot commented Jan 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.33%. Comparing base (74512be) to head (0f7cb54).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4335      +/-   ##
==========================================
+ Coverage   89.28%   89.33%   +0.05%     
==========================================
  Files         425      425              
  Lines       19979    19979              
==========================================
+ Hits        17838    17849      +11     
+ Misses       2141     2130      -11     

☔ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code

Projects

Status: New Issues

Development

Successfully merging this pull request may close these issues.

1 participant