readthedocs / readthedocs/ext-theme

Build details: use first command to infer build length

Open
#644 1 comment 2 reactions 2 assignees View on GitHub

@humitos is already working on this.

Since Mar 10, 2026.

Improvement
Dominant language
HTML
Stars
12
Forks
6
Avg merge
13h 25m
Merged PRs (30d)
1

Description

We have this code

https://github.com/readthedocs/ext-theme/blob/7115c2496ab9172495e2f4783317667a8f1fcf68/src/js/build/detail.js#L320-L338

that infers the build duration based on Build.date. However, that date may not be accurate if the build was not immediate executed, or if it was retried a few times.

To make this infer more accurate, we should use the BuildCommand.start_date from the first build command (usually, git clone). That will give use a more realistic value here.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.