From 96dcb8016b3e36291e9b082948f7eb7b3ebece7f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Dec 2026 18:48:18 +0000 Subject: [PATCH 1/2] chore(deps): bump zizmorcore/zizmor-action from 0.8.0 to 0.9.2 Bumps [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action) from 0.8.0 to 0.9.2. - [Release notes](https://github.com/zizmorcore/zizmor-action/releases) - [Commits](https://github.com/zizmorcore/zizmor-action/compare/53290badfa369cb0bf7ad16342cb62c2fa47ac7b...1b4550e929643b8b26a62303c6bd64814271a4f1) --- updated-dependencies: - dependency-name: zizmorcore/zizmor-action dependency-version: 0.9.2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/zizmor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index 4cb7af5..b6e563b 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -20,4 +20,4 @@ jobs: persist-credentials: false - name: Run zizmor 🌈 - uses: zizmorcore/zizmor-action@53290badfa369cb0bf7ad16342cb62c2fa47ac7b # v0.8.0 + uses: zizmorcore/zizmor-action@1b4550e929643b8b26a62303c6bd64814271a4f1 # v0.9.2 From ea7ed23bb0b710cc76edab80d18bfd0873c9f1e3 Mon Sep 17 00:00:00 2001 From: Drew Robinson Date: Wed, 2 Dec 2026 11:39:45 +1100 Subject: [PATCH 2/2] test: supervise the shared Integration.TestRepo in setup_all Four modules started EctoLibSql.Integration.TestRepo with start_link in setup_all and never stopped it. The repo died only when its linked setup_all process exited, asynchronously, so the next module could find the name still registered and fail with :already_started, invalidating every test in it. start_supervised! stops the repo before the next module runs. Closes kata rsn2. Claude-Session: https://claude.ai/code/session_01LR8MxKNHZfhfopXM58LKwG --- test/ecto_sqlite3_crud_compat_test.exs | 3 ++- test/ecto_sqlite3_returning_debug_test.exs | 3 ++- test/in_expression_comprehensive_test.exs | 3 ++- test/returning_clause_test.exs | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/test/ecto_sqlite3_crud_compat_test.exs b/test/ecto_sqlite3_crud_compat_test.exs index 593cc7e..1561f12 100644 --- a/test/ecto_sqlite3_crud_compat_test.exs +++ b/test/ecto_sqlite3_crud_compat_test.exs @@ -25,7 +25,8 @@ defmodule EctoLibSql.EctoSqlite3CrudCompatTest do database: @test_db ) - {:ok, _} = EctoLibSql.Integration.TestRepo.start_link() + # Supervised so ExUnit stops the shared repo before the next module starts it. + start_supervised!(EctoLibSql.Integration.TestRepo) # Create tables manually - migration approach has ID generation issues Ecto.Adapters.SQL.query!(TestRepo, """ diff --git a/test/ecto_sqlite3_returning_debug_test.exs b/test/ecto_sqlite3_returning_debug_test.exs index 866f3d7..bcb360e 100644 --- a/test/ecto_sqlite3_returning_debug_test.exs +++ b/test/ecto_sqlite3_returning_debug_test.exs @@ -21,7 +21,8 @@ defmodule EctoLibSql.EctoSqlite3ReturningDebugTest do log: :info ) - {:ok, _} = EctoLibSql.Integration.TestRepo.start_link() + # Supervised so ExUnit stops the shared repo before the next module starts it. + start_supervised!(EctoLibSql.Integration.TestRepo) # Run migrations :ok = diff --git a/test/in_expression_comprehensive_test.exs b/test/in_expression_comprehensive_test.exs index e6191f8..30b5f42 100644 --- a/test/in_expression_comprehensive_test.exs +++ b/test/in_expression_comprehensive_test.exs @@ -35,7 +35,8 @@ defmodule EctoLibSql.InExpressionComprehensiveTest do database: @test_db ) - {:ok, _} = EctoLibSql.Integration.TestRepo.start_link() + # Supervised so ExUnit stops the shared repo before the next module starts it. + start_supervised!(EctoLibSql.Integration.TestRepo) # Create test tables Ecto.Adapters.SQL.query!(TestRepo, """ diff --git a/test/returning_clause_test.exs b/test/returning_clause_test.exs index 8ab0517..07625a3 100644 --- a/test/returning_clause_test.exs +++ b/test/returning_clause_test.exs @@ -28,7 +28,8 @@ defmodule EctoLibSql.ReturningClauseTest do database: @test_db ) - {:ok, _} = EctoLibSql.Integration.TestRepo.start_link() + # Supervised so ExUnit stops the shared repo before the next module starts it. + start_supervised!(EctoLibSql.Integration.TestRepo) # Run migrations. :ok =