pipework 0.172.0 → 0.174.0

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 (73) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/REFERENCE.md +22 -0
  3. package/dist/REFERENCE.md +131 -10
  4. package/dist/auth/auth/sessions.d.ts +2 -2
  5. package/dist/auth/auth/sessions.d.ts.map +1 -1
  6. package/dist/auth/auth/sessions.js.map +1 -1
  7. package/dist/core/errors/http.d.ts +1 -1
  8. package/dist/core/errors/http.d.ts.map +1 -1
  9. package/dist/core/errors/http.js.map +1 -1
  10. package/dist/core/pipework.d.ts +2 -1
  11. package/dist/core/pipework.d.ts.map +1 -1
  12. package/dist/core/pipework.js.map +1 -1
  13. package/dist/data/db/readonly.d.ts +14 -0
  14. package/dist/data/db/readonly.d.ts.map +1 -0
  15. package/dist/data/db/readonly.js +2 -0
  16. package/dist/data/db/readonly.js.map +1 -0
  17. package/dist/data/domain/define.d.ts.map +1 -1
  18. package/dist/data/domain/define.js.map +1 -1
  19. package/dist/data/domain/types.d.ts +3 -2
  20. package/dist/data/domain/types.d.ts.map +1 -1
  21. package/dist/data/domain/types.js.map +1 -1
  22. package/dist/data/query/pg-core/primary-keys.d.ts +2 -2
  23. package/dist/data/query/pg-core/primary-keys.d.ts.map +1 -1
  24. package/dist/data/query/pg-core/primary-keys.js +1 -1
  25. package/dist/data/query/pg-core/primary-keys.js.map +1 -1
  26. package/dist/data/query/pg-core/query-builders/insert.d.ts +3 -2
  27. package/dist/data/query/pg-core/query-builders/insert.d.ts.map +1 -1
  28. package/dist/data/query/pg-core/query-builders/insert.js +2 -2
  29. package/dist/data/query/pg-core/query-builders/insert.js.map +1 -1
  30. package/dist/data/query/pg-core/query-builders/update.d.ts +2 -1
  31. package/dist/data/query/pg-core/query-builders/update.d.ts.map +1 -1
  32. package/dist/data/query/pg-core/query-builders/update.js.map +1 -1
  33. package/dist/data/query/sql/expressions/conditions.d.ts +14 -13
  34. package/dist/data/query/sql/expressions/conditions.d.ts.map +1 -1
  35. package/dist/data/query/sql/expressions/conditions.js.map +1 -1
  36. package/dist/data/vector/query.d.ts +4 -4
  37. package/dist/data/vector/query.d.ts.map +1 -1
  38. package/dist/data/vector/query.js.map +1 -1
  39. package/dist/data/write/values.d.ts +2 -13
  40. package/dist/data/write/values.d.ts.map +1 -1
  41. package/dist/infra/alerts/handle.d.ts +2 -2
  42. package/dist/infra/alerts/handle.d.ts.map +1 -1
  43. package/dist/infra/alerts/namespace.d.ts +12 -1
  44. package/dist/infra/alerts/namespace.d.ts.map +1 -1
  45. package/dist/infra/alerts/namespace.js +12 -1
  46. package/dist/infra/alerts/namespace.js.map +1 -1
  47. package/dist/infra/alerts/sources.d.ts +64 -0
  48. package/dist/infra/alerts/sources.d.ts.map +1 -1
  49. package/dist/infra/alerts/sources.js +246 -161
  50. package/dist/infra/alerts/sources.js.map +1 -1
  51. package/dist/infra/alerts/subsystem-sources.d.ts +42 -0
  52. package/dist/infra/alerts/subsystem-sources.d.ts.map +1 -0
  53. package/dist/infra/alerts/subsystem-sources.js +152 -0
  54. package/dist/infra/alerts/subsystem-sources.js.map +1 -0
  55. package/dist/infra/quota/handle.d.ts +2 -1
  56. package/dist/infra/quota/handle.d.ts.map +1 -1
  57. package/dist/infra/quota/handle.js +1 -1
  58. package/dist/infra/quota/handle.js.map +1 -1
  59. package/dist/infra/webhook/outbound.d.ts +5 -1
  60. package/dist/infra/webhook/outbound.d.ts.map +1 -1
  61. package/dist/infra/webhook/outbound.js +3 -1
  62. package/dist/infra/webhook/outbound.js.map +1 -1
  63. package/dist/request/fixture/batch.d.ts +1 -1
  64. package/dist/request/fixture/batch.d.ts.map +1 -1
  65. package/dist/request/fixture/batch.js.map +1 -1
  66. package/dist/request/fixture/types.d.ts +2 -2
  67. package/dist/request/fixture/types.d.ts.map +1 -1
  68. package/dist/request/http/rate-limit-classes.js.map +1 -1
  69. package/dist/request/http/server.js +1 -1
  70. package/dist/request/http/server.js.map +1 -1
  71. package/dist/request/http/types.d.ts +15 -15
  72. package/dist/request/http/types.d.ts.map +1 -1
  73. package/package.json +1 -1
@@ -3,7 +3,8 @@ import { alertsHttp } from './http.js';
3
3
  import { clientFaults } from './client-faults.js';
4
4
  import { webhookSink, memorySink } from './sinks.js';
5
5
  import { requestFaultsHook } from './request-faults.js';
6
- import { deadLetterSource, longRunningSource, backlogSource, healthSource, quotaExhaustedSource, unitFaultSource, loopStalledSource, loopCheck } from './sources.js';
6
+ import { deadLetterSource, longRunningSource, backlogSource, healthSource, quotaExhaustedSource, unitFaultSource, loopStalledSource, loopCheck, querySource, newRowsSource } from './sources.js';
7
+ import { deliveryFailedSource, webhookFailedSource, creditsSource } from './subsystem-sources.js';
7
8
  /** Alerts namespace — raise and resolve keyed conditions, grouped, delivered to sinks through an outbox, traced. */
8
9
  export declare const alerts: {
9
10
  /** Creates an alerts handle. */
@@ -33,6 +34,16 @@ export declare const alerts: {
33
34
  readonly health: typeof healthSource;
34
35
  /** Raises `unit-fault:<unit>` while a systemd unit has stopped abnormally within `window` (rows written by `pipework alerts unit-fault`). */
35
36
  readonly unitFault: typeof unitFaultSource;
37
+ /** Raises `${name}:${id}` for each row a query returns while the condition holds, and resolves what it stops returning. */
38
+ readonly query: typeof querySource;
39
+ /** Raises `${name}:${id}` per group of rows recorded in a table since the last tick (a cursor, settled against late commits). */
40
+ readonly newRows: typeof newRowsSource;
41
+ /** Raises `delivery-failed:<table>:<sink>` for outbox rows that gave up and `delivery-stuck:<table>:<sink>` for rows pending too long. */
42
+ readonly deliveryFailed: typeof deliveryFailedSource;
43
+ /** Raises `webhook-failed:<endpointId>` for outbound webhook deliveries that gave up and `webhook-stalled:<endpointId>` for ones overdue for a retry. */
44
+ readonly webhookFailed: typeof webhookFailedSource;
45
+ /** Raises `credit-overdraft:<tenantId>`, `credit-held:<tenantId>` and `credit-expiry-undrained:all` over the credits tables. */
46
+ readonly credits: typeof creditsSource;
36
47
  /** Raises `loop-stalled:<name>` while a background loop (scheduler, reaper, claim loop, support drain) has not run or succeeded within its allowance; the tick itself is covered by `pipework alerts stale`. */
37
48
  readonly loopStalled: typeof loopStalledSource;
38
49
  };
@@ -1 +1 @@
1
- {"version":3,"file":"namespace.d.ts","sourceRoot":"","sources":["../../../src/infra/alerts/namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,aAAa,EAAE,YAAY,EAAE,oBAAoB,EAAE,eAAe,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAEpK,oHAAoH;AACpH,eAAO,MAAM,MAAM;IACjB,gCAAgC;;IAEhC,0HAA0H;;IAE1H,wLAAwL;;IAExL,oHAAoH;;IAEpH,2DAA2D;;IAE3D,+DAA+D;;IAE/D,kJAAkJ;;;QAGhJ,4EAA4E;;QAE5E,iFAAiF;;QAEjF,mGAAmG;;QAEnG,yGAAyG;;QAEzG,yDAAyD;;QAEzD,6IAA6I;;QAE7I,gNAAgN;;;CAG1M,CAAA"}
1
+ {"version":3,"file":"namespace.d.ts","sourceRoot":"","sources":["../../../src/infra/alerts/namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,aAAa,EAAE,YAAY,EAAE,oBAAoB,EAAE,eAAe,EAAE,iBAAiB,EAAE,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAChM,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAEjG,oHAAoH;AACpH,eAAO,MAAM,MAAM;IACjB,gCAAgC;;IAEhC,0HAA0H;;IAE1H,wLAAwL;;IAExL,oHAAoH;;IAEpH,2DAA2D;;IAE3D,+DAA+D;;IAE/D,kJAAkJ;;;QAGhJ,4EAA4E;;QAE5E,iFAAiF;;QAEjF,mGAAmG;;QAEnG,yGAAyG;;QAEzG,yDAAyD;;QAEzD,6IAA6I;;QAE7I,2HAA2H;;QAE3H,iIAAiI;;QAEjI,0IAA0I;;QAE1I,yJAAyJ;;QAEzJ,gIAAgI;;QAEhI,gNAAgN;;;CAG1M,CAAA"}
@@ -3,7 +3,8 @@ import { alertsHttp } from './http.js';
3
3
  import { clientFaults } from './client-faults.js';
4
4
  import { webhookSink, memorySink } from './sinks.js';
5
5
  import { requestFaultsHook } from './request-faults.js';
6
- import { deadLetterSource, longRunningSource, backlogSource, healthSource, quotaExhaustedSource, unitFaultSource, loopStalledSource, loopCheck } from './sources.js';
6
+ import { deadLetterSource, longRunningSource, backlogSource, healthSource, quotaExhaustedSource, unitFaultSource, loopStalledSource, loopCheck, querySource, newRowsSource } from './sources.js';
7
+ import { deliveryFailedSource, webhookFailedSource, creditsSource } from './subsystem-sources.js';
7
8
  /** Alerts namespace — raise and resolve keyed conditions, grouped, delivered to sinks through an outbox, traced. */
8
9
  export const alerts = {
9
10
  /** Creates an alerts handle. */
@@ -33,6 +34,16 @@ export const alerts = {
33
34
  health: healthSource,
34
35
  /** Raises `unit-fault:<unit>` while a systemd unit has stopped abnormally within `window` (rows written by `pipework alerts unit-fault`). */
35
36
  unitFault: unitFaultSource,
37
+ /** Raises `${name}:${id}` for each row a query returns while the condition holds, and resolves what it stops returning. */
38
+ query: querySource,
39
+ /** Raises `${name}:${id}` per group of rows recorded in a table since the last tick (a cursor, settled against late commits). */
40
+ newRows: newRowsSource,
41
+ /** Raises `delivery-failed:<table>:<sink>` for outbox rows that gave up and `delivery-stuck:<table>:<sink>` for rows pending too long. */
42
+ deliveryFailed: deliveryFailedSource,
43
+ /** Raises `webhook-failed:<endpointId>` for outbound webhook deliveries that gave up and `webhook-stalled:<endpointId>` for ones overdue for a retry. */
44
+ webhookFailed: webhookFailedSource,
45
+ /** Raises `credit-overdraft:<tenantId>`, `credit-held:<tenantId>` and `credit-expiry-undrained:all` over the credits tables. */
46
+ credits: creditsSource,
36
47
  /** Raises `loop-stalled:<name>` while a background loop (scheduler, reaper, claim loop, support drain) has not run or succeeded within its allowance; the tick itself is covered by `pipework alerts stale`. */
37
48
  loopStalled: loopStalledSource,
38
49
  },
@@ -1 +1 @@
1
- {"version":3,"file":"namespace.js","sourceRoot":"","sources":["../../../src/infra/alerts/namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,aAAa,EAAE,YAAY,EAAE,oBAAoB,EAAE,eAAe,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAEpK,oHAAoH;AACpH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,gCAAgC;IAChC,MAAM,EAAE,YAAY;IACpB,0HAA0H;IAC1H,IAAI,EAAE,UAAU;IA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Y;IACZ,oHAAoH;IACpH,aAAa,EAAE,iBAAiB;IAChC,2DAA2D;IAC3D,OAAO,EAAE,WAAW;IACpB,+DAA+D;IAC/D,MAAM,EAAE,UAAU;IAClB,kJAAkJ;IAClJ,SAAS;IACT,MAAM,EAAE;QACN,4EAA4E;QAC5E,UAAU,EAAE,gBAAgB;QAC5B,iFAAiF;QACjF,WAAW,EAAE,iBAAiB;QAC9B,mGAAmG;QACnG,OAAO,EAAE,aAAa;QACtB,yGAAyG;QACzG,cAAc,EAAE,oBAAoB;QACpC,yDAAyD;QACzD,MAAM,EAAE,YAAY;QACpB,6IAA6I;QAC7I,SAAS,EAAE,eAAe;QAC1B,2HAA2H;QAC3H,KAAK,EAAE,WAAW;QAClB,iIAAiI;QACjI,OAAO,EAAE,aAAa;QACtB,0IAA0I;QAC1I,cAAc,EAAE,oBAAoB;QACpC,yJAAyJ;QACzJ,aAAa,EAAE,mBAAmB;QAClC,gIAAgI;QAChI,OAAO,EAAE,aAAa;QACtB,gNAAgN;QAChN,WAAW,EAAE,iBAAiB;KAC/B;CACO,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import type { HealthCheck } from '../../core/lifecycle/types.js';
2
+ import type { SQL } from '../../data/db/index.js';
2
3
  import type { Manifold } from '../../core/pipework.js';
3
4
  import type { AlertSeverity, JsonValue } from './handle.js';
4
5
  /** A condition a source finds true right now. */
@@ -29,12 +30,74 @@ interface TableOption {
29
30
  readonly table?: string;
30
31
  readonly database?: string;
31
32
  }
33
+ type Row = Record<string, unknown>;
34
+ interface SourceBasics {
35
+ readonly severity?: AlertSeverity;
36
+ readonly owner?: string;
37
+ readonly runbook?: string;
38
+ readonly database?: string;
39
+ }
40
+ /** One source from several: it evaluates each in turn and owns what any of them owns. */
41
+ export declare function composeSources(name: string, parts: readonly AlertSource[]): AlertSource;
42
+ export interface QuerySourceOptions extends SourceBasics {
43
+ /** Key prefix: conditions are keyed `${name}:${id}`. Non-empty, no ':'. */
44
+ readonly name: string;
45
+ /** Returns one row per subject that is in trouble right now. */
46
+ readonly query: SQL;
47
+ readonly id: (row: Row) => string;
48
+ readonly message: (row: Row) => string;
49
+ readonly context?: (row: Row) => Record<string, JsonValue>;
50
+ readonly subject?: (row: Row) => AlertCondition['subject'];
51
+ }
52
+ /**
53
+ * For a condition that is true right now: runs `query` (as the system, any tenant) on every tick and raises
54
+ * `${name}:${id}` for each row. An open alert under `${name}:` that a tick no longer returns is resolved.
55
+ */
56
+ export declare function querySource(options: QuerySourceOptions): AlertSource;
57
+ export interface NewRowsGroup {
58
+ readonly id: string;
59
+ readonly count: number;
60
+ readonly last: Row;
61
+ readonly sum: number;
62
+ }
63
+ export interface NewRowsSourceOptions extends SourceBasics {
64
+ /** Key prefix: conditions are keyed `${name}:${id}`; also the cursor's state key unless `stateKey` is given. */
65
+ readonly name: string;
66
+ /** The table holding the recorded failures (an identifier, not schema-qualified). */
67
+ readonly table: string;
68
+ /** The timestamp column a row is stamped with when the failure is recorded. */
69
+ readonly at: string;
70
+ /** Extra filter; the table is aliased `t`. */
71
+ readonly where?: SQL;
72
+ /** A column of the table, or an SQL expression over alias `t`; one condition per distinct value. */
73
+ readonly groupBy: string | SQL;
74
+ readonly message: (group: NewRowsGroup) => string;
75
+ readonly context?: (group: NewRowsGroup) => Record<string, JsonValue>;
76
+ readonly subject?: (group: NewRowsGroup) => AlertCondition['subject'];
77
+ /** A numeric column to total per group, handed to the callbacks as `sum` (0 without it). */
78
+ readonly sum?: string;
79
+ /** Rows are read once they are older than this many ms (default 30_000); see `newRowsSource`. */
80
+ readonly settleMs?: number;
81
+ /** The cursor's key in `pipework_alert_source_state`; default `name`. */
82
+ readonly stateKey?: string;
83
+ }
84
+ /**
85
+ * For a condition that is "new since the last tick": raises `${name}:${id}` for each group of rows in `table`
86
+ * stamped in `at` after the cursor. The cursor lives in `pipework_alert_source_state`, shared by every process;
87
+ * the first evaluation only stores it, so history is not replayed. Each evaluation reads rows with
88
+ * `cursor < at <= clock_timestamp() - settleMs` and moves the cursor to that upper bound, so a row stamped with
89
+ * its transaction's start time that commits within `settleMs` is still read. `settleMs` must exceed the longest
90
+ * transaction that writes the table. It has no `owns`: the condition clears by the handle's quiet period
91
+ * (`resolveAfterQuietMs` on `alerts.create`).
92
+ */
93
+ export declare function newRowsSource(options: NewRowsSourceOptions): AlertSource;
32
94
  /**
33
95
  * Raises `job-dead-letter:<jobType>` for jobs that exhausted their attempts since the last
34
96
  * evaluation (any process: the position is kept in `pipework_alert_source_state`; the first
35
97
  * evaluation starts from now, so history is not replayed). The condition clears only by the
36
98
  * handle's quiet period, so set `resolveAfterQuietMs` on `alerts.create`. `types` limits it to those job
37
99
  * types and `excludeTypes` leaves them out (not both, neither empty); each filter keeps its own position.
100
+ * Jobs are read `settleMs` (default 30_000) after they dead-letter, so one that commits late is not missed.
38
101
  * Conditions carry `owner`, `runbook` and a context of `count` and `lastError`.
39
102
  */
40
103
  export declare function deadLetterSource(options?: TableOption & {
@@ -43,6 +106,7 @@ export declare function deadLetterSource(options?: TableOption & {
43
106
  excludeTypes?: readonly string[];
44
107
  owner?: string;
45
108
  runbook?: string;
109
+ settleMs?: number;
46
110
  }): AlertSource;
47
111
  /** Raises `job-long-running:<jobType>` while a job of that type has been claimed for longer than `olderThanMs`; resolves when none is. */
48
112
  export declare function longRunningSource(options: TableOption & {
@@ -1 +1 @@
1
- {"version":3,"file":"sources.d.ts","sourceRoot":"","sources":["../../../src/infra/alerts/sources.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAChE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAI3D,iDAAiD;AACjD,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,QAAQ,EAAE,aAAa,CAAA;IAChC,QAAQ,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