oxidecomputer / oxidecomputer/buildomat

Buildomat serves some artifacts at surprising additional URLs

Open
#45 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
72
Forks
5
PR merge metrics
No merged PRs in 30d

Description

From this omicron build, the rot-all.zip.parta link is https://buildomat.eng.oxide.computer/wg/0/artefact/01HHTZPQ6DY4MZ0KVZFN2X2NHQ/ZXfeWEORzepdonQ3WOeUYdN5pk5TzqRX55vL9m80MrXbzJp7/01HHTZQ06MEN16Z17P40AT2Z6F/01HHV4ZB0JPWPZ7K42WCY97AN8/repo-rot-all.zip.parta. If I change the suffix of that URL to .zip.sha256.txt (which is another file produced by that build) but don't change the IDs leading up to it (https://buildomat.eng.oxide.computer/wg/0/artefact/01HHTZPQ6DY4MZ0KVZFN2X2NHQ/ZXfeWEORzepdonQ3WOeUYdN5pk5TzqRX55vL9m80MrXbzJp7/01HHTZQ06MEN16Z17P40AT2Z6F/01HHV4ZB0JPWPZ7K42WCY97AN8/repo-rot-all.zip.sha256.txt), buildomat still serves the repo-rot-all.zip.parta file. This was confusing when using curl -O, because I ended up with a 1 GiB file named repo-rot-all.zip.sha256.txt.

Contributor guide

No contributing guide indexed for this repository

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 by reproducing the two artifact URLs from the issue and compare the response when the filename suffix is changed without changing the preceding IDs. Trace the artifact-serving request path and confirm that an invalid filename does not return the contents of another artifact; the corrected behavior should prevent the misleading 1 GiB download.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.