Construction-layer fieldtests (mc_1..mc_4) use the retired Sma::new / From<Sma> API #42

Closed
opened 2026-06-08 01:01:26 +02:00 by Brummel · 0 comments
Owner

The non-workspace construction-layer fieldtests
(fieldtests/milestone-construction-layer/mc_1..mc_4) no longer compile
standalone. They use the Sma::new(2) / BlueprintNode::from(Sma) API
retired in the cycle-0016 value-empty migration (nodes are now built via
Sma::factory() + compile_with_params), which was never propagated to
these fixtures.

Status

  • These files are not workspace members, so cargo build/test --workspace never compiled them — the staleness has been latent since
    cycle 0016.
  • Surfaced during #40: the composite multi-output sweep correctly updated
    their OutPortOutField references (that part is done), but the
    pre-existing From<Sma> breakage remains (~32 errors, all stale-API).
    Confirmed pre-existing by rebuilding at the pre-#40 commit.

Fix shape

Port the four fixtures to the current authoring API: Sma::factory() /
Sub::factory() / Exposure::factory() / SimBroker::factory() /
Recorder::factory() as blueprint items, and bind params via
compile_with_params(&point) instead of constructor literals — mirror
the in-tree crates/aura-cli/src/main.rs sample/MACD blueprints.

Nature

Debt cleanup, no engine change. Lower urgency: these are milestone
fieldtest fixtures outside any CI gate, kept for re-run when the
construction-layer milestone is field-tested again.

The non-workspace construction-layer fieldtests (`fieldtests/milestone-construction-layer/mc_1..mc_4`) no longer compile standalone. They use the `Sma::new(2)` / `BlueprintNode::from(Sma)` API retired in the cycle-0016 value-empty migration (nodes are now built via `Sma::factory()` + `compile_with_params`), which was never propagated to these fixtures. ## Status - These files are **not** workspace members, so `cargo build/test --workspace` never compiled them — the staleness has been latent since cycle 0016. - Surfaced during #40: the composite multi-output sweep correctly updated their `OutPort` → `OutField` references (that part is done), but the pre-existing `From<Sma>` breakage remains (~32 errors, all stale-API). Confirmed pre-existing by rebuilding at the pre-#40 commit. ## Fix shape Port the four fixtures to the current authoring API: `Sma::factory()` / `Sub::factory()` / `Exposure::factory()` / `SimBroker::factory()` / `Recorder::factory()` as blueprint items, and bind params via `compile_with_params(&point)` instead of constructor literals — mirror the in-tree `crates/aura-cli/src/main.rs` sample/MACD blueprints. ## Nature Debt cleanup, no engine change. Lower urgency: these are milestone fieldtest fixtures outside any CI gate, kept for re-run when the construction-layer milestone is field-tested again.
Brummel added the bug label 2026-06-08 01:01:26 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Brummel/Aura#42