You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Code scan] GDI loop DAG crashes on missing Machine and Resources imports #136
Problem dpti_gdi_loop_md() calls Machine.load_from_dict() and Resources.load_from_dict(), but dpti/dags/dp_ti_gdi.py only imports Submission and Task from dpdispatcher.submission. The loop DAG will fail with NameError when it reaches MD submission.
Reproduction
Trigger the GDI loop DAG with valid mdata, submission_dict, and two task dictionaries. The MD task should deserialize dpdispatcher objects, but currently Machine and Resources are undefined.
Expected result
The DAG module should import Machine and Resources or use a dpdispatcher API that does not require these missing names.
Resolved on the current devel branch: dpti/dags/dp_ti_gdi.py imports Machine and Resources together with Submission and Task, so the loop DAG names are defined before deserialization. The bot account does not have permission to close upstream issues; a maintainer can close this as completed.
Activity
njzjz-bot commentedon Aug 23, 2026
Resolved on the current
develbranch:dpti/dags/dp_ti_gdi.pyimportsMachineandResourcestogether withSubmissionandTask, so the loop DAG names are defined before deserialization. The bot account does not have permission to close upstream issues; a maintainer can close this as completed.Coding agent: Codex
Codex version: codex-cli 0.149.0
Model: gpt-5.6-sol
Reasoning effort: xhigh