Skip to content

feat(rpc): Show the number of jobs when building over RPCs. - #16820

Closed
mefyl wants to merge 1 commit into
feat/rpc-client-progressfrom
feat/rpc-client-progress-jobs
Closed

mefyl wants to merge 1 commit into
feat/rpc-client-progressfrom
feat/rpc-client-progress-jobs

Conversation

@mefyl

@mefyl mefyl commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

Description

On top of reporting the progress when building over RPCs, also report the number of jobs.

Example status line output:

Connected to RPC server | Done: 96% (99/103, 4 left) (jobs: 4)

Related Issue and Motivation

Including the jobs count makes the status line the same as when building without RPC, which I think is neat. It requires however quite a bit of additional plumbing, which might not be worth it, hence the separate PR.

This approach changes the progress reporting protocol to include running jobs, which is debatable. An alternative would be to use a second poll subscription with the existing jobs monitoring, which is less invasive but heavier i/o wise.

Checklist

  • Tests added, if applicable.
  • Change log entry added for any user-facing changes.
  • Documentation added for any user-facing changes.

@mefyl
mefyl added this pull request to stack #16821 October 28, 2026 09:43
@mefyl
mefyl marked this pull request as draft October 28, 2026 09:43
@mefyl
mefyl requested review from Alizter and rgrinberg October 28, 2026 09:43
@mefyl
mefyl force-pushed the feat/rpc-client-progress-jobs branch 3 times, most recently from 266736f to 7cdbebc Compare October 28, 2026 10:16
@mefyl
mefyl marked this pull request as ready for review October 28, 2026 10:18
Signed-off-by: mefyl <quentin@tarides.com>
@mefyl
mefyl force-pushed the feat/rpc-client-progress-jobs branch from 7cdbebc to 3eb40cf Compare October 29, 2026 14:21
@rgrinberg

Copy link
Copy Markdown
Member

What about total action time and build start? Otherwise you won't be able to recreate the non-rpc progress we have.

@mefyl

mefyl commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator Author

Given the discussion, it seems clear we don't want anything but exactly the same status line, squashing this into #16819

@mefyl mefyl closed this Oct 29, 2026
@mefyl
mefyl deleted the feat/rpc-client-progress-jobs branch October 30, 2026 09:35
An error occurred while trying to automatically change base from feat/rpc-client-progress to main October 30, 2026 20:46
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