Files
uopi/internal/controllogic
Martino Ferrari c53a49e540 controllogic: fix data race in setPath nested-array assignment
setPath mutated nested sub-arrays in place; since graph-local slices (and
their nested sub-slices) may be read concurrently by other flow goroutines,
an action.array.set with a multi-level path raced readers of the same local.
The single-threaded TS source mutates in place safely, but the Go port runs
flows on concurrent goroutines, so setPath now copies on descent (every level
returns a freshly allocated slice). Adds a -race regression test that
concurrently drives nested set + inner-element reads, plus a nested-set
correctness test asserting the prior stored value is not mutated.

Found by whole-branch review (Opus); missed by the per-task reviews.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-24 20:11:14 +02:00
..
2026-06-24 01:39:15 +02:00
2026-06-24 01:39:15 +02:00
2026-06-20 14:28:28 +02:00
2026-06-24 01:39:15 +02:00
2026-06-21 23:50:03 +02:00
2026-06-21 23:50:03 +02:00
2026-06-21 23:50:03 +02:00