@probelabs/visor 0.1.74 → 0.1.76

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.
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CheckExecutionEngine
3
- } from "./chunk-NINHE4RF.mjs";
3
+ } from "./chunk-HDGNSOMS.mjs";
4
4
  import "./chunk-FIL2OGF6.mjs";
5
5
  import "./chunk-WMJKH4XE.mjs";
6
6
  export {
7
7
  CheckExecutionEngine
8
8
  };
9
- //# sourceMappingURL=check-execution-engine-75SSXUBP.mjs.map
9
+ //# sourceMappingURL=check-execution-engine-XBKOCBEK.mjs.map
@@ -1493,7 +1493,7 @@ var PRReviewer = class {
1493
1493
  async reviewPR(owner, repo, prNumber, prInfo, options = {}) {
1494
1494
  const { debug = false, config, checks } = options;
1495
1495
  if (config && checks && checks.length > 0) {
1496
- const { CheckExecutionEngine: CheckExecutionEngine2 } = await import("./check-execution-engine-75SSXUBP.mjs");
1496
+ const { CheckExecutionEngine: CheckExecutionEngine2 } = await import("./check-execution-engine-XBKOCBEK.mjs");
1497
1497
  const engine = new CheckExecutionEngine2();
1498
1498
  const { results } = await engine.executeGroupedChecks(
1499
1499
  prInfo,
@@ -6982,6 +6982,27 @@ ${expr}
6982
6982
  dependencyResults.set(depId, depResult);
6983
6983
  }
6984
6984
  }
6985
+ const directDeps = checkConfig.depends_on || [];
6986
+ const failedDeps = [];
6987
+ for (const depId of directDeps) {
6988
+ const depRes = results.get(depId);
6989
+ if (!depRes) continue;
6990
+ const hasFatalCommandFailure = (depRes.issues || []).some((issue) => {
6991
+ const id = issue.ruleId || "";
6992
+ return id.endsWith("/command/execution_error") || id.endsWith("/command/transform_js_error") || id.endsWith("/command/transform_error");
6993
+ });
6994
+ if (hasFatalCommandFailure) failedDeps.push(depId);
6995
+ }
6996
+ if (failedDeps.length > 0) {
6997
+ this.recordSkip(checkName, "dependency_failed");
6998
+ logger.info(`\u23ED Skipped (dependency failed: ${failedDeps.join(", ")})`);
6999
+ return {
7000
+ checkName,
7001
+ error: null,
7002
+ result: { issues: [] },
7003
+ skipped: true
7004
+ };
7005
+ }
6985
7006
  for (const depId of checkConfig.depends_on || []) {
6986
7007
  if (results.has(depId)) {
6987
7008
  const depResult = results.get(depId);
@@ -8563,6 +8584,7 @@ ${result.value.result.debug.rawResponse}`;
8563
8584
  };
8564
8585
 
8565
8586
  export {
8587
+ logger,
8566
8588
  CheckExecutionEngine
8567
8589
  };
8568
- //# sourceMappingURL=chunk-NINHE4RF.mjs.map
8590
+ //# sourceMappingURL=chunk-HDGNSOMS.mjs.map