Investigate the SQLAlchemy autoflush warning in household.py #16
Labels
No labels
automerge
bug
dependencies
duplicate
help wanted
invalid
lang
rust
migrations
opencode
question
security
type
documentation
type
enhancement
type
maintenance
type
refactor
vulnerability
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Personal/kitchenowl-flake#16
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The backend periodically logs an SQLAlchemy
SAWarningabout aShoppinglistItemsobject that is not in the session, raised fromapp/models/household.py:215during autoflush. It may mean relationship writes are silently skipped.Context
Reproduction steps
Not yet determined. The warning appears during shopping list item updates; no minimal reproduction is known.
Expected behavior
Item updates are persisted without warnings.
Actual behavior
SQLAlchemy drops the pending relationship operation during autoflush and only warns.
Scope
Acceptance criteria
Dependencies