@camstack/server 1.1.44 → 1.1.46

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.
@@ -64,6 +64,11 @@ function createLifecycleJobRunner(deps) {
64
64
  fetchTarball: deps.fetchTarball,
65
65
  extract: deps.extract,
66
66
  });
67
+ // Boot-time cleanup. The runner is recreated fresh on every server boot with
68
+ // no jobs in flight, so any dir left under `lifecycle/staging/` is an orphan
69
+ // from a restart that interrupted a job before its per-job cleanup() ran —
70
+ // these otherwise accumulate forever. Sweep them once, here.
71
+ staging.sweepOrphans();
67
72
  const engine = new system_1.LifecycleJobEngine({
68
73
  journal,
69
74
  staging,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/server",
3
- "version": "1.1.44",
3
+ "version": "1.1.46",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -24,7 +24,6 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@camstack/addon-admin-ui": "*",
27
- "@camstack/addon-viewer-ui": "*",
28
27
  "@camstack/addon-advanced-notifier": "*",
29
28
  "@camstack/addon-auth": "*",
30
29
  "@camstack/addon-decoder-nodeav": "*",