Skip to content

Display ReportResultStage slots for each worker#3

Merged
werkt merged 1 commit into
buildfarm:masterfrom
lucidsoftware:jaredneil/display-report-stage
Oct 6, 2025
Merged

Display ReportResultStage slots for each worker#3
werkt merged 1 commit into
buildfarm:masterfrom
lucidsoftware:jaredneil/display-report-stage

Conversation

@JaredNeil

Copy link
Copy Markdown

We ran into an issue where the report stage was really slow (CAS workers were overwhelmed) and it wasn't obvious that the execution slots were all full because they were stalled waiting on the single report stage. This adds a column for the report stage. Unfortunately having three columns means there will be a gap after the execution stage unless it's full. Happy to rework the formatting if you think there's a better way to lay this out.

Comment thread view/queue.go
Comment on lines +550 to +575
var format_string string
if slots < 10 {
format_string = "# %d/%d #"
} else if slots < 100 {
format_string = "# %2d/%2d #"
} else {
format_string = "# %3d/%3d #"
}

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

There is probably a better way to do this, but I'm not super familiar with Go.

jasonschroeder-sfdc added a commit to jasonschroeder-sfdc/bf-client that referenced this pull request May 22, 2025
@JaredNeil JaredNeil force-pushed the jaredneil/display-report-stage branch from 2643721 to f995ebb Compare June 16, 2025 20:40
@JaredNeil JaredNeil force-pushed the jaredneil/display-report-stage branch from f995ebb to 577c8af Compare September 8, 2025 21:41
@JaredNeil

Copy link
Copy Markdown
Author

@jasonschroeder-sfdc, could this be merged now?

@jasonschroeder-sfdc

Copy link
Copy Markdown
Contributor

That's up to @werkt , I have no powers here 😂

@werkt werkt merged commit 4a1f669 into buildfarm:master Oct 6, 2025
1 check 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.

3 participants