Skip to content

Poll transient GDI sub-DAG states - #162

Open
njzjz-bot wants to merge 1 commit into
deepmodeling:develfrom
njzjz-bot:codex/issue-137-gdi-transient-states
Open

Poll transient GDI sub-DAG states#162
njzjz-bot wants to merge 1 commit into
deepmodeling:develfrom
njzjz-bot:codex/issue-137-gdi-transient-states

Conversation

@njzjz-bot

Copy link
Copy Markdown
Contributor

Summary:

  • classify queued, scheduled, retrying, deferred, restarting, running, and briefly absent DAG runs as transient
  • keep polling those states instead of raising an immediate Airflow failure
  • add focused state-classification tests

Tests:

  • PYTHONPATH=.. python -m unittest test_dag_utils -v
  • python -m ruff check --select I,F --ignore F841 dpti/dags/utils.py dpti/dags/dp_ti_gdi.py tests/test_dag_utils.py

Fixes #137

Coding agent: Codex
Codex version: codex-cli 0.149.0
Model: gpt-5.6-sol
Reasoning effort: xhigh

Treat queued, scheduled, running, retrying, deferred, restarting, and briefly absent DAG runs as transient polling states. Preserve terminal failure handling and add state-classification tests.

Coding-Agent: Codex
Codex-Version: codex-cli 0.149.0
Model: gpt-5.6-sol
Reasoning-Effort: xhigh
@coderabbitai

coderabbitai Bot commented Aug 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 42 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 6264bfd6-2230-4cee-b8e4-a41c5ba1758f

📥 Commits

Reviewing files that changed from the base of the PR and between 78091bd and 270e892.

📒 Files selected for processing (3)
  • dpti/dags/dp_ti_gdi.py
  • dpti/dags/utils.py
  • tests/test_dag_utils.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Aug 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 0.00%. Comparing base (78091bd) to head (270e892).

Files with missing lines Patch % Lines
dpti/dags/utils.py 0.00% 6 Missing ⚠️
dpti/dags/dp_ti_gdi.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff          @@
##           devel    #162   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files         25      25           
  Lines       6665    6672    +7     
=====================================
- Misses      6665    6672    +7     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Code scan] GDI sub-DAG polling treats queued runs as failures

1 participant