-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Implemented Graphql requests for Github PR's, Issues and comments scanning #4431
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
Open
kashifkhan0771
wants to merge
32
commits into
trufflesecurity:main
Choose a base branch
from
kashifkhan0771:feature/oss-209
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
ac2c609
Added graphql API for issues and PRs
kashifkhan0771 48a35a5
Merge branch 'main' into feature/oss-209
kashifkhan0771 f827313
enhancements
kashifkhan0771 24571ec
more cleanup
kashifkhan0771 5d96170
more enhancements
kashifkhan0771 cda3e75
some final touches
kashifkhan0771 f2ff9ca
some more cleanup
kashifkhan0771 a9dc2e0
Merge branch 'main' into feature/oss-209
kashifkhan0771 871a490
tweaked threads vars
kashifkhan0771 3f78ee1
minor changes
kashifkhan0771 a96a2ea
scan the markdown text not plain text
kashifkhan0771 1b0af83
ratelimit handling
kashifkhan0771 e6fff98
added ratelimit handling
kashifkhan0771 0b738a4
lint error fix
kashifkhan0771 2ab5514
Merge branch 'main' into feature/oss-209
kashifkhan0771 9b9761e
refactored the thread review comments chunking
kashifkhan0771 2fdf5cd
Merge branch 'main' into feature/oss-209
kashifkhan0771 c3a4de9
final commit - probably
kashifkhan0771 f6445af
Merge branch 'main' into feature/oss-209
kashifkhan0771 53bc5f1
refactored the rate limit handling
kashifkhan0771 4ddb045
adjusted comments
kashifkhan0771 ed85e32
Merge branch 'main' into feature/oss-209
kashifkhan0771 aa88342
Merge branch 'main' into feature/oss-209
kashifkhan0771 531985f
Merge branch 'main' into feature/oss-209
kashifkhan0771 5d00b5a
Merge branch 'main' into feature/oss-209
kashifkhan0771 d420cc2
resolved comments
kashifkhan0771 b993a03
remove old camel case func
kashifkhan0771 3d2fd13
renamed featureflag
kashifkhan0771 615cc9f
resolved martin's comments
kashifkhan0771 434e92a
Merge branch 'main' into feature/oss-209
kashifkhan0771 8a5b356
updated test cases
kashifkhan0771 0c4cda5
Merge branch 'main' into feature/oss-209
kashifkhan0771 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(No need to do anything here, just musing)
Hrm, w/ the old code passing
cutoffTimejust the once was kind of 🤷🏻 , but now that we're carrying it around everywhere, it makes me think it'd be nice if we processeds.commentsTimeframeDaysup top inInit, that way we don't need to drill it down everywhere.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sound's good we can do it in a separate optimization PR.