@deslop/deploy 0.1.1244 → 0.1.1245

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 (2) hide show
  1. package/dist/server.js +3 -3
  2. package/package.json +2 -2
package/dist/server.js CHANGED
@@ -88229,7 +88229,7 @@ function processReadings(current, previous) {
88229
88229
  readings: map$8(current.records, (record) => {
88230
88230
  const process = {
88231
88231
  ...record.process,
88232
- ...getSomes$1({ cpu: map$11(filter$5(fromUndefinedOr(known[record.process.pid]), (value) => value.start === record.start), (value) => value.process.cpu) })
88232
+ ...getSomes$1({ cpu: flatMap$7(filter$5(fromUndefinedOr(known[record.process.pid]), (value) => value.start === record.start), (value) => fromUndefinedOr(value.process.cpu)) })
88233
88233
  };
88234
88234
  return {
88235
88235
  ...record,
@@ -89006,7 +89006,7 @@ var Fleet = class Fleet extends Service$1()("@deslop/deploy/services/fleet/servi
89006
89006
  return [own, ...map$8(workers, (worker) => {
89007
89007
  const saved = cached[`${worker.name}:${query.minutes}`];
89008
89008
  return {
89009
- cpuModel: saved?.cpuModel,
89009
+ ...getSomes$1({ cpuModel: fromUndefinedOr(saved?.cpuModel) }),
89010
89010
  error: saved?.error ?? "Waiting for worker",
89011
89011
  samples: history(saved?.samples ?? [], query.minutes, time),
89012
89012
  stale: saved === void 0 || saved.stale || time - saved.time > 9e4,
@@ -89033,7 +89033,7 @@ var Fleet = class Fleet extends Service$1()("@deslop/deploy/services/fleet/servi
89033
89033
  const time = yield* currentTimeMillis;
89034
89034
  const all = yield* get$1(lastMetrics);
89035
89035
  return {
89036
- cpuModel: all[`${worker.name}:${query.minutes}`]?.cpuModel,
89036
+ ...getSomes$1({ cpuModel: fromUndefinedOr(all[`${worker.name}:${query.minutes}`]?.cpuModel) }),
89037
89037
  error: cause.message,
89038
89038
  samples: history(all[`${worker.name}:${query.minutes}`]?.samples ?? [], query.minutes, time),
89039
89039
  stale: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deslop/deploy",
3
- "version": "0.1.1244",
3
+ "version": "0.1.1245",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/MP281X/deslop.git",
@@ -37,5 +37,5 @@
37
37
  "engines": {
38
38
  "node": ">=26"
39
39
  },
40
- "fingerprint": "e25bc843ba26047ff6d36896256f05d7af18676d76c098d889dc7437e75b58b6"
40
+ "fingerprint": "0d2497c0589824ea242b80b63cd073af4c208eeaa69b295d08ca564726ef16c6"
41
41
  }