You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codegen: history node under a parallelFlow is generated as a region and crashes the builder #20
A history / deepHistory node declared as a direct child of a parallelFlow is treated by the codegen as one of the parallel's regions. The generated node builder then fails as soon as the parallel flow is entered.
Repro:
digraphRepro {
package = "repro"
main [type = flow]
tabs [type = parallelFlow]
left [type = flow]
right [type = flow]
tabsHistory [type = deepHistory]
main -> start
main -> tabs
tabs -> left -> leftScreen
tabs -> right -> rightScreen
tabs -> tabsHistory
}
Navigating to tabs throws:
illegal path build requested for "tabs" node: tabs.tabsHistory
Expected: history children of a parallel are not regions. The schema's regions and the generated builder should only list left and right, and tabsHistory should only produce a HistoryTarget accessor. Parser.kt explicitly allows parallel-parented history nodes (see the check around "history node ... is under a root parallel"), so the declaration is valid but the runtime path is broken.
Found while building DSL parity in #18. The way-dsl Graph excludes history nodes from regions, and its nested-parallel parity test checks a deep history of a parallel restoring nested regions.
Activity
Fix #19-#22, NodeHost autoStart, release 0.13.0 (#23)
rinekri commentedon Nov 9, 2026
Fixed in #23 (1d25d49), released in 0.13.0.