worker: cover activation race boundaries

This commit is contained in:
2026-09-18 18:35:38 +09:00
parent d1d391e511
commit d59879cc4b
5 changed files with 182 additions and 154 deletions
+3 -4
View File
@@ -64,10 +64,9 @@ authority; the next compaction boundary retries it. The authority and lifecycle
reference are cleared exactly once after the registry record is gone, before
activation or a terminal idle-capable result. While either activation repair or
cleanup attention is outstanding, the controller fences Submit/Notify dispatch and
does not start queued work. Shutdown is itself a cleanup barrier: it performs a
bounded set of direct stop attempts and does not emit its terminal event until either
the registry record is gone or cleanup authority has moved to a runtime-owned
quarantine task.
does not start queued work. Shutdown is itself a cleanup barrier: it retries the
Worker-owned stop authority with backoff and does not emit its terminal event until
the registry record is gone.
## Metrics and comparison procedure