@letpeoplework/lighthouse-client 1.8.0 → 1.8.1

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.
package/dist/index.d.cts CHANGED
@@ -305,9 +305,11 @@ type PercentilesOverTimeMetricType = "CycleTime" | "WorkItemAge";
305
305
  * recorded for {@link recordedAt} (an ISO date string, one row per calendar day,
306
306
  * ascending).
307
307
  *
308
- * Recording is FORWARD-ONLY — Lighthouse starts capturing the day the feature is
309
- * first deployed and never backfills history it did not observe, so a freshly
310
- * upgraded server legitimately returns an empty array until the first refresh.
308
+ * Lighthouse records a day when it refreshes. By default it never fills in a day
309
+ * it did not record, so a freshly upgraded server legitimately returns an empty
310
+ * array until the first refresh. A System Admin can switch on filling in past
311
+ * days (a Preview, off by default); then a read that finds missing days starts
312
+ * working them out in the background, and a later read may return more rows.
311
313
  *
312
314
  * `CycleTime` is recorded per horizon (30/60/90 days); `WorkItemAge` is always
313
315
  * "as of today" and therefore has no horizon dimension, so a horizon sent
@@ -341,7 +343,9 @@ type ProcessBehaviorMetricType = "Throughput" | "WorkItemAge" | "Wip" | "CycleTi
341
343
  * calendar day, ascending). The family is carried by the request's `type`
342
344
  * parameter, not repeated per row.
343
345
  *
344
- * Recording is FORWARD-ONLY, and a day is only recorded when the underlying
346
+ * Days are recorded on refresh, and — where a System Admin has switched on
347
+ * filling in past days — worked out in the background after a read that found
348
+ * them missing. Either way a day is only present when the underlying
345
349
  * chart had a usable baseline — days where it did not are absent from the
346
350
  * series rather than present as a zeroed triple, so an empty array means
347
351
  * "nothing recorded yet", never "a process pinned at zero".
package/dist/index.d.ts CHANGED
@@ -305,9 +305,11 @@ type PercentilesOverTimeMetricType = "CycleTime" | "WorkItemAge";
305
305
  * recorded for {@link recordedAt} (an ISO date string, one row per calendar day,
306
306
  * ascending).
307
307
  *
308
- * Recording is FORWARD-ONLY — Lighthouse starts capturing the day the feature is
309
- * first deployed and never backfills history it did not observe, so a freshly
310
- * upgraded server legitimately returns an empty array until the first refresh.
308
+ * Lighthouse records a day when it refreshes. By default it never fills in a day
309
+ * it did not record, so a freshly upgraded server legitimately returns an empty
310
+ * array until the first refresh. A System Admin can switch on filling in past
311
+ * days (a Preview, off by default); then a read that finds missing days starts
312
+ * working them out in the background, and a later read may return more rows.
311
313
  *
312
314
  * `CycleTime` is recorded per horizon (30/60/90 days); `WorkItemAge` is always
313
315
  * "as of today" and therefore has no horizon dimension, so a horizon sent
@@ -341,7 +343,9 @@ type ProcessBehaviorMetricType = "Throughput" | "WorkItemAge" | "Wip" | "CycleTi
341
343
  * calendar day, ascending). The family is carried by the request's `type`
342
344
  * parameter, not repeated per row.
343
345
  *
344
- * Recording is FORWARD-ONLY, and a day is only recorded when the underlying
346
+ * Days are recorded on refresh, and — where a System Admin has switched on
347
+ * filling in past days — worked out in the background after a read that found
348
+ * them missing. Either way a day is only present when the underlying
345
349
  * chart had a usable baseline — days where it did not are absent from the
346
350
  * series rather than present as a zeroed triple, so an empty array means
347
351
  * "nothing recorded yet", never "a process pinned at zero".
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letpeoplework/lighthouse-client",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "Shared Lighthouse API client contracts",
5
5
  "repository": "https://github.com/LetPeopleWork/lighthouse-clients",
6
6
  "type": "module",