omar-massfih opened a new pull request, #74600:
URL: https://github.com/apache/airflow/pull/74600

   ## What
   
   Handle enhanced Power BI refresh execution statuses in the existing hook and 
trigger result path. Standard refreshes continue using history polling.
   
   ## Why
   
   History `Unknown` is normalized to `In Progress`. Without reading enhanced 
execution details, polling cannot use a terminal `extendedStatus` or expose 
engine and attempt-level error details. The regression responses are synthetic; 
no live history/execution response pair is claimed.
   
   Closes #74597
   
   ## How
   
   For the matching `ViaEnhancedApi` history entry, fetch execution details 
using the submitted refresh ID and the existing authenticated adapter. Prefer 
meaningful `extendedStatus`, fall back to general `status`, recognize 
completion and terminal failures, and retain bounded polling for active or 
unknown states. Include engine messages and service exceptions in failure 
output without treating messages as a terminal signal.
   
   Add hook and trigger regression coverage for status precedence, failure 
details, ongoing polling, timeout, cancellation, and standard-refresh behavior. 
Submission, deferral, and the operator result interface are reused; no 
dependency changes.
   
   Validation: all 63 Power BI hook, trigger, and operator tests pass in 
Breeze. The failure regression fails against the original hook and passes with 
this change. Regular upstream prek checks and `git diff --check` pass. The 
broader manual type checks are still running; the full downstream CI matrix has 
not been run locally.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Codex (GPT-6)
   
   Generated-by: Codex (GPT-6) 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