Skip to content

fix: harden SQL connection lifecycle - #74

Merged
j6k4m8 merged 1 commit into
masterfrom
fix/sql-lifecycle-85
Jul 25, 2026
Merged

fix: harden SQL connection lifecycle#74
j6k4m8 merged 1 commit into
masterfrom
fix/sql-lifecycle-85

Conversation

@j6k4m8

@j6k4m8 j6k4m8 commented Jul 25, 2026

Copy link
Copy Markdown
Member

Summary

  • serialize operations that share a SQLAlchemy connection
  • add context-manager ownership for SQL backends
  • make close idempotent and reject mutations after closure
  • roll back pending transactions before shutdown
  • close the connection and dispose the engine pool
  • cover concurrent mutations and lifecycle cleanup

@codspeed-hq

codspeed-hq Bot commented Jul 25, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 8 untouched benchmarks


Comparing fix/sql-lifecycle-85 (cb86c84) with master (786a8d6)

Open in CodSpeed

@j6k4m8
j6k4m8 merged commit 7c0d2e8 into master Jul 25, 2026
7 checks passed
@j6k4m8
j6k4m8 deleted the fix/sql-lifecycle-85 branch July 25, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant