The GitHub Actions job "Tests AMD" on 
airflow.git/fix-audit-log-pause-unpause-payload has succeeded.
Run started by GitHub user kaxil (triggered by kaxil).

Head commit for run:
7f7ac9ee2828bc8671a752665b607ef44c53c3bf / Kaxil Naik <[email protected]>
Fix audit log payload for DAG pause/unpause actions

The audit log for DAG pause/unpause operations was incorrectly showing
the same payload (is_paused: false) for both pause and unpause actions.
This was caused by faulty logic in the action_logging decorator that
compared boolean values to the string 'false'.

The fix simplifies the logic to directly use the boolean value from the
request parameters, ensuring that:
- Pause actions log 'is_paused': true
- Unpause actions log 'is_paused': false

Added comprehensive test to verify correct audit log behavior for both
pause and unpause operations.

Fixes #55074

Report URL: https://github.com/apache/airflow/actions/runs/17337295065

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to