The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix/http-operator-deferrable-warning-67945 has succeeded.
Run started by GitHub user Vamsi-klu (triggered by Vamsi-klu).

Head commit for run:
241ea70994f11e7f01561f18a4ea3143911a3d48 / Vamsi-klu <[email protected]>
Add warning for HttpOperator deferrable with non-idempotent methods

HttpOperator(deferrable=True) executes the HTTP request inside
HttpTrigger.run() in the Triggerer. On triggerer restart, the trigger
is re-created from serialize() and run() re-executes, causing duplicate
POST/PATCH requests. This is silent data duplication.

Add UserWarning when deferrable=True is used with POST/PATCH etc,
guiding users to idempotent methods or sensor-based polling pattern
like AirbyteOperator (side-effect in worker, trigger polls with GET).

Long-term fix should execute non-idempotent requests in worker and
only poll in trigger.

Fixes: #67945

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

With regards,
GitHub Actions via GitBox


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

Reply via email to