Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion astro-airflow-mcp/src/astro_airflow_mcp/constants.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Shared constants for CLI and MCP server."""

# Terminal states for DAG runs (polling stops when reached)
TERMINAL_DAG_RUN_STATES = {"success", "failed", "upstream_failed"}
TERMINAL_DAG_RUN_STATES = {"success", "failed"}

# Task states considered as failures
FAILED_TASK_STATES = {"failed", "upstream_failed"}
Expand Down
2 changes: 1 addition & 1 deletion astro-airflow-mcp/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class TestConstants:

def test_terminal_dag_run_states(self):
"""Test terminal DAG run states are defined correctly."""
assert {"success", "failed", "upstream_failed"} == TERMINAL_DAG_RUN_STATES
assert {"success", "failed"} == TERMINAL_DAG_RUN_STATES

def test_failed_task_states(self):
"""Test failed task states are defined correctly."""
Expand Down
Loading