shubhamraj-git opened a new pull request, #77267:
URL: https://github.com/apache/airflow/pull/77267

   The "shows each watched asset's own latest event" test in `Trigger.test.tsx` 
expects `2026-09-01 12:00:00`, the UTC rendering of the asset event's 
timestamp, but rendered the page under `TimezoneProvider`, which picks up the 
machine's timezone. Anyone running the UI tests outside UTC got a failure 
unrelated to their change (in IST the row showed `17:30:00`).
   
   The test now renders with the UI timezone fixed to UTC, the way 
`Time.test.tsx`, `DurationChart.test.tsx`, `DateTimeInput.test.tsx` and other 
UI tests that check displayed times already do. Production code is unchanged.
   
   Tested from `airflow-core/src/airflow/ui`:
   - `pnpm vitest run src/pages/Trigger/Trigger.test.tsx`: 1 failed / 9 passed 
in Asia/Calcutta before the change; 10/10 passed after it in Asia/Calcutta, 
UTC, America/Los_Angeles, Pacific/Kiritimati and Etc/GMT+12.
   - `pnpm lint` passes.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 5.5)
   
   Generated-by: Claude Code (Opus 5.5) 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