Skip to content
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

Add terrible script for creating list of bugs from triage metadata #589

Closed
wants to merge 1 commit into from

Conversation

foolip
Copy link
Member

@foolip foolip commented Oct 22, 2020

Just to show my work. Do not review/merge.

@foolip foolip closed this Oct 22, 2020
@foolip foolip deleted the bug-list branch October 22, 2020 13:39
@stephenmcgruer
Copy link
Contributor

(If you delete the branch, will github eventually garbage-collect this?)

@KyleJu
Copy link
Contributor

KyleJu commented Oct 22, 2020

(If you delete the branch, will github eventually garbage-collect this?)

This as in this PR? No I don't think PRs ever get deleted ever unless you contact them

@KyleJu
Copy link
Contributor

KyleJu commented Oct 22, 2020

In terms of creating list of bugs from triage metadata, the easier way might be to use the api/metadata? API, https://wpt.fyi/api/metadata?product=safari

@foolip
Copy link
Member Author

foolip commented Oct 22, 2020

PR commit history never gets garbage collected. I suspect actually no refs ever get deleted, I once had to contact GitHub support to delete a ref.

@foolip
Copy link
Member Author

foolip commented Oct 22, 2020

Ha, https://wpt.fyi/api/metadata?product=safari definitely does most of what what I wrote code for, thanks @KyleJu! Filtering, querying Bugzilla and grouping is still needed, but I can delete some of my code. Is the status field the test results, or how can one combine the triage data with test results?

@KyleJu
Copy link
Contributor

KyleJu commented Oct 22, 2020

Ha, https://wpt.fyi/api/metadata?product=safari definitely does most of what what I wrote code for, thanks @KyleJu! Filtering, querying Bugzilla and grouping is still needed, but I can delete some of my code. Is the status field the test results, or how can one combine the triage data with test results?

Correct, the status field is a test result and here is the explanations for this field. In short, you should only see timeout (4) and fail (6). They should be represented in the string format, and I forgot the initial rationale behind using the enum format.

@foolip
Copy link
Member Author

foolip commented Oct 22, 2020

Aha, so it's the status from the triage data, right, not from current test results?

@KyleJu
Copy link
Contributor

KyleJu commented Oct 22, 2020

Aha, so it's the status from the triage data, right, not from current test results?

Correct, it's the status from the triage data. By comparing the status from the triage data and current test results, you can figure out if a metadata/URL is out-of-update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge yet Disable auto-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants