Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Ownership proxy logs a client exit at :error; the pool logs the same exit at :info

Closed Beginner friendly
#361 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
76/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
elixir
Domain
backend

Research direction

Read connection_pool.ex:153-155 and trace the client-exit path from proxy.ex:154 to shutdown/2 at proxy.ex:248. Check the existing tests for ownership proxy client exits, then pass severity: :info on that path and add or update coverage to verify it matches the pool's orderly-exit logging.

Written by the indexing model from the issue text.

Description

When a client exits while holding a connection, DBConnection.ConnectionPool builds the ConnectionError with severity: :info (connection_pool.ex:153-155). DBConnection.Ownership.Proxy builds the same "client … exited" error through shutdown/2 (proxy.ex:154 → :248) with no severity, so it's logged at :error. Test suites that fail on error-level logs then fail whenever a test ends while a LiveView or Task is mid-query, even though the real pool treats that exit as orderly.

Proposal: pass severity: :info from the proxy's client-exit path to match the pool.

Drafted by Claude on behalf of @trevor-lyvi.

Dominant language
Elixir
Stars
353
Forks
123
Avg merge
14m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from elixir-ecto/db_connection

All issues in elixir-ecto/db_connection

Similar issues

More Elixir issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.