Skip to content

Comments

chore(deps): update dependency guardian_db to v3#1326

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/guardian_db-3.x
Open

chore(deps): update dependency guardian_db to v3#1326
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/guardian_db-3.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 2, 2026

This PR contains the following updates:

Package Type Update Change
guardian_db (source) prod major ~> 2.0~> 3.0

Release Notes

ueberauth/guardian_db (guardian_db)

v3.0.0

  • Introduced Guardian.DB.Adapter behaviour to allow for custom database adapters to be used with Guardian DB.
    • Add config :guardian, Guardian.DB, adapter: Guardian.DB.EctoAdapter to fall back to the default Ecto adapter.
    • Added Guardian.DB.ETSAdapter.
    • Added Guardian.DB.EctoAdapter.
  • Allow migrations mix task with custom table name.
  • Make jti and aud required fields, since they are primary keys.
Breaking changes
  • Guardian.DB.Token.SweeperServer becomes Guardian.DB.Sweeper
  • sweep_interval option is no longer supported. Specify interval directly instead.
  • Sweep intervals are now specified in milliseconds instead of minutes.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Feb 2, 2026
@renovate
Copy link
Contributor Author

renovate bot commented Feb 2, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: mix.lock
Command failed: install-tool elixir v1.19.5

@@ -71,7 +71,7 @@ defmodule Cadet.Mixfile do
{:ex_machina, "~> 2.3"},
{:ex_rated, "~> 2.0"},
{:guardian, "~> 2.0"},

This comment was marked as outdated.

@renovate renovate bot force-pushed the renovate/guardian_db-3.x branch 2 times, most recently from f28d26a to 7ef55be Compare February 14, 2026 06:21
@renovate renovate bot force-pushed the renovate/guardian_db-3.x branch from 7ef55be to 5234d5a Compare February 20, 2026 18:36
@@ -71,7 +71,7 @@ defmodule Cadet.Mixfile do
{:ex_machina, "~> 2.3"},
{:ex_rated, "~> 2.0"},
{:guardian, "~> 2.0"},
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The application references Guardian.DB.Token.SweeperServer, which was renamed to Guardian.DB.Sweeper in Guardian.DB v3.0, causing a startup failure.
Severity: CRITICAL

Suggested Fix

In lib/cadet/application.ex, update the worker from Guardian.DB.Token.SweeperServer to Guardian.DB.Sweeper to use the correct module name for the new version.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: mix.exs#L73

Potential issue: The application's worker list references
`Guardian.DB.Token.SweeperServer`. Following the upgrade to Guardian.DB v3.0, this
module has been renamed to `Guardian.DB.Sweeper`. This incorrect module reference will
cause the application to fail during initialization because the specified module no
longer exists, preventing the application from starting.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants