-
Enhancement
-
Resolution: Unresolved
-
P3
-
None
-
None
-
None
In the hunt for bot performance, I think we should evaluate if GitHub's GraphQL could be leveraged to combine common queries into fewer calls. I think specifically we could fetch a pull request with all comments, reviews and review comments in one call. This is a pretty common combination of data to be needed by WorkItems.
What we need to check is at least:
1. Can we make it work?
2. Does it improve performance?
3. Can we fit this query model within the resource limits of GitHub?
The GraphQL API has a different way of tracking resource limits, so we will need to make sure our usage still fits within those limits for our usecases. Related to this is the 1 second delay we are incurring between all non GET calls to GitHub, which may or may not be needed for GraphQL POST calls.
What we need to check is at least:
1. Can we make it work?
2. Does it improve performance?
3. Can we fit this query model within the resource limits of GitHub?
The GraphQL API has a different way of tracking resource limits, so we will need to make sure our usage still fits within those limits for our usecases. Related to this is the 1 second delay we are incurring between all non GET calls to GitHub, which may or may not be needed for GraphQL POST calls.