Preserve installed operator workspace before consolidation
Local preservation snapshot, not a new deployment or simulation acceptance.
This commit is contained in:
@@ -119,7 +119,7 @@ try:
|
||||
|
||||
sequence = 0
|
||||
last_cycle_ms = 0.0
|
||||
while sequence < run["request"]["max_steps"]:
|
||||
while app.is_running():
|
||||
cycle_started = time.monotonic()
|
||||
transport_ms = 0.0
|
||||
transport_started = time.monotonic()
|
||||
@@ -194,7 +194,7 @@ try:
|
||||
last_cycle_ms = (time.monotonic() - cycle_started) * 1000
|
||||
sequence += 1
|
||||
else:
|
||||
result = {"outcome": "completed", "message": "Прогон завершён."}
|
||||
result = {"outcome": "stopped", "message": "Симулятор закрыт."}
|
||||
except Exception as exc:
|
||||
result = {"outcome": "failed", "message": "Прогон прерван. Подробности сохранены на Worker."}
|
||||
print(type(exc).__name__ + ": " + str(exc), file=sys.stderr, flush=True)
|
||||
|
||||
Reference in New Issue
Block a user