Skip to content

Rust triage generation api #878

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 10, 2021

Conversation

rylev
Copy link
Member

@rylev rylev commented Jun 8, 2021

This adds an API for generating the triage report.

@bjorn3
Copy link
Member

bjorn3 commented Jun 8, 2021

Is this intended to be used from perf.rust-lang.org or a local instance? Deriving the username from the home dir suggests that it is meant to be run locally, but the request handler doesn't gate it to local instances. Also the use of the api token is not rate limited, which makes abuse very easy.

@Mark-Simulacrum
Copy link
Member

We don't currently worry too much about rate limiting across any of the Rust-run services other than crates.io, though it's definitely debt that we're putting in place. I wouldn't worry about it for the purposes of this PR.

@rylev rylev requested a review from Mark-Simulacrum June 9, 2021 12:38
Copy link
Member

@Mark-Simulacrum Mark-Simulacrum left a comment

Choose a reason for hiding this comment

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

Few small comments, but overall looks good

@rylev rylev requested a review from Mark-Simulacrum June 10, 2021 11:46
@Mark-Simulacrum
Copy link
Member

Alright, let's merge this in. Thanks!

@Mark-Simulacrum Mark-Simulacrum merged commit 59ec9ca into rust-lang:master Jun 10, 2021
@rylev rylev deleted the rust-triage-generation branch June 10, 2021 14:04
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.

3 participants