parkhojeong opened a new pull request, #66623:
URL: https://github.com/apache/airflow/pull/66623

    <!-- SPDX-License-Identifier: Apache-2.0
         https://www.apache.org/licenses/LICENSE-2.0 -->
   
   ### Problem
   The Calendar view currently includes queued runs in total-mode intensity 
calculations, causing queued-only
   cells to appear green. #66614 
   
   ### Fix
   Update the Calendar run color utilities so queued runs use the planned color 
treatment.
   
   Queued runs are now excluded from actual run intensity calculations in total 
mode and use the planned color
   treatment instead. Cells with both queued and actual runs render as mixed 
planned/actual colors, while queued-
   only cells no longer fall back to the empty color scale.
   
   Added focused tests for Calendar run count bounds and color selection across 
total and failed modes.
   
   | Before | After |
   | --- | --- |
   | <img width="607" height="588" alt="image" 
src="https://github.com/user-attachments/assets/c0e0d4fc-ae5f-4c34-b3cf-fbb9bb5049b2";
 /> | <img width="606" height="543" alt="image" 
src="https://github.com/user-attachments/assets/cc81b412-e4de-4488-a81a-cf003fbc9765";
 /> |
   
   Closes: #66614
   
   <!--
   Thank you for contributing!
   
   Please provide above a brief description of the changes made in this pull 
request.
   Write a good git commit message following this guide: 
http://chris.beams.io/posts/git-commit/
   
   Please make sure that your code changes are covered with tests.
   And in case of new features or big changes remember to adjust the 
documentation.
   
   Feel free to ping (in general) for the review if you do not see reaction for 
a few days
   (72 Hours is the minimum reaction time you can expect from volunteers) - we 
sometimes miss notifications.
   
   In case of an existing issue, reference it using one of the following:
   
   * closes: #ISSUE
   * related: #ISSUE
   -->
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   <!--
   If generative AI tooling has been used in the process of authoring this PR, 
please
   change below checkbox to `[X]` followed by the name of the tool, uncomment 
the "Generated-by".
   -->
   
   - [x] Yes (codex)
   
   <!--
   Generated-by: [Tool Name] following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   -->
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to