spaxel/mothership
jedarden c69b0f7ca1 test(bf-95tx): integration test tracing positions through simulator→registry→fusion
bf-95tx wants a single demonstrable verification that node positions flow
through every runtime stage the position-propagation work touched. bf-69ym
locked in simulator→fleet-registry; bf-u7ds locked in simulator→fusion. This
adds the missing end-to-end lock-in that ties both together in one run.

TestPositionPropagation_FullPipeline wires the production chain behind the
SimulatorHandler (handler → bridge.SyncToRegistry → adapter → fleet.Registry
SQLite, with adapter forwardPos → fleet.Manager.ForwardNodePosition → sink →
fusion.Engine.SetNodePosition), posts one node with an explicit position,
then reads that SAME position back from all three stages and asserts they
agree — at both AddNode and UpdateNode. A pipelineStages helper logs each
stage's value so `go test -v` visibly traces the value's path:

  [create] position propagation  simulator={1.5 2.5 1}  registry={1.5 2.5 1}  fusion={1.5 2.5 1}
  [update] position propagation  simulator={3.5 4.5 2}  registry={3.5 4.5 2}  fusion={3.5 4.5 2}

The update leg also asserts no stage still holds the stale pre-update value
and that a single node stays a single node at every stage (no orphan/dup).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-06 13:13:28 -04:00
..
cmd fix(bf-u7ds): forward simulator registry positions to fusion engine 2026-07-06 12:43:46 -04:00
internal test(bf-95tx): integration test tracing positions through simulator→registry→fusion 2026-07-06 13:13:28 -04:00
test/acceptance fix(acceptance): start mothership binary in SPAXEL_NO_DOCKER=1 path 2026-06-04 01:34:07 -04:00
tests/e2e test(e2e): add IO-1 and IO-2 integration tests for CI harness 2026-05-24 10:07:20 -04:00
go.mod feat: implement spatial quick actions context menu for 3D scene 2026-04-10 22:56:17 -04:00
go.sum feat: implement spatial quick actions context menu for 3D scene 2026-04-10 22:56:17 -04:00