Comments (6)
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.
@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.
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.
@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.
Please check out v1.2.1, just published, and tell me what you think!
from oao.
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)
- Bumping dependencies on publish HOT 25
- Allow --tree in publish command
- Fixing oao publish as a yarn script HOT 2
- [docs] yarn workspaces
- Version packages independently HOT 6
- Recommended workflow HOT 2
- Semantic release HOT 4
- publish cannot be ran again of npm publish fails HOT 5
- status --src argument cannot accept multiple paths HOT 2
- remove package from all submodules HOT 2
- --ignore-src doesn't like similar names HOT 2
- Publish without version bumping HOT 1
- does not work without installing npm HOT 1
- Allow package to define a folder to publish / link HOT 4
- run-script --tree reads from subpackage node_modules folder in monorepo HOT 1
- Remove `@babel/polyfill` HOT 2
- Add OTP support for publish
- Preserve nr of spaces for output package.json's HOT 1
- Yarn workspaces and --src
- Allow main as publish branch name HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oao.