Files
Juan DenisandClaude Fable 5 1316feaad3 refactor(scale): ContainerScaleService owns its rollback
set_policy assigned fields to the ORM row and then raised ValueError
mid-validation, leaving the API route to clean up the dirty session with a
direct db.session.rollback() — a new controller-boundary crossing the
inventory ratchet rightly refused. The service now wraps apply+commit and
rolls back before re-raising, so callers never inherit a dirty session.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-28 22:20:33 -04:00
..