codeceptjs / codeceptjs/CodeceptJS

Self healing AI capability doesn't work in parallel mode

Aberta
#4,526 1 comentário 0 reações 1 responsável Reivindicada por @DavertMik Ver no GitHub
stale
Linguagem predominante
JavaScript
Estrelas
4.2k
Forks
757
Merge médio
2d 9h
PRs com merge (30d)
16

Descrição

#### What are you trying to achieve?
We would like to use self healing AI capability https://codecept.io/ai/#self-healing-tests on CI

#### What do you get instead?
Self-healing capability works only for single test execution run --ai

```bash
npx codeceptjs run --ai --grep @T6f98b591 --config=./codeceptjs/codecept.conf.common.js
```

![Screenshot 2024-10-25 at 12 13 50](https://github.com/user-attachments/assets/d7f6612a-cf0e-4c0e-b23d-accc553d70fc)

but doesn't work with parallel execution using workers

```bash
npx codeceptjs run-workers 2 --ai --grep @T6f98b591 --config=./codeceptjs/codecept.conf.common.js
```
no generation of the self-healing report for this command

### Details

* CodeceptJS version: 3.6.5
* NodeJS Version: 20.16.0
* Operating System: MacOS
* playwright: 1.38.1

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.