fix(database): rename max_overflow to pool_max_overflow#26
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests.
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
5395564 to
e4a7e3f
Compare
|
Claude finished @olivermeyer's task in 2m 5s —— View job Code Review Complete ✅Reviewing PR #26: SummaryThis PR renames 🚫 Blocking Issues1. Incorrect commit message format for breaking changeLocation: Commit message
Fix: According to FOUNDRY_README.md, breaking changes must use either: # Option 1: Exclamation mark
fix!: rename max_overflow to pool_max_overflow
# Option 2: BREAKING CHANGE footer
fix: rename max_overflow to pool_max_overflow
BREAKING CHANGE: Renamed `max_overflow` to `pool_max_overflow` in DatabaseSettings,
init_engine(), and all related functions. Environment variable changed from
{PREFIX}MAX_OVERFLOW to {PREFIX}POOL_MAX_OVERFLOW.This affects version bumping (should trigger a major version bump) and changelog generation. 💡 Suggestions2. Missing PR descriptionIssue: The PR body is empty ("No description provided") Suggestion: Add a description explaining:
Example: ## Motivation
Rename `max_overflow` to `pool_max_overflow` for consistency with other pool parameters (`pool_size`, `pool_timeout`).
## Breaking Changes
- Environment variable: `{PREFIX}MAX_OVERFLOW` → `{PREFIX}POOL_MAX_OVERFLOW`
- Python field: `DatabaseSettings.max_overflow` → `DatabaseSettings.pool_max_overflow`
- Function parameters: All database functions now use `pool_max_overflow`
## Migration
Update environment variables and any code passing explicit `max_overflow` parameters:
```python
# Before
init_engine(max_overflow=20)
# After
init_engine(pool_max_overflow=20) |
|
Merging this despite breaking change; we are the only consumers of the library. |
|



No description provided.