Ownership proxy logs a client exit at :error; the pool logs the same exit at :info
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from elixir-ecto/db_connection
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
elixir-ecto/db_connection#346 ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
elixir-ecto/db_connection#299 · 2 comments ·
All issues in elixir-ecto/db_connection
Similar issues
-
feat: signup pageOpend: medium
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
L: javascript
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dependabot/dependabot-core#16744 ·
Maintainers usually reply within 1 day
-
bug P2
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
elixir-ecto/tds#191 ·