Skip to content

Add number of tasks left in plain display update#3399

Merged
toastwaffle merged 1 commit intothought-machine:masterfrom
orfeasa:ImproveWorkersLog
Aug 20, 2025
Merged

Add number of tasks left in plain display update#3399
toastwaffle merged 1 commit intothought-machine:masterfrom
orfeasa:ImproveWorkersLog

Conversation

@orfeasa
Copy link
Copy Markdown
Contributor

@orfeasa orfeasa commented Aug 20, 2025

When viewing the status of a build, in large builds the notice indicating the number of tasks completed and remaining. becomes quite hard to parse. An example is:

11:22:52.905 NOTICE: Build running for 11m1s, 278461 / 278463 tasks done, 2 workers busy, parsing 0 BUILD files

It's quite hard to parse 6-digit numbers and subtract them to figure out how many tasks are left.
This PR implements the display of exactly how many tasks are left.

If that's not desirable for all builds, it can be added only if there are more than 10,000 tasks.

Copy link
Copy Markdown
Contributor

@toastwaffle toastwaffle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a screenshot for what the new behaviour looks like? Otherwise lgtm

@orfeasa
Copy link
Copy Markdown
Contributor Author

orfeasa commented Aug 20, 2025

Before:

image

After:
image

@toastwaffle toastwaffle merged commit a6a32aa into thought-machine:master Aug 20, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants