@appland/scanner 1.62.1 → 1.62.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.
- package/CHANGELOG.md +7 -0
- package/built/rules/jobNotCancelled.js +8 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@appland/scanner-v1.62.2](https://github.com/applandinc/appmap-js/compare/@appland/scanner-v1.62.1...@appland/scanner-v1.62.2) (2022-07-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Return proper result for job-not-cancelled ([f7ee5da](https://github.com/applandinc/appmap-js/commit/f7ee5da073849881c3c553f08fc2dd82bb8c7965))
|
|
7
|
+
|
|
1
8
|
# [@appland/scanner-v1.62.1](https://github.com/applandinc/appmap-js/compare/@appland/scanner-v1.62.0...@appland/scanner-v1.62.1) (2022-07-13)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -18,11 +18,14 @@ function build() {
|
|
|
18
18
|
const missing = creationEvents.length - cancellationEvents.length;
|
|
19
19
|
if (missing === 0)
|
|
20
20
|
return;
|
|
21
|
-
|
|
22
|
-
event:
|
|
23
|
-
message:
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
const result = {
|
|
22
|
+
event: event,
|
|
23
|
+
message: `${missing} jobs are scheduled but not cancelled in a rolled back transaction`,
|
|
24
|
+
// if there's a mismatch and there are cancellations we can't tell
|
|
25
|
+
// for sure which creations they match, so return everything
|
|
26
|
+
relatedEvents: [...creationEvents, ...cancellationEvents],
|
|
27
|
+
};
|
|
28
|
+
return [result];
|
|
26
29
|
}
|
|
27
30
|
return {
|
|
28
31
|
matcher,
|