Skip to content

start storing peak-memory-usage in builds table#3299

Merged
syphar merged 3 commits intorust-lang:mainfrom
syphar:used-memory
Apr 21, 2026
Merged

start storing peak-memory-usage in builds table#3299
syphar merged 3 commits intorust-lang:mainfrom
syphar:used-memory

Conversation

@syphar
Copy link
Copy Markdown
Member

@syphar syphar commented Apr 16, 2026

for now it's just the max of all sub-builds (all targets, json builds), I think that is what we and the authors would need most of the time.

Theoretically we could emit log entries with more details, but I want to think about that longer.

Use case for us and authors is mostly to be able to judge what memory limit is needed in the sandboxes.

First just store, then we look at it, UI later.

@syphar syphar requested a review from a team as a code owner April 16, 2026 03:28
@syphar syphar marked this pull request as draft April 16, 2026 03:28
@github-actions github-actions Bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Apr 16, 2026
@syphar syphar self-assigned this Apr 16, 2026
@syphar syphar changed the title WIP: store peak memory usage in builds table store peak memory usage in builds table Apr 16, 2026
@syphar syphar changed the title store peak memory usage in builds table start storing peak-memory-usage in builds table Apr 16, 2026
@syphar syphar marked this pull request as ready for review April 16, 2026 04:22
Comment thread crates/bin/docs_rs_builder/src/docbuilder/rustwide_builder.rs Outdated
@syphar syphar added S-waiting-on-author Status: This PR is incomplete or needs to address review comments and removed S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed labels Apr 19, 2026
@syphar syphar requested a review from GuillaumeGomez April 20, 2026 06:41
@github-actions github-actions Bot added S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed and removed S-waiting-on-author Status: This PR is incomplete or needs to address review comments labels Apr 20, 2026
Comment thread crates/bin/docs_rs_builder/src/docbuilder/rustwide_builder.rs Outdated
Comment thread crates/bin/docs_rs_builder/src/docbuilder/rustwide_builder.rs
@syphar syphar requested a review from GuillaumeGomez April 21, 2026 04:55
@GuillaumeGomez
Copy link
Copy Markdown
Member

Looks good to me, thanks!

@syphar syphar merged commit 9a14b3d into rust-lang:main Apr 21, 2026
21 of 22 checks passed
@syphar syphar deleted the used-memory branch April 21, 2026 18:00
@github-actions github-actions Bot added S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it and removed S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed labels Apr 21, 2026
@syphar syphar removed the S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it label Apr 23, 2026
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