deflake 1.2.0 → 1.2.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.
Files changed (2) hide show
  1. package/cli.js +3 -0
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -734,6 +734,9 @@ async function analyzeFailures(artifacts, fullLog, client) {
734
734
  }
735
735
 
736
736
  const framework = artifacts.length > 0 && artifacts[0].htmlPath?.includes('cypress') ? 'Cypress' : 'Playwright';
737
+ const results = [];
738
+ const processLimit = Math.min(artifacts.length, limit);
739
+ const batchArtifacts = artifacts.slice(0, processLimit);
737
740
 
738
741
  console.log(`🔍 Analyzing ${batchArtifacts.length} failure(s)...`);
739
742
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deflake",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "AI-powered self-healing tool for Playwright, Cypress, and WebdriverIO tests.",
5
5
  "main": "client.js",
6
6
  "bin": {