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

dashboard/app: file coverage is not always available #5592

Closed
tarasmadan opened this issue Dec 11, 2024 · 1 comment · Fixed by #5779
Closed

dashboard/app: file coverage is not always available #5592

tarasmadan opened this issue Dec 11, 2024 · 1 comment · Fixed by #5779
Labels

Comments

@tarasmadan
Copy link
Collaborator

Describe the bug
https://raw.githubusercontent.com/torvalds/linux/7cb1b466315004af98f6ba6c2546bb713ca3c237/virt/kvm/kvm_main.c returns 429 for some reason even when I'm trying to open the link using my browser.
It seems to be the throttling.
GitHub limit is 5k requests/hour per IP.

Expected behavior
Coverage data is always available.

Additional context
Direct links to github are the temporary solution. We're working on syzbot internal storage.
This bug may increase the internal work priority.

@tarasmadan tarasmadan added the bug label Dec 11, 2024
@tarasmadan
Copy link
Collaborator Author

Current options:

  1. SSM supports file operations. We can't switch to SSM based repo because of the auth problems.
  2. https://github.com/go-git/go-git combined with git config core.sparseCheckout true.
  3. Use kernel.googlesource.com instead of raw.githubusercontent.com . Example - https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git/+/7cb1b466315004af98f6ba6c2546bb713ca3c237/virt/kvm/kvm_main.c .

Option 3 looks the best. Thanks @melver for it.

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

Successfully merging a pull request may close this issue.

1 participant