-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
status: accepting prsPlease, send a pull request to resolve this! πPlease, send a pull request to resolve this! πtype: bugSomething isn't working :( πSomething isn't working :( π
Description
π Bug Report
- TypeStat version: 0.8.1
- TypeScript version: 5.2
- Node version: 20
Actual Behavior
Starting wave 68...
Completed wave 68. Wrote mutations to 0 files.
Starting wave 69...
Completed wave 69. Wrote mutations to 1 file.
It looks like TypeStat has ended up in an infinite loop.
Bailing out of applying more mutations.
Please file an issue to help us fix the bug for you:
https://github.com/JoshuaKGoldberg/TypeStat
Finished options object 1 of 1.
All done! β¨
Assuming there is no convergence, this is better than 0.7.3, that did 120+ rounds before bailing out with the same message.
Expected Behavior
Reproduction
git clone https://github.com/terriajs/terriajs
cd terriajs
docker run --user node -it -v `pwd`:/files node:20 bash
Put the following in typestat.json inside the terriajs directory:
{
"fixes": {
"incompleteTypes": true
},
"include": ["lib/**/*.{ts,tsx}"],
"projectPath": "./tsconfig.json"
}and run these commands in the docker container:
cd files
yarn install
npx typestat --config typestat.json
Metadata
Metadata
Assignees
Labels
status: accepting prsPlease, send a pull request to resolve this! πPlease, send a pull request to resolve this! πtype: bugSomething isn't working :( πSomething isn't working :( π