RyukR1 commented on PR #77465:
URL: https://github.com/apache/airflow/pull/77465#issuecomment-7277842337

   @seanghaeli 
   Thanks again for the thorough review and testing in Breeze!
   
   I've addressed all the local test failures and static check findings in the 
latest push:
   
   1. **Trigger cancellation message**: Separated unassigned/paused triggers 
from reassignments by introducing `_PAUSED_CANCEL_MSG = "__airflow_paused__"` 
and a dedicated `to_pause` queue. The runner now logs `"Trigger paused or 
unassigned, dropping it without on_kill"` instead of referencing another 
triggerer.
   2. **`TogglePauseWatcher` Vitest tests**: Fixed the click target for Chakra 
UI v3 / Ark UI `<Switch>` by targeting the root container via 
`data-testid="toggle-pause-watcher"` with `await waitFor(...)`, ensuring the 
component state updates and triggers mutations properly in Vitest.
   3. **`tsc` fixtures**: Added `is_paused: false` to the 
`TriggerAssetWatcherReferenceResponse` fixtures in `triggers.ts` and 
`FailingWatchersChip.test.tsx`.
   4. **`migrations-ref.rst`**: Regenerated the migration reference table so 
head migration `c0d0fcb49ef0` is properly documented for 3.5.0.
   5. **UI formatting & linter**: Ran `oxfmt` across the UI files and renamed 
the inner shadowed `badge` in `TriggerStatusBadge.tsx` to `pausedBadge` to 
satisfy `oxlint`.
   
   All Vitest tests, Pytest suites, and static checks (`tsc`, `oxlint`, 
`oxfmt`, `ruff`) now pass cleanly.
   
   
   


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