fix: duplicate session commit in step logging (#7512)

* fix: duplicate session commit in step logging

* update all callsites
This commit is contained in:
cthomas
2025-12-18 17:23:09 -08:00
committed by Caren Thomas
parent 4d8d9757aa
commit 9a95a8f976
27 changed files with 148 additions and 74 deletions

View File

@@ -218,7 +218,8 @@ async def clear_tables():
async with db_registry.async_session() as session:
await session.execute(delete(SandboxEnvironmentVariable))
await session.execute(delete(SandboxConfig))
await session.commit()
# context manager now handles commits
# await session.commit()
# --------------------------------------------------------------------------------------------------------------------