@checkstack/healthcheck-jenkins-backend 0.3.8 → 0.3.10
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
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @checkstack/healthcheck-jenkins-backend
|
|
2
2
|
|
|
3
|
+
## 0.3.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- aa2b3aa: fix: remove arbitrary hardcoded assertions in jenkins collectors (queue-info, node-health, job-status) to prevent silent fallback assertion failures, instead properly threading transport execution errors directly to the SingleRunChartGrid UI display widget via a new `_collectorError` result payload property.
|
|
8
|
+
|
|
9
|
+
## 0.3.9
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [26d8bae]
|
|
14
|
+
- Updated dependencies [26d8bae]
|
|
15
|
+
- @checkstack/healthcheck-common@0.11.0
|
|
16
|
+
- @checkstack/backend-api@0.12.0
|
|
17
|
+
|
|
3
18
|
## 0.3.8
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@checkstack/healthcheck-jenkins-backend",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"checkstack": {
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"test": "bun test"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@checkstack/backend-api": "0.11.
|
|
17
|
-
"@checkstack/common": "0.6.
|
|
18
|
-
"@checkstack/healthcheck-common": "0.10.
|
|
16
|
+
"@checkstack/backend-api": "0.11.1",
|
|
17
|
+
"@checkstack/common": "0.6.5",
|
|
18
|
+
"@checkstack/healthcheck-common": "0.10.1"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/bun": "^1.0.0",
|
|
@@ -199,14 +199,8 @@ export class JobStatusCollector implements CollectorStrategy<
|
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
// Determine if there's an error based on build result
|
|
203
|
-
const isFailure =
|
|
204
|
-
result.lastBuildResult === "FAILURE" ||
|
|
205
|
-
result.lastBuildResult === "ABORTED";
|
|
206
|
-
|
|
207
202
|
return {
|
|
208
203
|
result,
|
|
209
|
-
error: isFailure ? `Last build: ${result.lastBuildResult}` : undefined,
|
|
210
204
|
};
|
|
211
205
|
}
|
|
212
206
|
|
|
@@ -179,16 +179,8 @@ export class QueueInfoCollector implements CollectorStrategy<
|
|
|
179
179
|
avgWaitingMs,
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
// Warn if queue is backing up
|
|
183
|
-
const hasIssue = stuckCount > 0 || items.length > 10;
|
|
184
|
-
|
|
185
182
|
return {
|
|
186
183
|
result,
|
|
187
|
-
error: hasIssue
|
|
188
|
-
? `Queue has ${items.length} items${
|
|
189
|
-
stuckCount > 0 ? `, ${stuckCount} stuck` : ""
|
|
190
|
-
}`
|
|
191
|
-
: undefined,
|
|
192
184
|
};
|
|
193
185
|
}
|
|
194
186
|
|