The Python resolver script keeps choking on the CXone Data Action dependency graph API when pushing past the default traversal depth matrices. It’s throwing a recursion failure instead of triggering the automatic topological sort.
# Iterative stack approach avoids recursion caps
def traverse_dependency_graph(root_ids):
stack = list(root_ids)
processed = set()
while stack:
current = stack.pop()
if current not in processed:
processed.add(current)
# pull child nodes via cxone api
Bumping the interpreter threshold just masks the underlying capacity bottleneck. The platform throws a vague timeout when the dependency matrix exceeds the standard buffer size, and the stack trace usually cuts off right around the auth payload with a truncated error like Traceback... File resolver.py line 89.... Engineering teams should shift to an iterative stack model or implement pagination on the data endpoint instead. It doesn’t scale well during peak routing windows. You’ll want the development group to validate the payload size against the current GC2 licensing tier before pushing to production. Batching the requests usually clears the validation errors without touching the interpreter settings. Does the current capacity model actually support unbounded graph traversal, or is there a governance policy restricting export sizes? The queue depth metrics will stabilize once the traversal logic stops nesting.
*Leaving the recursive fallback flag enabled* forces the API to retry depth matrices until the worker crashes, so you’ll want to pair that iterative stack with a strict chunk limit.
Stack overflow usually just means the payload size exceeds the default buffer, and the job will stall hard if you don’t cap the batch size before it hits Redshift.
Question
Check the Glue executor logs for memory spikes before the next run.