Skip to content

UI: Change queued Dag runs color to grey in Calendar#66623

Open
parkhojeong wants to merge 4 commits intoapache:mainfrom
parkhojeong:fix/ui-calendar-queued-runs
Open

UI: Change queued Dag runs color to grey in Calendar#66623
parkhojeong wants to merge 4 commits intoapache:mainfrom
parkhojeong:fix/ui-calendar-queued-runs

Conversation

@parkhojeong
Copy link
Copy Markdown
Contributor

@parkhojeong parkhojeong commented May 9, 2026

Problem

The Calendar view currently renders queued-only Total Runs cells in green, making them visually
indistinguishable from successful cells

repro.py
from __future__ import annotations

import pendulum

from airflow.sdk import DAG, task

with DAG(
    dag_id="repro",
    start_date=pendulum.datetime(2026, 4, 8, tz="UTC"),
    schedule=None,
) as dag:
    @task
    def noop():
        return "ok"

    noop()

repro

  • add repro.py
  • breeze start-airflow
  • airflowctl dags pause repro
  • airflowctl dags trigger --dag-id repro --dag-run-id queued --logical-date "2026-04-08T10:00:00+00:00"

Fix

Update the Calendar color utilities so queued runs use the Planned gray treatment instead of the green

Queued runs are excluded from actual run intensity calculations in total mode. Queued-only cells now render
with the planned color, and cells with both queued and actual runs render as mixed planned/actual colors.

Added focused tests for Calendar run count bounds and color selection across total and failed modes.

Before After
image image
image image

Closes: #66614


Was generative AI tooling used to co-author this PR?
  • Yes (codex gpt-5.5)

@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label May 9, 2026
@parkhojeong parkhojeong marked this pull request as ready for review May 9, 2026 11:40
@parkhojeong parkhojeong changed the title UI: Stop showing queued Dag runs as green in Calendar UI: Change queued Dag runs color to grey in Calendar May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI: Calendar view renders queued runs in solid green, indistinguishable from success

1 participant