Skip to content

Keep a running Loop lit through its body and waits - #255

Merged
gbradham merged 3 commits into
devfrom
claude/loop-stays-lit
Nov 28, 2026
Merged

gbradham merged 3 commits into
devfrom
claude/loop-stays-lit

Conversation

@gbradham

Copy link
Copy Markdown
Member

Fixes LL-37.

While a flow ran, the Loop's highlight went dark as soon as it fired body, and after the body's nodes finished nothing was lit while the Loop waited for its next iteration.

Firing an exec output cleared the source node's highlight, but a Loop keeps running after it fires body. Nodes now list such outputs in STAYS_ACTIVE_ON. For those outputs, the highlight is cleared when execute returns instead. Other nodes are unchanged, so a Delay → Delay chain still lights only the node that is running.

Tests

  • Added a Loop case to tests/unit/core/test_flow_node_active.py. It fails without the fix.
  • Full suite: 7415 passed, 1 failed. The failure is test_radius_scale (tools.qss:671 border-radius: 0px), which already fails on experimental and is unrelated to this change.
  • Ruff and black are clean.
  • Not yet checked by hand in the app.

gbradham and others added 3 commits November 24, 2026 10:05
Firing an exec output cleared the source's highlight, but a Loop keeps
running after it fires body. Nodes list such outputs in STAYS_ACTIVE_ON
and clear when execute returns instead. Fixes LL-37.
test_radius_scale accepts a scale token, a line marked geometric, or a bare
0; 0px is none of those, so the suite failed on tools.qss:671.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BAjpnHsrqkWDHXjwMRVhY1
@gbradham
gbradham merged commit 1fe408c into dev Nov 28, 2026
4 checks passed
gbradham added a commit that referenced this pull request Nov 28, 2026
Keep a running Loop lit through its body and waits
@gbradham
gbradham deleted the claude/loop-stays-lit branch November 28, 2026 20:31
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.

2 participants