@checkstack/test-utils-backend 0.1.1 → 0.1.3
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/CHANGELOG.md +37 -0
- package/package.json +1 -1
- package/src/mock-queue-factory.ts +7 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# @checkstack/test-utils-backend
|
|
2
2
|
|
|
3
|
+
## 0.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [d94121b]
|
|
8
|
+
- @checkstack/backend-api@0.3.3
|
|
9
|
+
- @checkstack/queue-api@0.1.1
|
|
10
|
+
|
|
11
|
+
## 0.1.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 180be38: # Queue Lag Warning
|
|
16
|
+
|
|
17
|
+
Added a queue lag warning system that displays alerts when pending jobs exceed configurable thresholds.
|
|
18
|
+
|
|
19
|
+
## Features
|
|
20
|
+
|
|
21
|
+
- **Backend Stats API**: New `getStats`, `getLagStatus`, and `updateLagThresholds` RPC endpoints
|
|
22
|
+
- **Signal-based Updates**: `QUEUE_LAG_CHANGED` signal for real-time frontend updates
|
|
23
|
+
- **Aggregated Stats**: `QueueManager.getAggregatedStats()` sums stats across all queues
|
|
24
|
+
- **Configurable Thresholds**: Warning (default 100) and Critical (default 500) thresholds stored in config
|
|
25
|
+
- **Dashboard Integration**: Queue lag alert displayed on main Dashboard (access-gated)
|
|
26
|
+
- **Queue Settings Page**: Lag alert and Performance Tuning guidance card with concurrency tips
|
|
27
|
+
|
|
28
|
+
## UI Changes
|
|
29
|
+
|
|
30
|
+
- Queue lag alert banner appears on Dashboard and Queue Settings when pending jobs exceed thresholds
|
|
31
|
+
- New "Performance Tuning" card with concurrency settings guidance and bottleneck indicators
|
|
32
|
+
|
|
33
|
+
- Updated dependencies [180be38]
|
|
34
|
+
- Updated dependencies [7a23261]
|
|
35
|
+
- @checkstack/queue-api@0.1.0
|
|
36
|
+
- @checkstack/common@0.3.0
|
|
37
|
+
- @checkstack/backend-api@0.3.2
|
|
38
|
+
- @checkstack/signal-common@0.1.1
|
|
39
|
+
|
|
3
40
|
## 0.1.1
|
|
4
41
|
|
|
5
42
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -123,6 +123,13 @@ export function createMockQueueManager(): QueueManager {
|
|
|
123
123
|
return { success: true, migratedRecurringJobs: 0, warnings: [] };
|
|
124
124
|
},
|
|
125
125
|
getInFlightJobCount: async () => 0,
|
|
126
|
+
getAggregatedStats: async () => ({
|
|
127
|
+
pending: 0,
|
|
128
|
+
processing: 0,
|
|
129
|
+
completed: 0,
|
|
130
|
+
failed: 0,
|
|
131
|
+
consumerGroups: 0,
|
|
132
|
+
}),
|
|
126
133
|
listAllRecurringJobs: async (): Promise<RecurringJobInfo[]> => [],
|
|
127
134
|
startPolling: () => {},
|
|
128
135
|
shutdown: async () => {
|