plc_control/crates
caoqianming ed638eadb2 Stop respawning disabled-mode segment tasks
Supervisor filtered only on enabled, so disabled-mode segments (e.g.
the OPS_SEED_TEMPLATES skeleton, which seeds mode='disabled' until an
operator finishes wiring) got a task spawned every 10 s only to exit
immediately on the task's own enable-check, spamming the log with
"segment X disabled or removed, task exiting" every supervisor tick.

Aligning the supervisor's filter with the task's exit condition lets
disabled-mode segments stay quiescent. Flipping mode away from
'disabled' via the config UI now reaches the engine within one
supervisor cycle (≤10 s), unchanged.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 12:26:25 +08:00
..
app_feeder_distributor Persist event subject_type/subject_id and add ops event timeline API 2026-05-19 08:57:40 +08:00
app_operation_system Stop respawning disabled-mode segment tasks 2026-05-19 12:26:25 +08:00
plc_platform_core Persist event subject_type/subject_id and add ops event timeline API 2026-05-19 08:57:40 +08:00