Thinking about messages #391
Replies: 3 comments 3 replies
-
While I'm being ultra pedantic about messages:
All symbols taken from |
Beta Was this translation helpful? Give feedback.
-
I like your first suggestion and implemented it in 25b4280. (I have been thinking more about logging and progress lately. I tried multiple symbols in |
Beta Was this translation helpful? Give feedback.
-
Is there a reason for using "run" and "end" instead of "start" and "built", as the functions/status suggest? Also, not sure if it is related to this most recent commit, but the spinner seems to have disappeared when I installed the dev version just now (spinner for
Fair enough! |
Beta Was this translation helpful? Give feedback.
-
Hi @wlandau,
I was wondering what you think about modifying the standard message queue produced by
tar_make()
/tar_make_*()
to make it more obvious when a target is built. In the case of running things sequentially withtar_make()
, sure, it's implied that when the next target starts, the previous one must have finished.But in the parallel setting, when you have many targets being built concurrently, taking different lengths of time, it's fairly difficult to tell from the message queue which targets have finished because you really only know if they started. Essentially, when the number of targets started exceeds the number of workers, you can no longer easily tell which targets are running or have been built from the queue (unless you run
tar_progress()
in another session). Basically I'm wondering if the types of informative messages in the standard message queue could be brought closer to the statuses presented bytar_progress()
.In other words, during a call to
tar_make()
et al., a target can go through a lifecycle of:or
So only if the target gets successfully built do you not really get any other feedback (except
● end pipeline
, which I admit was a very nice addition to the message queue). But I keep wanting something like:What are your thoughts?
EDIT: Another good reason to add the "built" messages, I think, is that for those of us that use
reporter = "timestamp"
, you'll actually be able to tell how long a target took to build (roughly) from the message queue alone.Beta Was this translation helpful? Give feedback.
All reactions