-
Notifications
You must be signed in to change notification settings - Fork 144
GitHub: General, Ansibullbot & Scaling issues #357
Comments
So, on the hook stuff, I think there is some workload that could be moved there. For example, the one that remind people we have a SIG, it doesn't change much if we lose it. I also wonder if we can get a hybrid approach, eg have a hook based workflow, and then run the bot less often or something like this ? |
To make webhook handling more reliable, we could use a Lambda function to receive the webhooks and drop them into an SQS queue. The bot could consume the events from that SQS queue instead of needing to receive the directly. |
From Tanner
|
python org bots fix this with adding delays after receiving hooks and then do some API queries |
Also, GitHub Apps integrations have a UI for checking on all the events they've sent to the integration along with a response from the service. |
IIRC the problems were that even receiving the hook was unreliable, and we couldn't guarantee we would ever receive it |
Looks like an infra problem |
@gundalow tell gh that we're also unhappy with "GitHub Releases" feature not allowing to hide links to autogenerated |
Sometimes. It's also due to not every event triggering a webhook, such as shippable job re-runs or job-completes. |
I have a meeting with one of the Product Managers at GitHub early next week, so if anyone has other comments please do add them. |
Allow a contributor to set approved for self code reviews, this is impossible today and forces the creation of a 2nd account to set approved. |
Forms rather than freeform text for issue and PR creation to replace ISSUE TEMPLATES or PR TEMPLATES |
This comment has been minimized.
This comment has been minimized.
There's some kind of issue with the v3 API when requesting a large amount of PR information - I was doing some indexing of data, and requesting anything larger that "all PRs from May1st 2018 to now" resulted in errors. Details here and seems to affect other large repos (such as Kubernetes) too. |
Allow people who don't have write access to Reset all GitHub approvals when a PR is updated. |
Editing PRs is probably too risky and it's ACL control after all. I don't think it's possible. Approvals reset can be configured on protected branches in GH settings. |
@GregSutcliffe anyway I think it's better to requests chunks rather than whole db... |
This is now live:
ReportedContentClassifiers = |
This is now live:
ReportedContentClassifiers = |
Then it becomes "add ACL control".
It would be useful for unprotected branches too. |
I do not agree with this, there are many situations where an update to a PR should not reset approvals. An important one is a (required) rebase, but also smaller changes should not affect a prior approval. This really depends on the interpretation of an approval as well as the changes being made. We would be shooting ourselves in the foot if we would reset approvals IMO. And it definitely does not improve Contributor Experience. |
Allow quick Github edits by people with commit rights. Currently it either means we edit the branch directly, or create a branch in the official project. I want to have the same option as users with read-access, create a branch in my personal space. |
This comment has been minimized.
This comment has been minimized.
Add more Github reactions, like one to indicate the commenter should have used Github reactions instead of adding a comment to approve a previous comment :-P Maybe also a Github reaction to indicate a commenter should have read the fine documentation ? Or a Github reaction to indicate you do not think it is a priority (rather than +1 and -1). |
Regarding new Checks API thing. It doesn't affect us a lot but it will. OTOH... It might be Travis CI misusing Checks API and dumping all jobs info to one page... |
Automatically link users, issues and PRs in the Wiki (like how they work in comments). |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
One thing I'd like is a sidebar box with a list of other issues and pr's linked to the current issue/pr. Ideally 'above the fold' on the page. For an example, ansible/ansible#31751 is referenced by 3 other issues, and reference another issue and a project. But you have to read through all the comments to find it. Those references are easy to miss since they unconsciously get lumped in with the usually noisy issue event entries. Hopefully that would help cut down on duplicate issues. And make the issue cross references more valuable. And highlighting pull requests that reference an issue are more highlighted, it might increase the folks looking at or trying a pull request which can help it get resolved quicker. A bonus step would be a page that summarizes the clumps of issues/prs that reference each other. |
|
I would like to see a version of the 'Commits' log view that includes the full commit message. Both for the main repo view (https://github.com/ansible/ansible/commits/devel for example), and for the commits list in a PR. Even better would be a view with a 'git log --stat' equivalent. Would make it easier for users to scan the commit history when looking for related changes. For someone reviewing a PR it would help surface info (the full commit messages) which is tedious to view until you go to squash and merge and see them concatenated together and have to manipulate them into a coherent single commit message. Related... Show more of first line of the commit message, even if it is longer than 50 char even if it has to be line wrapped. Up to some reasonable limit (500 chars? 1000) at least. The current display for the first/summary line often reads like a mystery with the last page ripped out. Any thing to encourage better and more detailed commit messages would be useful to project users and developers. |
Support finding pull requests that affect particular files. Possibly as a pr search field. For pull requests, that data should exist. It would be much much more complicated to be able to search issues by file though it would be kind of amazing. It probably makes sense for the issue->files info to be determined by something tailored to the project via some integration point. Ansible does issue->file mapping to some degree with ansibot (ansible/ansible#50509 (comment) for ex). But it is not easy for users to make use of that data. An example use for ansible is a user who is seeing problems with the 'at' module. The options for finding existing issue reports in that case are very slim. An issue search for 'at module' finds 1209 issues, mostly spurious. A search for 'lib/ansible/modules/system/at.py' or 'at.py' finds two relevant open issues. |
@pilou- We can't use the Github review system anyway, because Github does not have the same workflows or knowledge as ansibot does. Github does not know who a maintainer is, or how many shipits work for a given PR. Obviously being able to do everything we do in ansibot in Github could be useful, but singling out a specific feature will not help (instead it could make it worse if it lacks the holistic view) |
@dagwieers Being able to use GitHub |
In the diff view of a PR, longer sections between two diff positions are collapsed away. When clicking the expand button, lines from below the expand button are added. If one is interested in the lines below the diff above the expand button, one has to click the expand button very many times (depending on the distance to the next diff). That's very annoying. Also, sometimes one wants to get rid of all collapsed positions to see the diff of the complete file, for example to see how a PR interacts with the total file. At the moment, this involves a lot of manual clicking. A button "expand all" per file (or even per PR) would improve this situation alot! |
This question needs to be addressed for reliability improvements in bots:
Long story short, they provide API to query events but there's no way to match them with events received via webhooks because they use different kinds of identifiers, so I can see the same events on the UI but there's no way to connect them 😞 I think that the solution is extremely simple on their side: just add another field to data in API or to headers in their webhook events. |
It would be nice if you can easily go from a PR to the author's branch. Currently that branch is listed at the top as:
But it would be more convenient if you could click on |
@dagwieers it's actually what GitHub has implemented a few days ago 👍 |
@gundalow can we ask GitHub to allow buttons in Checks API to be available to everyone so that access control would be possible to do in the click handlers on GitHub App side. |
@gundalow I've created an FR post on the community forum for this:https://git.luolix.topmunity/t5/GitHub-API-Development-and/FR-Make-possible-to-show-action-buttons-posted-via-Checks-API-to/m-p/21423/highlight/true#M1342 |
I should be able to make contact with people in the (platform /API developer experience) team(s) at GitHub. Need to think what to ask them
This is just a place so we can collect ideas
The text was updated successfully, but these errors were encountered: