@probelabs/visor 0.1.73 → 0.1.75
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/README.md +32 -0
- package/action.yml +5 -1
- package/dist/check-execution-engine.d.ts.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/index.js +55 -8
- package/dist/sdk/{check-execution-engine-75SSXUBP.mjs → check-execution-engine-2N5TY2WA.mjs} +2 -2
- package/dist/sdk/{chunk-NINHE4RF.mjs → chunk-UWH6YVX2.mjs} +23 -2
- package/dist/sdk/{chunk-NINHE4RF.mjs.map → chunk-UWH6YVX2.mjs.map} +1 -1
- package/dist/sdk/sdk.js +21 -0
- package/dist/sdk/sdk.js.map +1 -1
- package/dist/sdk/sdk.mjs +1 -1
- package/package.json +1 -1
- /package/dist/sdk/{check-execution-engine-75SSXUBP.mjs.map → check-execution-engine-2N5TY2WA.mjs.map} +0 -0
package/dist/sdk/sdk.js
CHANGED
|
@@ -7252,6 +7252,27 @@ ${expr}
|
|
|
7252
7252
|
dependencyResults.set(depId, depResult);
|
|
7253
7253
|
}
|
|
7254
7254
|
}
|
|
7255
|
+
const directDeps = checkConfig.depends_on || [];
|
|
7256
|
+
const failedDeps = [];
|
|
7257
|
+
for (const depId of directDeps) {
|
|
7258
|
+
const depRes = results.get(depId);
|
|
7259
|
+
if (!depRes) continue;
|
|
7260
|
+
const hasFatalCommandFailure = (depRes.issues || []).some((issue) => {
|
|
7261
|
+
const id = issue.ruleId || "";
|
|
7262
|
+
return id.endsWith("/command/execution_error") || id.endsWith("/command/transform_js_error") || id.endsWith("/command/transform_error");
|
|
7263
|
+
});
|
|
7264
|
+
if (hasFatalCommandFailure) failedDeps.push(depId);
|
|
7265
|
+
}
|
|
7266
|
+
if (failedDeps.length > 0) {
|
|
7267
|
+
this.recordSkip(checkName, "dependency_failed");
|
|
7268
|
+
logger.info(`\u23ED Skipped (dependency failed: ${failedDeps.join(", ")})`);
|
|
7269
|
+
return {
|
|
7270
|
+
checkName,
|
|
7271
|
+
error: null,
|
|
7272
|
+
result: { issues: [] },
|
|
7273
|
+
skipped: true
|
|
7274
|
+
};
|
|
7275
|
+
}
|
|
7255
7276
|
for (const depId of checkConfig.depends_on || []) {
|
|
7256
7277
|
if (results.has(depId)) {
|
|
7257
7278
|
const depResult = results.get(depId);
|