refactor: simplify system variable access in TriggerScheduleNode#9
Conversation
Removes the manual addition of system variables to outputs in TriggerScheduleNode, as they are globally accessible via the VariablePool. This aligns with consistent refactoring across node types.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. New to Jules? Learn more at jules.google/docs. |
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
Simplified system variable access in
TriggerScheduleNodeby removing the manual extraction and injection of system variables into the node's output. System variables are already available via theVariablePool, making this step redundant.Changes:
api/core/workflow/nodes/trigger_schedule/trigger_schedule_node.pyto remove the loop that added system variables to outputs.SYSTEM_VARIABLE_NODE_ID.Verified with a new unit test (temporarily created and run) ensuring system variables are no longer in outputs but user inputs are preserved.
PR created automatically by Jules for task 3325533844711015309 started by @asukaminato0721