{
"id": "fastapi-transaction-without-rollback",
"language": "python",
"group": "maintainability",
"listingTitle": "Review transaction without rollback",
"title": "Review transaction without rollback",
"mvvm": false,
"defaultSeverity": "info",
"legacyGroup": "maintainability",
"why": "A failed commit without rollback leaves the session transaction unusable.",
"suggestion": "Rollback the session before translating or rethrowing the failure.",
"version": 1,
"semanticMaturity": "project",
"securityKind": "none",
"taxonomy": [
"maintainability"
],
"requirements": [
"sourceText"
],
"packs": [
"fastapi"
],
"implementation": "src/rules/frameworks/fastapi.rs",
"languages": [
"python"
],
"frameworks": [
"fastapi"
],
"languageVersions": [],
"limitations": [
"Only explicit FastAPI decorators, common middleware, SQLAlchemy, JWT, and dependency patterns are resolved.",
"Framework wrappers, generated routes, runtime registrations, and external infrastructure cannot be resolved."
]
}