Giter Club home page Giter Club logo

Comments (6)

guigrpa avatar guigrpa commented on May 12, 2024

It's true, and something I've encountered myself, but I don't have a clear solution to that — in the more general case, each parallel thread may be infinite (e.g. watching over N parallel compilations). In such a case, the error can also be hidden.

For your particular case, you may consider running in non-parallel mode?

from oao.

Inkdpixels avatar Inkdpixels commented on May 12, 2024

@guigrpa meh, running in non-parallel mode would slow down the CI pipeline a lot, don't you think there is some possibility to print the error logs after all processes have been finished? Of course that doesn't take infinite processes into account, but those are mostly dev scripts anyway aren't they? :)

Anyway thanks for getting back to me so fast! Really appreciated! ❤️

from oao.

guigrpa avatar guigrpa commented on May 12, 2024

I'll figure out something and keep you posted.

You say you're using parallel mode in CI? No problems with the logs? I don't remember exactly how they looked like in e.g. the Travis console, but I guess quite messy, right? What's your experience?

from oao.

Inkdpixels avatar Inkdpixels commented on May 12, 2024

@guigrpa Yep, IMO the logs are fine, except for the errors, that's why I created this issue. It would also be awesome if each printed log would have a package prefix like Lerna has implemented but that's another issue to open up I guess 😄

from oao.

guigrpa avatar guigrpa commented on May 12, 2024

Please check out v1.2.1, just published, and tell me what you think!

from oao.

guigrpa avatar guigrpa commented on May 12, 2024

Just a note: error messages are reprinted at the end when running in --parallel and also logging in parallel. It doesn't make sense to dump stderr again when the --no-parallel-logs is set, since the error is well visible.

I also added prefixes to the logs when running in --parallel with --no-parallel-logs, to simplify attribution.

from oao.

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.