Skip to content
This repository has been archived by the owner on Mar 26, 2022. It is now read-only.

Add trace support to the UI and API #49

Open
jonbodner opened this issue Dec 5, 2018 · 1 comment
Open

Add trace support to the UI and API #49

jonbodner opened this issue Dec 5, 2018 · 1 comment

Comments

@jonbodner
Copy link
Contributor

The most common support question is: "I don't know why checks-out didn't approve my PR." So far, we haven't found any bugs in checks-out, but we have found that it is often unclear why checks-out makes the approvals that it does. It would be good to have a way for users to find out what checks-out current opinion of a PR is. This should be available via API and UI.

@cliffmeyers
Copy link

cliffmeyers commented Mar 18, 2019

An API would be totally sufficient for our purposes, and I assume much easier to implement than a UI. I would suggest the following:

http://{checksout-domain}/api/repos/{orgname}/{reponame}/PR/{prnumber}

This would dump the various actions taken by checks-out against a PR, almost like an audit log, but just an array of simple objects.

I don't have any insight as to whether CO persists any of the actions it takes right now (either via a logging framework, or some other persistence engine). If it doesn't, this would obviously be a good chunk of work. However if the information already exists, then this shouldn't be too difficult?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants