shivaam opened a new pull request, #64815:
URL: https://github.com/apache/airflow/pull/64815

   ## Summary
   - Add tests verifying all public DAG API endpoints work correctly with 
deadline-bearing DAGs
   - Cover `GET /dags`, `GET /dags/{id}`, `GET /dags/{id}/details`, `PATCH 
/dags/{id}`, `PATCH /dags`, and `DELETE /dags/{id}`
   - Add `clear_db_deadline` and `clear_db_deadline_alert` to test cleanup to 
prevent FK constraint issues
   
   ## Details
   The public DAG endpoint tests (`test_dags.py`) never created DAGs with 
deadlines, so there was zero coverage for how the API behaves when 
`DagModel._deadline` has data and `SerializedDagModel.deadline_alerts` has 
FK-linked records.
   
   7 new test methods across 6 test classes. No existing tests modified.
   
   closes: #50992
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.6)
   
   Generated-by: Claude Code (Opus 4.6) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to