@fjall/components-infrastructure 39.2.0 → 39.2.2

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.
@@ -85,16 +85,17 @@ export interface ClickHouseAlarmThresholds {
85
85
  export type ClickHouseHostAlarmThresholds = Pick<ClickHouseAlarmThresholds, "cpuThreshold" | "diskWarnThreshold" | "backupHeartbeatWindowHours">;
86
86
  export declare const BACKUP_HEARTBEAT_DEFAULT_WINDOW_HOURS = 26;
87
87
  /**
88
- * Ceiling derivation — an ORDERING bound, not CloudWatch expressibility.
89
- * The 7-day evaluation-span cap would allow 168 hourly buckets, but the
90
- * composite only pages while the arming gate still reads OK, and the gate's
91
- * 7 daily buckets are UTC-midnight-aligned: after a success at UTC hour h
92
- * the gate re-alarms 168 − h hours later (h ≤ 23), while the absence alarm
93
- * needs windowHours + 1 hours. Paging is therefore guaranteed for every
94
- * schedule time only when windowHours ≤ 143; above that the gate can
95
- * re-alarm first and the composite never fires. Net: schedules sparser than
96
- * ~5.8 days (141 h interval + the 2 h margin) cannot be heartbeat-monitored
97
- * — disable with `false` instead.
88
+ * An ordering bound, not what CloudWatch can express. The heartbeat pages
89
+ * only while its arming gate reads OK, so its absence alarm must page before
90
+ * the gate can read ALARM again. The gate's 7 daily buckets span 168 hours.
91
+ * In `platform-use1` on 12 November 2026 CloudWatch ended those buckets at
92
+ * the latest hour, so the gate held OK for at least its span. An earlier
93
+ * reading assumed buckets aligned at UTC midnight, which would end that up to
94
+ * 23 hours sooner. The bound keeps that reading's margin, so no window it
95
+ * admitted changes meaning, and takes 2 hours more for the absence alarm to
96
+ * page. So a schedule sparser than about 5.8 days (141 h between backups
97
+ * plus the 2 h margin) can't be monitored by the heartbeat. Disable it with
98
+ * `false` instead.
98
99
  */
99
100
  export declare const BACKUP_HEARTBEAT_MAX_WINDOW_HOURS = 143;
100
101
  /**
@@ -9,16 +9,17 @@ import { CLICKHOUSE_BACKUP_VERIFY_FAILED_MARKER, CLICKHOUSE_BACKUP_VERIFY_SKIPPE
9
9
  import { toPascalCase } from "../../../utils/capitaliseString.js";
10
10
  export const BACKUP_HEARTBEAT_DEFAULT_WINDOW_HOURS = 26;
11
11
  /**
12
- * Ceiling derivation — an ORDERING bound, not CloudWatch expressibility.
13
- * The 7-day evaluation-span cap would allow 168 hourly buckets, but the
14
- * composite only pages while the arming gate still reads OK, and the gate's
15
- * 7 daily buckets are UTC-midnight-aligned: after a success at UTC hour h
16
- * the gate re-alarms 168 − h hours later (h ≤ 23), while the absence alarm
17
- * needs windowHours + 1 hours. Paging is therefore guaranteed for every
18
- * schedule time only when windowHours ≤ 143; above that the gate can
19
- * re-alarm first and the composite never fires. Net: schedules sparser than
20
- * ~5.8 days (141 h interval + the 2 h margin) cannot be heartbeat-monitored
21
- * — disable with `false` instead.
12
+ * An ordering bound, not what CloudWatch can express. The heartbeat pages
13
+ * only while its arming gate reads OK, so its absence alarm must page before
14
+ * the gate can read ALARM again. The gate's 7 daily buckets span 168 hours.
15
+ * In `platform-use1` on 12 November 2026 CloudWatch ended those buckets at
16
+ * the latest hour, so the gate held OK for at least its span. An earlier
17
+ * reading assumed buckets aligned at UTC midnight, which would end that up to
18
+ * 23 hours sooner. The bound keeps that reading's margin, so no window it
19
+ * admitted changes meaning, and takes 2 hours more for the absence alarm to
20
+ * page. So a schedule sparser than about 5.8 days (141 h between backups
21
+ * plus the 2 h margin) can't be monitored by the heartbeat. Disable it with
22
+ * `false` instead.
22
23
  */
23
24
  export const BACKUP_HEARTBEAT_MAX_WINDOW_HOURS = 143;
24
25
  /** Arming memory of the heartbeat: 7 daily buckets — the 7-day CloudWatch
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fjall/components-infrastructure",
3
- "version": "39.2.0",
3
+ "version": "39.2.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/fjall-tech/fjall.git",
@@ -87,8 +87,8 @@
87
87
  },
88
88
  "dependencies": {
89
89
  "@aws-sdk/client-organizations": "^3.1098.0",
90
- "@fjall/generator": "^39.2.0",
91
- "@fjall/util": "^39.2.0",
90
+ "@fjall/generator": "^39.2.2",
91
+ "@fjall/util": "^39.2.2",
92
92
  "constructs": "^10.7.2",
93
93
  "zod": "^4.4.3"
94
94
  },