microsoft / microsoft/DiskANN

[CI] Self hosted benchmark runners should include `rustup`

Open
#1,324 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
1.9k
Forks
454
Avg merge
3d 22h
Merged PRs (30d)
35

Description

The `setup-disk-benchmark` action currently installs `rustup` via [download](https://github.com/microsoft/DiskANN/blob/2882c7591abc621351622fcafa9918a16a79d4da/.github/actions/setup-disk-benchmark/action.yml#L26-L30). Presumably, because the [self-hosted pool](https://github.com/microsoft/DiskANN/blob/2882c7591abc621351622fcafa9918a16a79d4da/.github/workflows/disk-benchmarks.yml#L56) doesn't include `rustup` by default, unlike Github's normal runners.

This increases our supply chain risk. Instead, it would be better to bundle `rustup` into the runner image and remove the installation step from the workflow.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with .github/actions/setup-disk-benchmark/action.yml and .github/workflows/disk-benchmarks.yml, focusing on the current rustup download and the self-hosted runner configuration. Identify where the runner image is defined, ensure it includes rustup, and verify that the benchmark workflow succeeds without downloading it.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, rust
Domain
ci-cd, infrastructure
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.