# Navigating the Grid View

***

#### Navigating the Grid View

* **The Matrix:** The Grid View shows a matrix where columns are DAG runs and rows are individual tasks.
* **Status Colors:** This is where you verify your trigger rules.
  * **Dark Green:** `success` (The parent task met the criteria).
  * **Pink:** `skipped` (The parent was skipped by a branch or a `ShortCircuitOperator`).
  * **Red:** `failed` (The parent crashed, which might block your downstream task depending on the rule).
  * **Light Blue:** `scheduled` or `queued` (The task is waiting for its trigger rule to be evaluated).

***

#### Monitoring the "Join" Logic

When you use `none_failed_min_one_success`, you can watch the evaluation in real-time:

1. As soon as one branch turns **Dark Green** and the other turns **Pink**, the scheduler immediately evaluates the "Join" task.
2. If the rule is met, the "Join" task turns **Tan** (running) and then **Dark Green**.
3. If you had accidentally used the default `all_success`, you would see the "Join" task turn **Pink** the moment the first branch was skipped.<br>

***

#### The "Task Instance Details" Tab

If a task isn't running and you aren't sure why, click on the specific square in the grid and look at the **Details** tab:

* **Dependency Resolution:** Airflow will explicitly tell you: *"Task is in the 'none\_failed\_min\_one\_success' state but the trigger rule has not been met"* or *"All dependencies met"*.
* **Trigger Rule Info:** It shows the count of parent states (e.g., `successes: 1, skipped: 1, failed: 0`).

***

#### Summary Table for Debugging in the UI

| **If the Grid shows...**          | **It usually means...**                                                   |
| --------------------------------- | ------------------------------------------------------------------------- |
| **Pink "Join" Task**              | You likely used `all_success` (default) but one parent was skipped.       |
| **Orange/Upstream Failed**        | A parent failed and your rule (like `none_failed`) requires success/skip. |
| **Green "Join" with Pink Parent** | Your `none_failed_min_one_success` rule worked perfectly!                 |

***
