kars0508 opened a new pull request, #66974:
URL: https://github.com/apache/airflow/pull/66974

   When `if_exists="skip"` is set and the workflow already exists, the operator
   previously called `get_workflow(WorkflowArn=self.workflow_name)`, passing
   the workflow *name* instead of the full ARN, causing a
   `ValidationException: Invalid arn`.
   
   This fix constructs the ARN directly from the `ConflictException` response's
   `ResourceId` field, eliminating the unnecessary API call and fixing the bug.
   
   **Testing:**
   - Unit tests updated to mock partition/region/account and verify constructed 
ARN
   - System test adds `create_workflow_again` task that exercises the skip path 
end-to-end
   - Full system test passes on live MWAA Serverless environment


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