Skip to content

Fix Neptune Analytics deferrable path: load custom waiter + forward hook params to triggers - #69838

Closed
seanghaeli wants to merge 1 commit into
apache:mainfrom
aws-mwaa:fix/neptune-analytics-deferrable
Closed

Fix Neptune Analytics deferrable path: load custom waiter + forward hook params to triggers#69838
seanghaeli wants to merge 1 commit into
apache:mainfrom
aws-mwaa:fix/neptune-analytics-deferrable

Conversation

@seanghaeli

@seanghaeliseanghaeli commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Forward additional hook params to the deferred triggers to fix example_neptune_analytics on the deferrable path (currently failing)

…ook params to triggers
The example_neptune_analytics system test fails deferrable-only. Two bugs:
1. Custom waiter never loaded: hook client_type is 'neptune-graph' so
waiter_path derives 'neptune-graph.json', but the file shipped as
'neptune_analytics.json'. get_waiter fell through to botocore's official
ImportTaskCancelled waiter, which fails on any non-CANCELLING/CANCELLED
status -- so a fast import reaching SUCCEEDED before cancel raised
NeptuneImportTaskCancellationFailedError. Renamed the file to match.
2. region_name/verify/botocore_config were not forwarded to the deferred
triggers, so the triggerer rebuilt the async hook with region_name=None
(sync path passes because it uses self.hook). Forwarded them to all 8
defer() sites.
Adds regression tests: a waiter-loads test and TestNeptuneDeferForwardsHookParams.
@boring-cyborgboring-cyborgBot added area:providers provider:amazon AWS/Amazon - related issues labels Jul 13, 2026
@seanghaeli

Copy link
Copy Markdown
ContributorAuthor

Closing — investigation against the real pipeline traceback showed this doesn't fix the actual deferrable failure. The failing call is a sync delete_endpoint raising AccessDeniedException: Unable to determine service/operation name to be authorized (an async→sync botocore context issue), which neither the waiter rename nor the trigger param-forwarding addresses. Reworking the fix against the real root cause.

@seanghaeli
seanghaeli deleted the fix/neptune-analytics-deferrable branch July 14, 2026 16:46
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providersprovider:amazonAWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@seanghaeli