Skip to content

Fix empty status messages in deferrable Bedrock/OpenSearch sensors - #72330

Merged
o-nikolas merged 1 commit into
apache:mainfrom
FrankYang0529:airflow-aws-trigger-status-queries
Sep 14, 2026
Merged

o-nikolas merged 1 commit into
apache:mainfrom
FrankYang0529:airflow-aws-trigger-status-queries

Conversation

@FrankYang0529

Copy link
Copy Markdown
Member
  • BedrockKnowledgeBaseActiveTrigger, BedrockIngestionJobTrigger and OpenSearchServerlessCollectionActiveTrigger pass status_queries=["status"], but GetKnowledgeBase, GetIngestionJob and BatchGetCollection don't show status on that field.
    • GetKnowledgeBase: knowledgeBase.status, knowledgeBase.failureReasons
    • GetIngestionJob: ingestionJob.status, ingestionJob.failureReasons
    • BatchGetCollection: collectionDetails[0].status, collectionDetails[0].failureMessage, collectionErrorDetails[0].errorMessage
  • uv run --project providers/amazon pytest providers/amazon/tests/unit/amazon/aws/triggers/test_bedrock.py providers/amazon/tests/unit/amazon/aws/triggers/test_opensearch_serverless.py

Was generative AI tooling used to co-author this PR?
  • Yes - Claude Code

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@boring-cyborg boring-cyborg Bot added area:providers provider:amazon AWS/Amazon - related issues labels Aug 31, 2026
@FrankYang0529
FrankYang0529 marked this pull request as ready for review September 1, 2026 00:33
@potiuk
potiuk requested review from ferruzzi and vincbeck September 8, 2026 20:37
@vincbeck

vincbeck commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

@seanghaeli @ramitkataria

@o-nikolas o-nikolas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks reasonable.

@o-nikolas
o-nikolas merged commit f7087bc into apache:main Sep 14, 2026
160 checks passed
@FrankYang0529
FrankYang0529 deleted the airflow-aws-trigger-status-queries branch September 15, 2026 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants