The GitHub Actions job "Tests (AMD)" on airflow.git/backport-69495 has 
succeeded.
Run started by GitHub user pierrejeambrun (triggered by pierrejeambrun).

Head commit for run:
6a88c2e26e2b0f5736668bf5ffd4aff8efbec6a4 / Kushagra Gupta 
<[email protected]>
Remove redundant session.commit() calls in FastAPI route handlers (#69495)

The database session in the FastAPI layer is injected via the SessionDep 
dependency, which automatically commits the transaction when a request 
completes successfully. Explicitly calling session.commit() inside the route 
handler is redundant and circumvents the dependency's intended transaction 
lifecycle management. This brings the route handlers in line with the codebase 
guideline that prohibits functions accepting a session parameter from calling 
commit.

(cherry picked from commit 5e23c6a0cc8d5d3ca9d329b7b3e4c3c87deee2e1)

Report URL: https://github.com/apache/airflow/actions/runs/28954380178

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to