Giter Site home page Giter Site logo

Comments (8)

sunshowers avatar sunshowers commented on May 20, 2024 2

Just published 0.9.3 which should have a fix for this. Thanks again for reporting!

from nextest.

fdncred avatar fdncred commented on May 20, 2024 1

sure. i tried it 5 times without any visible leakage. I'll continue using it and report back if i see any issues. For now, I'd just accept the win and close this issue with a landed PR. thanks for the quick turn and the cool tool!

from nextest.

sunshowers avatar sunshowers commented on May 20, 2024

Thank you! To be clear, are you running within the nushell shell? I'm asking because I haven't seen this across months of testing, and nextest is careful to lock stderr for each line so at least in principle it shouldn't happen.

However, I do believe throwing in a BufWriter would be beneficial -- let me see if I can get a fix out soon.

from nextest.

fdncred avatar fdncred commented on May 20, 2024

hi @sunshowers, i'm running in Windows 11 inside Windows Terminal using PowerShell Core.

Name                           Value
----                           -----
PSVersion                      7.2.1
PSEdition                      Core
GitCommitId                    7.2.1
OS                             Microsoft Windows 10.0.22000
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

I've also noticed something else that may be a tip for all your windows users. Maybe you already know this but I just missed it. Here's the tip. If you're on Windows and you're using Microsoft Defender, it's good to add an exclusion for your build folder. It took my run from 80 seconds to 10. I'm not sure if that's related to this ansi-leakage or not.

from nextest.

sunshowers avatar sunshowers commented on May 20, 2024

Thanks for the info about the enviroment! Ahh yeah, antivirus stuff on Windows is pretty unfortunate.

Going to get a fix for this out in a couple of hours.

from nextest.

fdncred avatar fdncred commented on May 20, 2024

I'm really kind of thinking it's related to Microsoft Defender because when Defender is running on all these files, it pegs the cpu at 100% and that's why some of the tests are slow in the screenshot. So, one way to test this is to have a cpu stress program running while you run nextest to see if that's causing the leakage.

from nextest.

fdncred avatar fdncred commented on May 20, 2024

ok. let me know when you have something to try. i have just reproduced it again, even with it running at full speed with the folder in my defender exception list.

image

from nextest.

sunshowers avatar sunshowers commented on May 20, 2024

Thanks @fdncred! Could you try:

cargo install --git https://github.com/sunshowers/nextest --branch bufwriter --bin cargo-nextest

and see if that fixes this issue?

from nextest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.