chore(deps): update dependency guardian_db to v3#1326
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
chore(deps): update dependency guardian_db to v3#1326renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
Contributor
Author
|
f28d26a to
7ef55be
Compare
7ef55be to
5234d5a
Compare
| @@ -71,7 +71,7 @@ defmodule Cadet.Mixfile do | |||
| {:ex_machina, "~> 2.3"}, | |||
| {:ex_rated, "~> 2.0"}, | |||
| {:guardian, "~> 2.0"}, | |||
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~> 2.0→~> 3.0Release Notes
ueberauth/guardian_db (guardian_db)
v3.0.0Guardian.DB.Adapterbehaviour to allow for custom database adapters to be used with Guardian DB.config :guardian, Guardian.DB, adapter: Guardian.DB.EctoAdapterto fall back to the default Ecto adapter.Guardian.DB.ETSAdapter.Guardian.DB.EctoAdapter.jtiandaudrequired fields, since they are primary keys.Breaking changes
Guardian.DB.Token.SweeperServerbecomesGuardian.DB.Sweepersweep_intervaloption is no longer supported. Specify interval directly instead.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.
This PR was generated by Mend Renovate. View the repository job log.