diff options
| author | Petr Mrázek <peterix@gmail.com> | 2026-10-30 10:35:54 +0100 |
|---|---|---|
| committer | Oliver Giles <ohw.giles@gmail.com> | 2026-11-02 11:27:47 +1300 |
| commit | 9968f74ae957382d2c4e967564b307dbcc8eeaa2 (patch) | |
| tree | 80301ab5db0dfacc320b7d44d993b1e611a6c72b /src/leader.cpp | |
| parent | 9d928ccad8c89c6f22892d167ea3842173ef62d1 (diff) | |
| download | laminar-master.tar.gz laminar-master.zip | |
Fix page count underflow for jobs with no completed runsHEADlocal/laminarmaster
The job status page computes the number of pages as
(nRuns-1) / runsPerPage + 1 with nRuns unsigned. A job whose first
run is still in progress has no completed builds, so nRuns is 0 and
the subtraction wraps, displaying "Page 1 of 214748365". Report a
single page in that case, and add a functional test for it.
Diffstat (limited to 'src/leader.cpp')
0 files changed, 0 insertions, 0 deletions
