Add debug logging for workflow output history
All checks were successful
Build and Push Docker Image / build (push) Successful in 4m2s
All checks were successful
Build and Push Docker Image / build (push) Successful in 4m2s
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -456,6 +456,15 @@ def handler(job: dict) -> dict:
|
|||||||
history = poll_for_completion(prompt_id, timeout)
|
history = poll_for_completion(prompt_id, timeout)
|
||||||
print("Workflow completed")
|
print("Workflow completed")
|
||||||
|
|
||||||
|
# Debug: print history structure
|
||||||
|
print(f"History keys: {history.keys()}")
|
||||||
|
if "outputs" in history:
|
||||||
|
print(f"Output nodes: {list(history['outputs'].keys())}")
|
||||||
|
for node_id, node_out in history["outputs"].items():
|
||||||
|
print(f" Node {node_id}: {list(node_out.keys())}")
|
||||||
|
if "status" in history:
|
||||||
|
print(f"Status: {history['status']}")
|
||||||
|
|
||||||
# Get output files
|
# Get output files
|
||||||
outputs = get_output_files(history)
|
outputs = get_output_files(history)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user