-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elusive log statements #81
Comments
Hey Alex, tracker doesn't do anything fancy: logging is simple How are you running tracker? What is the Node version? Re working for hours, this is quite normal for a first run (with no cache) when long history is requested over a big number of projects. E.g., with |
Hey Arseny — thanks for the quick reply! I'm running tracker locally on a M2 MacBook Pro. Node v18.18.0. Yarn v1.22.17. And I do see the process in Activity Monitor (gobbling up lots of memory too). My issue sounds very similar to the one mentioned in this issue comment. While the initial config file I had could be called ambitious, I have been minimizing the target area while I investigate why the script seems to hang. It's now to only two repos, and back to February of this year. That said, I've experienced this same mysterious missing logs no matter how narrow I seem to make the target. |
What I am struggling to still wrap my head around is why it will work sometimes for a while. For instance yesterday I was able to get ~80% of the timeline analyzed that I wanted. But it seems to be hanging on the last few commits. And now subsequent runs (with that cache in place) appear to just be hanging (at least according to the console output) at that entry point of the |
Okay wanted to add a bit more color to this while I was at it. Here's a screen shot of the forked source of And then the output in my console:
Despite there being a log statement directly on the next line ( |
Hello!
First, thank you for the awesome project — been using this at my organization to understand better of our design system adoption and usage.
I have been running into an issue however, which is that often I'm not seeing log statements making it into the terminal. I've yet to determine the specific conditions, but I've narrowed it down to when the
statsWorker
invokescollectStats
.I typically get one console log output from inside the
collectStats
function per worker — but after that it goes dark. And this leaves me in a situation of not knowing if an unexpected issue (unhandled error) has happened or if the script is just running. At first, I would let this script run, but after hours and hours of no more output I give up and kill the process.I guess my question succinctly is: have you encountered this issue at all? If so, is there a way around it?
I have forked the repository and have been applying tweaks. But haven't found success yet. At this point, I'm thinking it likely has to do with some of the dependencies, namely
worker_threads
. But perhaps I'm just doing something silly.Any advice would be greatly appreciated! Thanks
The text was updated successfully, but these errors were encountered: