signalk-container 1.34.0 → 1.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/.release-please-manifest.json +1 -1
  2. package/AGENTS.md +13 -4
  3. package/README.md +2 -1
  4. package/dist/containers.d.ts.map +1 -1
  5. package/dist/containers.js +55 -6
  6. package/dist/containers.js.map +1 -1
  7. package/dist/index.d.ts +9 -0
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +147 -13
  10. package/dist/index.js.map +1 -1
  11. package/dist/manifest/store.d.ts +10 -0
  12. package/dist/manifest/store.d.ts.map +1 -1
  13. package/dist/manifest/store.js +95 -11
  14. package/dist/manifest/store.js.map +1 -1
  15. package/dist/notifications.d.ts +1 -1
  16. package/dist/notifications.d.ts.map +1 -1
  17. package/dist/notifications.js.map +1 -1
  18. package/dist/orphans.d.ts +38 -0
  19. package/dist/orphans.d.ts.map +1 -0
  20. package/dist/orphans.js +36 -0
  21. package/dist/orphans.js.map +1 -0
  22. package/dist/types.d.ts +10 -2
  23. package/dist/types.d.ts.map +1 -1
  24. package/dist/updates/applyPlan.d.ts +10 -0
  25. package/dist/updates/applyPlan.d.ts.map +1 -0
  26. package/dist/updates/applyPlan.js +35 -0
  27. package/dist/updates/applyPlan.js.map +1 -0
  28. package/dist/updates/routes.d.ts +6 -1
  29. package/dist/updates/routes.d.ts.map +1 -1
  30. package/dist/updates/routes.js +26 -9
  31. package/dist/updates/routes.js.map +1 -1
  32. package/package.json +1 -1
  33. package/public/chunks/_virtual_mf-localSharedImportMap___mfe_internal__signalk_container__mf_owner__1-_R-vaMcG.js +1 -0
  34. package/public/chunks/dist-D1jGdgWH.js +4 -0
  35. package/public/chunks/hostInit-BO83zfBC.js +1 -0
  36. package/public/chunks/{pendingShares-54_MF_VA.js → pendingShares-DNGb36aF.js} +1 -1
  37. package/public/chunks/vite-preload-helper-DHhhL8Zf.js +1 -0
  38. package/public/configpanel-entry.js +2 -2
  39. package/public/remoteEntry.js +1 -1
  40. package/public/chunks/_virtual_mf-localSharedImportMap___mfe_internal__signalk_container__mf_owner__1-BlAkD1YK.js +0 -1
  41. package/public/chunks/dist-CQGGQmGd.js +0 -4
  42. package/public/chunks/hostInit-DFFGJgo2.js +0 -1
  43. package/public/chunks/vite-preload-helper-B3nfOi5I.js +0 -1
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "1.34.0"
2
+ ".": "1.35.0"
3
3
  }
package/AGENTS.md CHANGED
@@ -74,7 +74,7 @@ These are non-obvious rules baked into the runtime layer. Breaking them produces
74
74
  Every managed container, one-shot job container, and job label carries a **namespace prefix** so two Signal K servers sharing one container runtime never collide, reap, or drift-recreate each other's containers. The canonical case is a devcontainer dev instance and a production install on the same host, both talking to the same rootless-Podman socket: without a namespace the dev server's `ensureRunning("questdb")` would inspect the production `sk-questdb`, and its job reaper (`cleanupOrphanedJobs`) could force-remove production `sk-job-*` helpers.
75
75
 
76
76
  - `src/namespace.ts` is the single source of truth. The namespace token defaults to `sk`, so an install that sets no env var produces **the same container names, job names, and label keys** as prior releases: containers `sk-<name>`, jobs `sk-job-<id>`, labels `sk-charts-job` / `sk-job-owner` / `sk-job-label`.
77
- - `setNamespace(process.env.SIGNALK_CONTAINER_NAMESPACE, onInvalid)` runs once in `plugin.start()`, **before** anything creates or reaps a container. `plugin.stop()` calls `resetNamespace()` (mirrors the `setDisableUserns` lifecycle — see below). The value is boundary-validated: 1–32 lowercase alphanumerics; anything else logs via `app.error` and falls back to `sk` so a typo can't crash startup or produce an invalid container name.
77
+ - `setNamespace(process.env.SIGNALK_CONTAINER_NAMESPACE, onInvalid)` runs once in `plugin.start()`, **before** anything creates or reaps a container. `plugin.stop()` deliberately leaves the namespace set: a consumer stopped in the same server shutdown can still call `api.stop(name)` after this plugin stopped (it falls back to the runtime `stop()` retired), and that stop must resolve the same prefixed name — resetting to `sk` would let a dev instance stop production's container. The value is boundary-validated: 1–32 lowercase alphanumerics; anything else logs via `app.error` and falls back to `sk` so a typo can't crash startup or produce an invalid container name.
78
78
  - Everything derives from the token via the accessors — `containerPrefix()`, `jobPrefix()`, `jobMarkerLabel()`, `jobOwnerLabel()`, `jobNameLabel()`, `requestedResourcesLabel()`. Never re-hardcode `"sk-"`; `prefixedName()` is the sole place a bare name becomes a container name — call it, never re-implement a `startsWith("sk-")` prefix check.
79
79
  - The **label keys** are namespaced too (`<ns>-charts-job`, `<ns>-job-owner`, `<ns>-job-label`, `<ns>-requested-resources`), so a dev instance's reap query doesn't even _list_ production's jobs. The name-prefix guard in `orphanFromContainer` (`name.startsWith(jobPrefix())`) remains the unspoofable-by-label trait — and being namespaced, it can never match a foreign-namespace helper.
80
80
  - The devcontainer sets `SIGNALK_CONTAINER_NAMESPACE=devpod` (in the installer repo's `dev/dev.sh`), so its containers are `devpod-<name>`. Note the prefix isolates **names and reaping**, not host **ports** — a consumer plugin that publishes a fixed host port still collides port-wise with its production twin; that is handled separately (pick non-colliding ports for dev).
@@ -204,14 +204,23 @@ Discoverability — `selfDeployment().containerStorage` reports the filesystem b
204
204
 
205
205
  ### Degradation notifications (`notifications.container.*`)
206
206
 
207
- `src/notifications.ts` (`makeDegradationEmitter`) publishes SignalK notifications for five managed-container degradation conditions, via the server's `app.notifications.raise()`/`clear()` API. Wired into the `src/index.ts` wrapper.
207
+ `src/notifications.ts` (`makeDegradationEmitter`) publishes SignalK notifications for six degradation conditions (five per container, plus the host-level deployment one), via the server's `app.notifications.raise()`/`clear()` API. Wired into the `src/index.ts` wrapper.
208
208
 
209
- - **Conditions → path → state**: unhealthy → `notifications.container.<name>.unhealthy` `warn`; host-rejected device (`DeviceIssue` action `unresolved`) → `.deviceUnresolved` `warn`; missing required volume (`ifMissing:'abort'`) → `.volumeAborted` `alert`; degraded runtime deployment (`isDashboardDeploymentError`) → the host-level `notifications.container.deployment` `warn`; crash-looping container → `.crashLooping` `alert`. Paths use the **unprefixed** container name (the notification bus is per-server, so the container-name namespace buys nothing here) and `idInPath:false` (stable, addressable, updates in place — plus the tracked id is what `clear` needs).
209
+ - **Conditions → path → state**: unhealthy → `notifications.container.<name>.unhealthy` `warn`; host-rejected device (`DeviceIssue` action `unresolved`) → `.deviceUnresolved` `warn`; missing required volume (`ifMissing:'abort'`) → `.volumeAborted` `alert`; degraded runtime deployment (`isDashboardDeploymentError`) → the host-level `notifications.container.deployment` `warn`; crash-looping container → `.crashLooping` `alert`; container whose owning plugin is no longer installed → `.ownerUninstalled` `warn`. Paths use the **unprefixed** container name (the notification bus is per-server, so the container-name namespace buys nothing here) and `idInPath:false` (stable, addressable, updates in place — plus the tracked id is what `clear` needs).
210
210
  - **crashLooping keys on a RATE, never a raw count.** `RestartCount` from inspect is a _lifetime_ total and is legitimately non-zero on a healthy container under `--restart=unless-stopped` after a host reboot — a threshold on the raw value alerts on uptime, not on failure. The invariants `observeRestarts` must hold: the **first** observation of a container never raises (its history is unwitnessed); a _decreasing_ count re-baselines (the container was recreated); a burst straddling a window boundary still raises (the window slides, it does not tumble); and an observation gap longer than the window re-anchors rather than alerting, because those restarts are undatable. Driven by one shared sweep over `lastConfigs`, deliberately **not** gated on `options.healthCheck`: a container dying at startup never reaches the state where a health check could run, so `pollHealth` cannot see this class of failure at all. See `src/notifications.ts`, `sweepRestartsOnce` in `src/index.ts`, and their boundary tests.
211
211
  - **Additive, never a replacement.** Every site keeps its existing log / `setPluginError` / consumer-callback surfacing; the notification is a parallel channel. Do not remove the old surfacing when touching these sites.
212
212
  - **Two gates**: the `emitDegradationNotifications` config toggle (default **on**) and the server exposing `app.notifications` (≥ 2.30.0). The pinned `@signalk/server-api` (2.24.0) does NOT declare `raise`/`clear`, so the `App` interface declares a local minimal shape (like `handleMessage?`/`config?`) and the emitter no-ops when `app.notifications` is absent — older servers degrade to the existing surfacing, never throw.
213
213
  - **NO `method`.** The emitter states severity only; the NotificationManager owns presentation (RFC notification-handling §6.1). The `raise` option type deliberately omits `method` so the `updates/service.ts` `handleMessage`+`method:["visual"]` pattern (a separate, older emitter on `notifications.plugins.<id>.updateAvailable`) can't be copied here.
214
- - **Recovery/clear**: unhealthy is edge-triggered (raise on healthy→unhealthy, clear on unhealthy→healthy) via per-container health tracking in `pollHealth`; deviceUnresolved raises/clears off the `unresolved` subset each commit (`syncDeviceIssues`, called from all three `commitDeviceIssues` sites); volumeAborted clears unconditionally on any successful `ensureRunning` (reaching the success commit means nothing aborted); deployment clears on a subsequent start that finds the host `ok`. crashLooping is rate-derived in `observeRestarts` (see below) and clears when the rate falls back below the threshold across the sliding window, or when the counter resets. `afterContainerRemoved` clears the four per-container conditions; `stop()` calls `degradation.reset()` (clears all outstanding + drops state), mirroring the `resetNamespace`/`setDisableUserns` lifecycle.
214
+ - **Recovery/clear**: unhealthy is edge-triggered (raise on healthy→unhealthy, clear on unhealthy→healthy) via per-container health tracking in `pollHealth`; deviceUnresolved raises/clears off the `unresolved` subset each commit (`syncDeviceIssues`, called from all three `commitDeviceIssues` sites); volumeAborted clears unconditionally on any successful `ensureRunning` (reaching the success commit means nothing aborted); deployment clears on a subsequent start that finds the host `ok`. crashLooping is rate-derived in `observeRestarts` (see below) and clears when the rate falls back below the threshold across the sliding window, or when the counter resets. ownerUninstalled clears when the owner brings the container up again (a successful `ensureRunning`). `afterContainerRemoved` clears the five per-container conditions; `stop()` calls `degradation.reset()` (clears all outstanding + drops state), mirroring the `setDisableUserns` lifecycle.
215
+
216
+ ### Containers of uninstalled plugins
217
+
218
+ Removing a plugin removes its package, not its container, and under `unless-stopped` the container outlives the plugin and every server restart. `checkOrphans` in `src/index.ts` runs once, `ORPHAN_CHECK_DELAY_MS` after the runtime is detected, and stops (never removes) each managed container that `findOrphans` (`src/orphans.ts`) reports, then raises `ownerUninstalled` and sets `ContainerInfo.uninstalledOwner` for the panel. Removing such a container also drops its manifest record. The rules keep a false positive from stopping a live plugin's container:
219
+
220
+ - **The owner comes from the manifest, never the container name** (names do not map to packages: `mayara-server` belongs to `@marineyachtradar/signalk-plugin`). A container recorded only under the synthetic `container:<name>` id has no owner and is never flagged.
221
+ - **The installed set is `app.getPluginsList()` ids, read after a delay.** Signal K loads plugins in sequence, so a list read at this plugin's own start can still lack owners that load later. No list, or an empty one, flags nothing.
222
+ - **An owner counts as installed if its id is a loaded plugin's id OR a package of that name is installed** under the config dir, so a consumer that records its npm name instead of its plugin id is not flagged.
223
+ - **A container brought up by `ensureRunning` this session is never flagged** (`lastConfigs`): its owner is evidently running, whatever id it recorded.
215
224
 
216
225
  ### Auto-recreate on config drift
217
226
 
package/README.md CHANGED
@@ -12,7 +12,7 @@ Instead of each plugin implementing its own container orchestration, they delega
12
12
  - **Healthcheck handling** -- image-declared healthchecks are made to work reliably across runtimes. For images that ship **no** healthcheck, consumer plugins set `ContainerConfig.healthcheck` to supply a probe, so the container reports a real health status instead of being stuck in `starting`. See the [developer guide](doc/plugin-developer-guide.md#healthcheck-for-images-that-ship-none).
13
13
  - **One-shot jobs** -- run containers for batch tasks (export, conversion, etc.)
14
14
  - **Update detection** -- centralized "is there a newer image?" service for all consumer plugins. Auto-detects semver vs floating tags (`:latest`, `:main`), offline-tolerant with persistent cache, emits Signal K notifications, visible inline in the config panel. See the [developer guide](doc/plugin-developer-guide.md#update-detection).
15
- - **Degradation notifications** -- publishes SignalK notifications on `notifications.container.*` when a managed container is unhealthy, a requested host device was rejected, a required volume source is missing, the container-runtime deployment is degraded, or a container is crash-looping. Severity is `warn` (or `alert` for a missing required volume and for a crash loop); the notification carries no `method`, so the server's NotificationManager controls how it is presented. Each clears when its condition recovers: the unhealthy and volume notifications clear the moment the next health check or `ensureRunning` succeeds, the device notification clears when a later `ensureRunning` finds no unresolved devices, the crash-loop notification clears once the container falls back below three restarts per five minutes, and the deployment notification clears on the next plugin start that finds the host healthy. A crash loop is measured as three restarts within any five-minute span _while the plugin is watching_ — the restarts a container accumulated before that (surviving a host reboot, say) never raise it. On by default; opt out with the "Emit container degradation notifications" config toggle. Requires a SignalK server ≥ 2.30.0 (no effect on older servers).
15
+ - **Degradation notifications** -- publishes SignalK notifications on `notifications.container.*` when a managed container is unhealthy, a requested host device was rejected, a required volume source is missing, the container-runtime deployment is degraded, a container is crash-looping, or a container's plugin is no longer installed. Severity is `warn` (or `alert` for a missing required volume and for a crash loop); the notification carries no `method`, so the server's NotificationManager controls how it is presented. Each clears when its condition recovers: the unhealthy and volume notifications clear the moment the next health check or `ensureRunning` succeeds, the device notification clears when a later `ensureRunning` finds no unresolved devices, the crash-loop notification clears once the container falls back below three restarts per five minutes, and the deployment notification clears on the next plugin start that finds the host healthy. A crash loop is measured as three restarts within any five-minute span _while the plugin is watching_ — the restarts a container accumulated before that (surviving a host reboot, say) never raise it. On by default; opt out with the "Emit container degradation notifications" config toggle. Requires a SignalK server ≥ 2.30.0 (no effect on older servers).
16
16
  - **Resource limits editor** -- interactive UI in the config panel for setting CPU/memory/PID caps per container. Values are applied live via `podman update` when possible (no downtime), falls back to recreate when needed. Stored overrides are minimized against the consumer plugin's defaults so a future default bump flows through automatically. See the [developer guide](doc/plugin-developer-guide.md#resource-limits).
17
17
  - **Reset to plugin default** -- one-click restore of a container's original resource limits, clearing any user override.
18
18
  - **CPU caps that fit the host** -- a `cpus` limit above the daemon's core count is lowered to it instead of failing the container create (Docker rejects `--cpus 1.5` on a 1-vCPU host outright); the consumer plugin can surface it via the optional `onResourceClamped` callback (otherwise it is a debug-log line). See the [developer guide](doc/plugin-developer-guide.md#resource-limits).
@@ -476,6 +476,7 @@ The plugin embeds a React config panel in the Signal K Admin UI (via Module Fede
476
476
  - **Logs** opens a live-streaming popup of the container's combined stdout/stderr — works for both running and stopped containers. A container that never started has no logs; the empty log view then shows the runtime's record of the last start failure (inspect `.State.Error`) so the reason is visible without shell access
477
477
  - **Current effective resource limits** shown as compact badges (e.g. `1.5 CPU · 512m · 200 PIDs`)
478
478
  - **Override active** amber badge when the user has configured a resource override for the container
479
+ - **"Its plugin … is no longer installed"** note on a container left behind by an uninstalled plugin. Removing a plugin removes its package, not its container, so about two minutes after startup signalk-container stops every managed container whose recorded owner is no longer installed, raises `notifications.container.<name>.ownerUninstalled` (`warn`), and leaves the container for you to **Remove** (which also drops its manifest record). It only knows the owner of a container whose plugin passes `pluginId` to `ensureRunning` (signalk-container-helper does); others are never touched
479
480
  - **Updates row** (when the consumer plugin has registered with the update service):
480
481
  - Color-coded badge: `✓ up to date`, `↑ v3.4.0 available`, `↻ rebuild available` (floating tag), `📡 offline` (with cached state fallback), `⚠ check error`
481
482
  - "checked 5m ago" staleness indicator
@@ -1 +1 @@
1
- {"version":3,"file":"containers.d.ts","sourceRoot":"","sources":["../src/containers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EACL,eAAe,EACf,aAAa,EACb,oBAAoB,EACpB,cAAc,EACd,WAAW,EACX,oBAAoB,EAEpB,iBAAiB,EACjB,eAAe,EACf,YAAY,EACZ,WAAW,EACX,oBAAoB,EACpB,yBAAyB,EACzB,eAAe,EACf,aAAa,EACb,WAAW,EACX,WAAW,EACX,UAAU,EACV,aAAa,EACd,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,sBAAsB,EAIvB,MAAM,cAAc,CAAC;AACtB,OAAO,EAML,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAKL,KAAK,SAAS,EACf,MAAM,aAAa,CAAC;AACrB,OAAO,EAUL,KAAK,cAAc,EACpB,MAAM,cAAc,CAAC;AAWtB,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAGjD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,SAAS,CACvB,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,oBAAoB,EAC7B,QAAQ,GAAE,OAAe,GACxB,MAAM,CAOR;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,MAAM,CAE7E;AAcD;;;;;;;;;;;;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B,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAS1E;AASD;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,YAAY,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAEvE;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAsB,sBAAsB,CAC1C,OAAO,EAAE,oBAAoB,EAC7B,KAAK,GAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAe,EACvC,MAAM,GAAE,eAA6B,GACpC,OAAO,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC,CA8C1B;AAED,wBAAsB,YAAY,CAChC,GAAG,EAAE,MAAM,EACX,SAAS,GAAE,MAAc,EACzB,UAAU,GAAE,MAAY,GACvB,OAAO,CAAC,IAAI,CAAC,CAYf"}
@@ -847,23 +847,72 @@ export async function getContainerState(runtime, name, client = getClient()) {
847
847
  return "missing";
848
848
  return coarseStateFrom(info.State ?? {});
849
849
  }
850
+ // The runtime's zero-value timestamp (Go's zero `time.Time`, RFC3339-
851
+ // encoded) for a `StartedAt`/`FinishedAt` that has never been set.
852
+ const ZERO_TIME_PREFIX = "0001-01-01T00:00:00";
853
+ const NS_PER_MS = 1000000n;
854
+ const SUB_MS_DIGITS = 6;
855
+ /**
856
+ * A `StartedAt`/`FinishedAt` as epoch nanoseconds, or null when it was
857
+ * never set or does not parse. Compared as instants, never as text: Docker
858
+ * trims trailing zeros from the fraction (`…05.9Z` sorts after `…05.95Z`)
859
+ * and Podman writes the host's local offset, which changes with daylight
860
+ * saving or a timezone change between a stop and the next start.
861
+ * `Date.parse` keeps milliseconds only, and a restart can stop and start
862
+ * within one, so the fraction's remaining digits are added back.
863
+ */
864
+ function timestampNs(value) {
865
+ if (typeof value !== "string" ||
866
+ value === "" ||
867
+ value.startsWith(ZERO_TIME_PREFIX)) {
868
+ return null;
869
+ }
870
+ const ms = Date.parse(value);
871
+ if (!Number.isFinite(ms))
872
+ return null;
873
+ const fraction = /\.(\d+)/.exec(value)?.[1] ?? "";
874
+ const subMs = fraction.slice(3, 3 + SUB_MS_DIGITS).padEnd(SUB_MS_DIGITS, "0");
875
+ return BigInt(ms) * NS_PER_MS + BigInt(subMs);
876
+ }
850
877
  /**
851
878
  * The defensive OR shared by `getContainerState` and
852
879
  * `getContainerStateDetail`, so a caller asking for detail can never
853
880
  * be told something different about running than a caller asking for
854
881
  * the coarse state alone.
855
882
  *
856
- * Running if ANY source says so. We'd rather report "running" when the
857
- * container is actually stopped (worst case: ensureRunning's "already
858
- * running" fast path skips a start call, which would then fail the
859
- * subsequent health check and recover) than report "stopped" when it's
860
- * running (worst case: update service skips legit checks, user sees
861
- * flap).
883
+ * Running if ANY source says so — Status, Running, or a positive Pid.
884
+ * We'd rather report "running" when the container is actually stopped
885
+ * (worst case: ensureRunning's "already running" fast path skips a
886
+ * start call) than report "stopped" when it's running (worst case:
887
+ * update service skips legit checks, user sees flap). But that OR is
888
+ * itself untrustworthy once the runtime has recorded a completed stop
889
+ * at or after the last start: a podman restart-policy re-create that
890
+ * fails partway through (conmon's OCI create racing a systemd/D-Bus
891
+ * reload, "Failed to create container: exit status 1") can leave
892
+ * Running/Pid holding stale values from the aborted attempt
893
+ * indefinitely, with nothing to ever correct them (no consumer plugin
894
+ * forces a restart off an unhealthy verdict). FinishedAt is written
895
+ * synchronously by the runtime's die-handling when the container
896
+ * actually exits, a step that already completed before any restart
897
+ * attempt runs, so a failed re-create never gets to roll it back.
898
+ *
899
+ * The timestamps decide only when Status does not say running. Status
900
+ * is the signal that failure leaves correct, and a host clock stepped
901
+ * back between a stop and the next start (a Pi without a real-time
902
+ * clock booting on a saved time after a power cut) records a StartedAt
903
+ * before the last FinishedAt on a container that is running.
862
904
  */
863
905
  function coarseStateFrom(state) {
864
906
  const status = String(state.Status ?? "")
865
907
  .toLowerCase()
866
908
  .trim();
909
+ const startedAt = timestampNs(state.StartedAt);
910
+ const finishedAt = timestampNs(state.FinishedAt);
911
+ if (status !== "running" &&
912
+ finishedAt !== null &&
913
+ (startedAt === null || finishedAt >= startedAt)) {
914
+ return "stopped";
915
+ }
867
916
  const runningFlag = state.Running === true;
868
917
  const pid = Number(state.Pid ?? 0);
869
918
  const hasLivePid = Number.isFinite(pid) && pid > 0;