@camstack/addon-pipeline-orchestrator 1.2.164 → 1.2.165

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.
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
3
3
  var e = {
4
4
  "@camstack/sdk": {
5
5
  name: "@camstack/sdk",
6
- version: "1.2.80",
6
+ version: "1.2.81",
7
7
  scope: ["default"],
8
8
  loaded: !1,
9
9
  from: "addon_pipeline_orchestrator_widgets",
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.160",
21
+ version: "1.2.161",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_pipeline_orchestrator_widgets",
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.2.128",
36
+ version: "1.2.129",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_pipeline_orchestrator_widgets",
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.160",
39
+ version: "1.2.161",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -45,7 +45,7 @@ async function r() {
45
45
  }
46
46
  },
47
47
  "@camstack/sdk": {
48
- version: "1.2.80",
48
+ version: "1.2.81",
49
49
  scope: "default",
50
50
  shareConfig: {
51
51
  singleton: !0,
@@ -99,7 +99,7 @@ async function r() {
99
99
  }
100
100
  },
101
101
  "@camstack/ui-library": {
102
- version: "1.2.128",
102
+ version: "1.2.129",
103
103
  scope: "default",
104
104
  shareConfig: {
105
105
  singleton: !0,
package/dist/index.js CHANGED
@@ -11444,12 +11444,30 @@ var BackupDestinationInfoSchema = object({
11444
11444
  lastSuccessAt: number().optional(),
11445
11445
  /** Newest-archive size from `manifests.json`, or undefined. */
11446
11446
  lastSuccessSizeBytes: number().optional(),
11447
- /** Per-destination cron expression. Empty = manual-only (no schedule). */
11447
+ /**
11448
+ * Cron cadence(s) of the ENABLED schedules that fan out to this
11449
+ * destination, comma-joined. Absent when no enabled schedule targets it
11450
+ * — a destination nothing is scheduled to write to must not advertise a
11451
+ * cadence (D384). This is never the `backup_destination_policies.cron`
11452
+ * column: that per-location cron has scheduled nothing since 2026-07-28
11453
+ * and reading it made a destination with a DISABLED schedule claim a
11454
+ * nightly run.
11455
+ */
11448
11456
  cron: string().optional(),
11449
- /** ms-epoch of next computed firing for this destination's cron, if any. */
11457
+ /** ms-epoch of the next firing across those schedules (earliest), if any. */
11450
11458
  nextRunAt: number().optional(),
11451
- /** ms-epoch of last successful scheduled run (mirrors policy.lastRunAt). */
11452
- lastRunAt: number().optional()
11459
+ /**
11460
+ * ms-epoch of the last time a run ATTEMPTED to write here — success or
11461
+ * failure. Never a success stamp: pair it with `lastSuccessAt` (the
11462
+ * newest archive that actually landed) and `lastError`.
11463
+ */
11464
+ lastAttemptAt: number().optional(),
11465
+ /**
11466
+ * Why the last attempt failed, verbatim. Absent when the last attempt
11467
+ * landed the archive. A destination that has never been written to has
11468
+ * neither this nor `lastAttemptAt`.
11469
+ */
11470
+ lastError: string().optional()
11453
11471
  });
11454
11472
  /**
11455
11473
  * Per-archive entry returned by `backup.listArchives({ destinationId })`.
@@ -11612,8 +11630,16 @@ var BackupScheduleSchema = object({
11612
11630
  retentionCount: number().int().min(1).max(1e3),
11613
11631
  /** Optional subset of source locations to include; omitted = all. */
11614
11632
  dataSources: array(string()).readonly().optional(),
11615
- /** ms-epoch of last successful run. */
11616
- lastRunAt: number().optional(),
11633
+ /**
11634
+ * ms-epoch of the last tick that FIRED this schedule. Stamped before the
11635
+ * archive runs (it is the dedupe anchor), so it says "attempted", never
11636
+ * "succeeded" — a run refused by every destination stamps it too.
11637
+ */
11638
+ lastAttemptAt: number().optional(),
11639
+ /** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
11640
+ lastSuccessAt: number().optional(),
11641
+ /** Why the last fired run failed, verbatim. Absent when it succeeded. */
11642
+ lastError: string().optional(),
11617
11643
  /** ms-epoch of next computed firing (read-only, filled on list). */
11618
11644
  nextRunAt: number().optional()
11619
11645
  });
@@ -11662,14 +11688,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
11662
11688
  locationId: string(),
11663
11689
  enabled: boolean(),
11664
11690
  retentionCount: number().int().min(1).max(1e3),
11665
- label: string().optional(),
11666
- /**
11667
- * Per-destination cron expression. Empty string clears the
11668
- * schedule (manual-only). Validated server-side via croner;
11669
- * malformed expressions reject the upsert with an actionable
11670
- * message.
11671
- */
11672
- cron: string().optional()
11691
+ label: string().optional()
11673
11692
  }), _void(), {
11674
11693
  kind: "mutation",
11675
11694
  auth: "admin"
package/dist/index.mjs CHANGED
@@ -11416,12 +11416,30 @@ var BackupDestinationInfoSchema = object({
11416
11416
  lastSuccessAt: number().optional(),
11417
11417
  /** Newest-archive size from `manifests.json`, or undefined. */
11418
11418
  lastSuccessSizeBytes: number().optional(),
11419
- /** Per-destination cron expression. Empty = manual-only (no schedule). */
11419
+ /**
11420
+ * Cron cadence(s) of the ENABLED schedules that fan out to this
11421
+ * destination, comma-joined. Absent when no enabled schedule targets it
11422
+ * — a destination nothing is scheduled to write to must not advertise a
11423
+ * cadence (D384). This is never the `backup_destination_policies.cron`
11424
+ * column: that per-location cron has scheduled nothing since 2026-07-28
11425
+ * and reading it made a destination with a DISABLED schedule claim a
11426
+ * nightly run.
11427
+ */
11420
11428
  cron: string().optional(),
11421
- /** ms-epoch of next computed firing for this destination's cron, if any. */
11429
+ /** ms-epoch of the next firing across those schedules (earliest), if any. */
11422
11430
  nextRunAt: number().optional(),
11423
- /** ms-epoch of last successful scheduled run (mirrors policy.lastRunAt). */
11424
- lastRunAt: number().optional()
11431
+ /**
11432
+ * ms-epoch of the last time a run ATTEMPTED to write here — success or
11433
+ * failure. Never a success stamp: pair it with `lastSuccessAt` (the
11434
+ * newest archive that actually landed) and `lastError`.
11435
+ */
11436
+ lastAttemptAt: number().optional(),
11437
+ /**
11438
+ * Why the last attempt failed, verbatim. Absent when the last attempt
11439
+ * landed the archive. A destination that has never been written to has
11440
+ * neither this nor `lastAttemptAt`.
11441
+ */
11442
+ lastError: string().optional()
11425
11443
  });
11426
11444
  /**
11427
11445
  * Per-archive entry returned by `backup.listArchives({ destinationId })`.
@@ -11584,8 +11602,16 @@ var BackupScheduleSchema = object({
11584
11602
  retentionCount: number().int().min(1).max(1e3),
11585
11603
  /** Optional subset of source locations to include; omitted = all. */
11586
11604
  dataSources: array(string()).readonly().optional(),
11587
- /** ms-epoch of last successful run. */
11588
- lastRunAt: number().optional(),
11605
+ /**
11606
+ * ms-epoch of the last tick that FIRED this schedule. Stamped before the
11607
+ * archive runs (it is the dedupe anchor), so it says "attempted", never
11608
+ * "succeeded" — a run refused by every destination stamps it too.
11609
+ */
11610
+ lastAttemptAt: number().optional(),
11611
+ /** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
11612
+ lastSuccessAt: number().optional(),
11613
+ /** Why the last fired run failed, verbatim. Absent when it succeeded. */
11614
+ lastError: string().optional(),
11589
11615
  /** ms-epoch of next computed firing (read-only, filled on list). */
11590
11616
  nextRunAt: number().optional()
11591
11617
  });
@@ -11634,14 +11660,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
11634
11660
  locationId: string(),
11635
11661
  enabled: boolean(),
11636
11662
  retentionCount: number().int().min(1).max(1e3),
11637
- label: string().optional(),
11638
- /**
11639
- * Per-destination cron expression. Empty string clears the
11640
- * schedule (manual-only). Validated server-side via croner;
11641
- * malformed expressions reject the upsert with an actionable
11642
- * message.
11643
- */
11644
- cron: string().optional()
11663
+ label: string().optional()
11645
11664
  }), _void(), {
11646
11665
  kind: "mutation",
11647
11666
  auth: "admin"
@@ -30,7 +30,7 @@ async function d(e) {
30
30
  }
31
31
  }
32
32
  async function f() {
33
- return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-Ah862ZvZ.mjs")).catch((e) => {
33
+ return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-DQ07H3Xc.mjs")).catch((e) => {
34
34
  throw l = void 0, e;
35
35
  }), l;
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-pipeline-orchestrator",
3
- "version": "1.2.164",
3
+ "version": "1.2.165",
4
4
  "description": "Hub-side camera-to-agent load balancer — tracks runner capacity and dispatches attachCamera calls to the optimal pipeline-runner instance",
5
5
  "keywords": [
6
6
  "camstack",