Skip to content

fix(web): handle non-string template rendering and improve CLI SIGINT handling#3

Open
o3o3o wants to merge 2 commits intoshouc:masterfrom
o3o3o:fix_jinjia2_render
Open

fix(web): handle non-string template rendering and improve CLI SIGINT handling#3
o3o3o wants to merge 2 commits intoshouc:masterfrom
o3o3o:fix_jinjia2_render

Conversation

@o3o3o
Copy link
Copy Markdown

@o3o3o o3o3o commented Apr 1, 2026

Description

This PR addresses stability issues in Jinja2 template rendering and improves the command-line interface's response to manual interruptions.

Key Changes:

  1. Jinja2 Rendering Robustness: Added type checks in render_template to prevent TypeError and added defensive error handling in node execution.
  2. Graceful CLI Termination: Implemented KeyboardInterrupt handling to correctly mark runs as cancelled before exiting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant