Skip to content

chore(dev): use 'minimal' profile for rustup to slim down Rust installs#1271

Merged
tobz merged 1 commit into
mainfrom
tobz/rustup-minimal-profile
Mar 27, 2026
Merged

chore(dev): use 'minimal' profile for rustup to slim down Rust installs#1271
tobz merged 1 commit into
mainfrom
tobz/rustup-minimal-profile

Conversation

@tobz
Copy link
Copy Markdown
Member

@tobz tobz commented Mar 27, 2026

Summary

As stated in the PR title.

This avoids things like install rust-docs which are never needed in CI, and shouldn't really be needed locally. If someone wants them, they can install them manually.

This should make our CI images smaller and faster to download, and in turn make cold image builds just a little bit faster.

Change Type

  • Bug fix
  • New feature
  • Non-functional (chore, refactoring, docs)
  • Performance

How did you test this PR?

Built ADP, millstone, and datadog-intake images locally and ensured they still built correctly. Manually triggered a run of the build CI image job and ensured it ran to completion and that it got much slimmer.

References

AGTMETRICS-400

@tobz tobz requested a review from a team as a code owner March 27, 2026 12:52
@tobz tobz added the type/chore Updates to dependencies or general "administrative" tasks necessary to maintain the codebase/repo. label Mar 27, 2026
@dd-octo-sts dd-octo-sts Bot added the area/ci CI/CD, automated testing, etc. label Mar 27, 2026
@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented Mar 27, 2026

Binary Size Analysis (Agent Data Plane)

Target: 5a8776b (baseline) vs b179844 (comparison) diff
Analysis Type: Stripped binaries (debug symbols excluded)
Baseline Size: 26.16 MiB
Comparison Size: 26.16 MiB
Size Change: +0 B (+0.00%)
Pass/Fail Threshold: +5%
Result: PASSED ✅

Changes by Module

Module File Size Symbols

Detailed Symbol Changes

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  [ = ]       0  [ = ]       0    TOTAL

@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented Mar 27, 2026

Regression Detector (Agent Data Plane)

This comment was omitted because it was over 65,536 characters.Please check the Gitlab Job logs to see its output.

Copy link
Copy Markdown
Contributor

@webern webern left a comment

Choose a reason for hiding this comment

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

Looks like it works 👍

@tobz tobz merged commit e91158e into main Mar 27, 2026
61 checks passed
@tobz tobz deleted the tobz/rustup-minimal-profile branch March 27, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci CI/CD, automated testing, etc. type/chore Updates to dependencies or general "administrative" tasks necessary to maintain the codebase/repo.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants