Files
openclaw/ui
Kagura d53261360f fix(agents): use lastSeenAtMs tie-break in canvas default-node selection (#112084)
* fix(agents): use lastSeenAtMs tie-break in canvas default-node selection

When multiple nodes share the same connectedAtMs (or are all disconnected),
the comparator now checks lastSeenAtMs before falling through to the stable
nodeId alphabetical ordering. This prevents the canvas from selecting a stale
node that was connected long ago but has since been replaced by a more recently
active device.

* fix(nodes): harden offline canvas target selection

Co-authored-by: Kagura <kagura.chen28@gmail.com>

* fix(nodes): keep offline target fix release-ready

Co-authored-by: Kagura <kagura.chen28@gmail.com>

* fix(nodes): ignore stale connection times offline

Co-authored-by: Kagura <kagura.chen28@gmail.com>

* test(ci): stabilize startup and memory UI assertions

* test(gateway): inject prepared manifest metadata

* test(gateway): isolate startup model log coverage

* test(gateway): reuse prepared model manifests

* test(ui): keep startup abort fixture cold

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-28 19:49:15 -04:00
..