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

   The SQS sensor and trigger accept a batch deletion response containing 
Failed entries whenever the Successful key is also present.
   
   Check Failed entries in both the sensor and trigger before reporting 
success. Correct the existing filtering-test fixtures to return SDK-shaped 
dictionaries without changing their assertions.
   
   Reference: [AWS API 
documentation](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_DeleteMessageBatch.html).
   
   Tests:
   
   The added regressions fail before the fix and pass afterward. All seven SQS 
unit-test modules pass in parallel on Python 3.12 (74 passed). Ruff, 
formatting, and mypy on the changed source pass. Tests use mocks, SDK stubs or 
Moto; no live AWS calls were made.
   
   The applicable non-container prek checks pass. The template-field validation 
script also passes in the local uv environment. The Docker/Breeze wrappers for 
template validation and provider-wide mypy were not run successfully because 
Docker is not installed; mypy on the two changed source files passed in the uv 
environment.
   
   ```bash
   python -m pytest 
providers/amazon/tests/unit/amazon/aws/{hooks,notifications,operators,queues,sensors,triggers,utils}/test_sqs.py
 -n 2 -q -p no:cacheprovider
   ```
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — OpenAI Codex (GPT-6).
   
   Generated-by: OpenAI 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