Skip to content

Conversation

@dheerajturaga
Copy link
Member

@dheerajturaga dheerajturaga commented Feb 1, 2026

The test constructed ExecuteTask and TaskInstance via model_construct(),
which bypasses Pydantic validation. Fields added or made required by
#50825 (dag_version_id, pool_slots) and inherited from BaseDagBundleWorkload
(token, dag_rel_path, bundle_info, log_path) were missing. This went
unnoticed until #60675 changed task dispatch to run in ProcessPoolExecutor
subprocesses where mock patches don't apply, causing the real
execute_workload (with full schema validation) to run on the worker.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)
    ClaudeCode

…n test

  The test constructed ExecuteTask and TaskInstance via model_construct(),
  which bypasses Pydantic validation. Fields added or made required by
  apache#50825 (dag_version_id, pool_slots) and inherited from BaseDagBundleWorkload
  (token, dag_rel_path, bundle_info, log_path) were missing. This went
  unnoticed until apache#60675 changed task dispatch to run in ProcessPoolExecutor
  subprocesses where mock patches don't apply, causing the real
  execute_workload (with full schema validation) to run on the worker.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant