public inbox for goredo-devel@lists.stargrave.org
Atom feed
From: Sergey Matveev <stargrave@stargrave•org>
To: goredo-devel@lists.cypherpunks.ru
Subject: Re: Unclear what target the output relates to
Date: Sat, 30 Sep 2023 19:57:38 +0300	[thread overview]
Message-ID: <ZRhTglPBU6pxTy3Q@stargrave.org> (raw)
In-Reply-To: <734040eacb1f05719287c0803c886a46@spacefrogg.net>

[-- Attachment #1: Type: text/plain, Size: 1335 bytes --]

Greetings!

*** spacefrogg [2023-09-28 13:55]:
>I do realize, that without complete log linearization, there still remains
>the following case when running parallel jobs: [...]

Yeah, I thought about that exact situation. But I assume that in
majority of cases that "(sl) TGT ..." output will be convenient and
enough. I will catch every stderr and prepend status line telling what
process output will follow now. And it will be prepended only if
different process started to output something. That will buffer only a
single line, that does not cost/delays anything. When A and B produces
output simultaneously, that will print something like:

    redo A (A.do) ...
    [some message from A]
    [some message from A]
    redo B (B.do) ...
    [some message from B]
    [some message from B]
    [some message from B]
    redo A (B.do) ...
    [some message from A]
    redo B (B.do) ...
    [some message from B]
    ...

I think that is good enough. In general you always understand who
produced the message. And there must not be any collision between
target's stderror and simultaneous printing of the status/progress
message from goredo. Will implement all of that in the next release.

-- 
Sergey Matveev (http://www.stargrave.org/)
OpenPGP: 12AD 3268 9C66 0D42 6967  FD75 CB82 0563 2107 AD8A

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2023-09-30 16:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-21 19:12 Several issues since 1.30 spacefrogg
2023-09-23 19:16 ` resource deadlock avoided messages Sergey Matveev
2023-09-24 11:17   ` goredo
2023-09-25 16:14     ` Sergey Matveev
2023-09-23 19:16 ` Target runs multiple times in single session Sergey Matveev
2023-09-23 19:17 ` Slow/buffered output of targets finished messages Sergey Matveev
2023-09-23 19:17 ` Unclear what target the output relates to Sergey Matveev
2023-09-24 11:10   ` goredo
2023-09-25 16:20     ` Sergey Matveev
2023-09-28 13:55       ` spacefrogg
2023-09-30 16:57         ` Sergey Matveev [this message]
2023-10-16 13:24         ` Sergey Matveev