Jake Verbaten

Results 302 comments of Jake Verbaten
trafficstars

Happened to me too, it randomly deleted ```` workspaces/pipeline/src/memo/ram-memo.ts ```

I'm running it in a loop and it deleted 5/6 random files :(

https://github.com/PabloSzx/graphql-ez/tree/jake/reproduction And ``` $ while true ; do npm run lint:fix ; done ``` Will reproduce it ; you should run pnpm install in this repo as its pnpm; not...

> @Raynos what OS are you and your colleagues using? Mostly macintosh / macbooks, maybe one ubuntu linux user. We don't run oxlint in a loop but yes the npm...

I used the loop example to eventually reproduce the flaky behavior of file truncation.

So i'm curious what happens if you do apply the fix to all files, but at the end of the program, instead of exiting the cli, you sleep for 10milliseconds....

Have you looked whether the issue is the non-atomic nature of fs::write ? https://github.com/rust-lang/rust/issues/82590 Could it be that multiple rules are trying to concurrently fix a file and write the...

if you want a slow integration test you can spawn oxlint as a child process in a loop with a timeout of 5s and assert no files were truncated. You...

For flaky behavior its basically impossible to write a consistent integration test, your just writing a test that will hopefully catch regressions on every second commit on average.