From ed3c251142cc140ee084ba39e1c2bcb99f9a4bcb Mon Sep 17 00:00:00 2001 From: Graham McInitre Date: Thu, 16 Jul 2026 09:19:02 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20vendor=20oban=5Fweb=20=E2=80=94=20never?= =?UTF-8?q?=20pull=20oban=5Fpro=20from=20live=20repo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove conditional oban_repo_configured?() check that would pull oban_pro from repo.oban.pro when hex config contained credentials. The root mix.exs already provides oban_pro via vendored path. --- vendor/oban_web/mix.exs | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/vendor/oban_web/mix.exs b/vendor/oban_web/mix.exs index da486f89..93d685b9 100644 --- a/vendor/oban_web/mix.exs +++ b/vendor/oban_web/mix.exs @@ -129,23 +129,9 @@ defmodule Oban.Web.MixProject do end defp oban_pro_dep do - if oban_repo_configured?() do - [{:oban_pro, "~> 1.7.0", repo: :oban, only: [:test, :dev]}] - else - [] - end - end - - defp oban_repo_configured? do - hex_config = Path.expand("~/.hex/hex.config") - - case File.read(hex_config) do - {:ok, content} -> - String.contains?(content, "repo.oban.pro") - - {:error, _} -> - false - end + # Always use the vendored oban_pro provided by the root mix.exs. + # Never pull from the live oban repo regardless of hex config. + [] end defp aliases do