vatsrahul1001 commented on PR #59791:
URL: https://github.com/apache/airflow/pull/59791#issuecomment-3696907009

   > @iharsh02 I noticed Firefox and Chrome test failed and passed now after 
re-run, however some steps still retried. Can you check this? <img alt="image" 
width="1121" height="723" 
src="https://private-user-images.githubusercontent.com/43964496/530756755-9df8289b-ad38-48ca-b289-0fdad00f96f9.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjcwMjQzMzUsIm5iZiI6MTc2NzAyNDAzNSwicGF0aCI6Ii80Mzk2NDQ5Ni81MzA3NTY3NTUtOWRmODI4OWItYWQzOC00OGNhLWIyODktMGZkYWQwMGY5NmY5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjI5VDE2MDAzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBjNTllMzUyOWI1NDU5ZjlmOGFlOTNjNDJiM2I3ZmY2NDRhYmVkMDY2YWE4YzIwNGI5NmVhMDE1NzVhNDg0NTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.HuJB_8VrbkYZObo0vJB1rTxPtIfR8XnJMhvYc75tTtk";>
   
   
   I think issue might be in getPastDate(), which creates a range like 
2025-12-27T15:37 → 2025-12-28T15:37, but example_bash_operator runs at midnight 
(0 0 * * *). This range doesn't include midnight, so no runs match and the 
button stays disabled.
   
   Adding midnight might help
   
   ```
   const getPastDate = (daysAgo: number): string => {
     const date = new Date();
     date.setDate(date.getDate() - daysAgo);
     date.setHours(0, 0, 0, 0);  // Ensure we include midnight runs
     return date.toISOString().slice(0, 16);
   };
   ```


-- 
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