@checksum-ai/runtime 4.3.1 → 4.3.2-beta.1

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/package.json CHANGED
@@ -43,5 +43,5 @@
43
43
  "url": "https://github.com/checksum-ai/checksum-ai-monorepo/issues"
44
44
  },
45
45
  "homepage": "https://github.com/checksum-ai/checksum-ai-monorepo/tree/main/packages/runtime#readme",
46
- "version": "4.3.1"
46
+ "version": "4.3.2-beta.1"
47
47
  }
@@ -382,7 +382,13 @@ function run(projectPath) {
382
382
  channelOwner(projectPath);
383
383
  stackTrace(projectPath);
384
384
  indexContent(projectPath);
385
- reportTraceFile(projectPath);
385
+ // Skipped in merge mode (CHECKSUM_SKIP_TRACE_PATCH): this patch makes
386
+ // the HTML reporter sleep ~10s per `trace` attachment waiting for a
387
+ // `checksum-playwright-trace` file that only the live run produces; in
388
+ // the merge path (real Playwright traces) it is pure dead time.
389
+ if (process.env.CHECKSUM_SKIP_TRACE_PATCH !== "true") {
390
+ reportTraceFile(projectPath);
391
+ }
386
392
  }
387
393
  } else {
388
394
  console.warn("Project path not found", projectPath);
@@ -518,7 +518,13 @@ function run(projectPath) {
518
518
  channelOwner(projectPath);
519
519
  stackTrace(projectPath);
520
520
  indexContent(projectPath);
521
- reportTraceFile(projectPath);
521
+ // Skipped in merge mode (CHECKSUM_SKIP_TRACE_PATCH): this patch makes
522
+ // the HTML reporter sleep ~10s per `trace` attachment waiting for a
523
+ // `checksum-playwright-trace` file that only the live run produces; in
524
+ // the merge path (real Playwright traces) it is pure dead time.
525
+ if (process.env.CHECKSUM_SKIP_TRACE_PATCH !== "true") {
526
+ reportTraceFile(projectPath);
527
+ }
522
528
  htmlReporter(projectPath);
523
529
  }
524
530
  } else {
@@ -518,7 +518,13 @@ function run(projectPath) {
518
518
  channelOwner(projectPath);
519
519
  stackTrace(projectPath);
520
520
  indexContent(projectPath);
521
- reportTraceFile(projectPath);
521
+ // Skipped in merge mode (CHECKSUM_SKIP_TRACE_PATCH): this patch makes
522
+ // the HTML reporter sleep ~10s per `trace` attachment waiting for a
523
+ // `checksum-playwright-trace` file that only the live run produces; in
524
+ // the merge path (real Playwright traces) it is pure dead time.
525
+ if (process.env.CHECKSUM_SKIP_TRACE_PATCH !== "true") {
526
+ reportTraceFile(projectPath);
527
+ }
522
528
  htmlReporter(projectPath);
523
529
  }
524
530
  } else {
@@ -534,7 +534,13 @@ function run(projectPath) {
534
534
  channelOwner(projectPath);
535
535
  stackTrace(projectPath);
536
536
  indexContent(projectPath);
537
- reportTraceFile(projectPath);
537
+ // Skipped in merge mode (CHECKSUM_SKIP_TRACE_PATCH): this patch makes
538
+ // the HTML reporter sleep ~10s per `trace` attachment waiting for a
539
+ // `checksum-playwright-trace` file that only the live run produces; in
540
+ // the merge path (real Playwright traces) it is pure dead time.
541
+ if (process.env.CHECKSUM_SKIP_TRACE_PATCH !== "true") {
542
+ reportTraceFile(projectPath);
543
+ }
538
544
  htmlReporter(projectPath);
539
545
  }
540
546
  } else {