rust-lang / rust-lang/rustc-perf
Add endpoint for accessing the shas of unrolled PR builds
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 733
- Forks
- 189
- Avg merge
- 10h 52m
- Merged PRs (30d)
- 43
Description
We now have support for unrolling a rollup and building artifacts for them. The shas identifying these artifacts are then posted to GitHub, but they are not stored anywhere else. It would be nice to expose and endpoint that allows others to ask for this information.
We could do this by adding a database table which stores the mapping of PR to sha. However, since creating the sha should be reproducible, it might be possible to do this on demand.
One additional note, since these builds have proved useful for more than just perf (e.g., for catching regressions), it feels a bit weird that this lives in rustc-perf. I'm not sure where else this should go though.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by tracing the existing unrolled-rollup build flow and where artifact SHAs are posted to GitHub, then determine whether the endpoint should query stored PR-to-SHA mappings or reproduce them on demand. Done means an agreed API design and an endpoint that reliably returns the relevant SHAs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100