Multi-OutField model emission (one producer backing >1 output) is untested in graph_model #47
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
render_definition's output_binding helper (crates/aura-cli/src/graph.rs) renders a tuple binding
(n1, n2) := <producer>when one interior node backs more than one OutField (distinct field indices). Specified in 0022 as the general rule, shipped, but no current fixture re-exports >1 field from a single interior node — every existing composite (MACD, sma_cross, the fan-in fixtures) maps each output to a distinct producer, so only the single[one] => name :=arm is exercised. Coverage gap surfaced at the cycle-0022 audit (architect drift review). Low urgency: defensive, behaviour-preserving code with no live consumer. A small unit fixture (one node with a 2-field output record, both fields re-exported) would close it. refs #46.Re-scoped (title updated) — original cited site was removed, the coverage gap moved.
The
(a, b) := <producer>tuple arm inrender_definition/output_binding(crates/aura-cli/src/graph.rs) was deleted when ascii-dag was retired (66dff88); the post-0026 JSON-model + WASM-Graphviz viewer has no:=syntax at all. So the "spec'd + shipped but untested" behaviour this issue named no longer exists.The underlying coverage gap moved rather than vanished: a composite whose single interior producer backs >1
OutFieldnow serializes as multiple#Nboundary edges + per-field outputs incrates/aura-engine/src/graph_model.rs:187-210, but no model-emission test feeds such a composite —graph_modeltests only ever assert#0(single output,:472,:497); thefield_kindnested arm (:227-230) is likewise untouched. The compile path is covered (blueprint.rs:1309outer_reexports_two_fields_of_inner_composite).Caveat: pinning this is a golden over current emission, and whether that emission is the desired multi-output rendering is itself not yet settled — treat as a coverage+behaviour question, not a pure add-a-test. Retargeted from
aura-cli/src/graph.rstoaura-engine/src/graph_model.rs. refs #46 (closed).output_binding tuple arm `(a, b) := …` is spec'd + shipped but untestedto Multi-OutField model emission (one producer backing >1 output) is untested in graph_model