AlejandroMorgante opened a new pull request, #68140: URL: https://github.com/apache/airflow/pull/68140
Makes `BedrockDeleteAgentRuntimeOperator` wait for AgentCore Runtime deletion to complete by default, matching the create operator completion semantics. The delete path now uses an `agent_runtime_deleted` waiter, supports deferrable waiting, and keeps `wait_for_completion=False` available for fire-and-forget deletes. This is a follow-up to #67984. ## Testing - `source .venv/bin/activate && uv run ruff format providers/amazon/src/airflow/providers/amazon/aws/operators/bedrock.py providers/amazon/src/airflow/providers/amazon/aws/triggers/bedrock.py providers/amazon/tests/unit/amazon/aws/operators/test_bedrock.py providers/amazon/tests/unit/amazon/aws/triggers/test_bedrock.py providers/amazon/tests/unit/amazon/aws/waiters/test_bedrock_agentcore_control.py` - `source .venv/bin/activate && uv run ruff check --fix providers/amazon/src/airflow/providers/amazon/aws/operators/bedrock.py providers/amazon/src/airflow/providers/amazon/aws/triggers/bedrock.py providers/amazon/tests/unit/amazon/aws/operators/test_bedrock.py providers/amazon/tests/unit/amazon/aws/triggers/test_bedrock.py providers/amazon/tests/unit/amazon/aws/waiters/test_bedrock_agentcore_control.py` - `source .venv/bin/activate && breeze run --skip-image-upgrade-check pytest providers/amazon/tests/unit/amazon/aws/operators/test_bedrock.py::TestBedrockDeleteAgentRuntimeOperator providers/amazon/tests/unit/amazon/aws/triggers/test_bedrock.py::TestBedrockAgentRuntimeDeletedTrigger providers/amazon/tests/unit/amazon/aws/waiters/test_bedrock_agentcore_control.py -xvs` --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Codex (GPT-5) Generated-by: Codex (GPT-5) 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]
