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

   Backport of #70670 to `v3-3-test`. **Not a plain cherry-pick** — the 
generated models had to be regenerated against v3-3-test's own spec rather than 
copied from main.
   
   **What was done:**
   - Bumped `datamodel-code-generator[http]` floor `0.33.0` → `>=0.71.0` in 
`task-sdk/pyproject.toml` and `airflow-ctl/pyproject.toml` (clears the 
advisories in that range; codegen is a dev-only dependency group), plus the 
AGENTS.md command doc.
   - Regenerated the datamodels **against v3-3-test's spec** with the new tool 
via the codegen prek hooks (`generate-tasksdk-datamodels`, 
`generate-airflowctl-datamodels`, `generate-supervisor-schemas-snapshot`). 
`check-supervisor-schemas-versions` passes — the server contract is unchanged; 
this is purely a rendering change (drops spurious `= None` defaults on 
required-nullable fields; tightens `list[Any]` roots to typed tuples).
   - Updated the affected test constructions for the now-required nullable 
fields; re-locked `uv.lock`.
   
   **Intentionally excluded:** `test_task_command.py` (main-only) and main's 
divergent `test_operations.py` tail (tests ctl task-instance operations that 
don't exist on this branch).
   
   Local `mypy` for both `airflow-ctl` and `task-sdk` is green; codegen is 
idempotent on re-run.
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.8)
   
   Generated-by: Claude Code (Opus 4.8) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
 — manual backport with local regeneration + test adaptation (documented above).


-- 
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