~sircmpwn/sr.ht-discuss

2 2

[builds.sr.ht] display build times

Details
Message ID
<D4B9Q6NEVUYO.1845KRO7SXPC@quaff.ca>
DKIM signature
pass
Download raw message
I couldn't find a ticket or discussion relating to this, but it would
be really useful to display how long a build took, or even elapsed time
for a running build.

Is that possible with how the build system is currently set up?
Details
Message ID
<b07ea03f-53c9-4887-ac6c-15bf28a6e879@jacksonchen666.com>
In-Reply-To
<D4B9Q6NEVUYO.1845KRO7SXPC@quaff.ca> (view parent)
DKIM signature
pass
Download raw message
On 9/20/24 18:56, Ming Tang wrote:
> I couldn't find a ticket or discussion relating to this, but it would
> be really useful to display how long a build took, or even elapsed time
> for a running build.
> 
> Is that possible with how the build system is currently set up?

Currently at the bottom of job details pages, it shows the following 
when the job is completed (failed or succeeded):

Build complete: success 2 days ago (took a minute)

You can see that on 
https://builds.sr.ht/~jacksonchen666/job/1331925#bottom for example. You 
can also hover over the "took a minute" to see the precise amount of 
seconds (103 seconds in this case for that linked build).

You can also look at the "Created" and "Updated" time difference 
(assuming visibility hasn't changed since the build finished). If the 
visibility did change though, well, even builds.sr.ht relies on that 
time difference so it'll be wrong too. (See 
https://builds.sr.ht/~jacksonchen666/job/1332619#bottom as an example)
Details
Message ID
<D4ES79KQGTBS.1O4CL7DM8Z940@quaff.ca>
In-Reply-To
<b07ea03f-53c9-4887-ac6c-15bf28a6e879@jacksonchen666.com> (view parent)
DKIM signature
pass
Download raw message
On Sat Sep 21, 2024 at 7:05 AM PDT, Jackson wrote:
> Currently at the bottom of job details pages, it shows the following 
> when the job is completed (failed or succeeded):
>
> Build complete: success 2 days ago (took a minute)

Ah. I hadn't noticed that before. Should have looked harder! Perhaps it
can be placed in the side bar. But thank you for pointing this out to me.
Reply to thread Export thread (mbox)