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

Support commit enumeration on pathologically large repositories #2293

Open
andrewpollock opened this issue Jun 7, 2024 · 1 comment
Open
Labels
backlog Important but currently unprioritized infra infrastructure bugs/FRs worker Worker-related infrastructure

Comments

@andrewpollock
Copy link
Contributor

Describe the bug
There are a few Git repositories in the wild that have a pathologically large number of branches:

are ones that I have organically encountered while investigating the treatment of converted CVEs relating to them.

To Reproduce
Steps to reproduce the behaviour:

  1. Run the script below on CVE-2022-21296
  2. Observe the length of time it takes to complete
  3. I believe this exceeds the maximum time the OSV.dev worker currently permits a task to run for

Expected behaviour
When OSV.dev's worker infrastructure performs commit enumeration, it completes, regardless of the repository

Additional context

#!/bin/bash

CVE=$1

gsutil cp gs://cve-osv-conversion/osv-output/${CVE}.json /tmp
pipenv run python -m osv.analyze_tool --analyze_git=true --format=json /tmp/${CVE}.json
cat /tmp/${CVE}.json
@andrewpollock andrewpollock added infra infrastructure bugs/FRs worker Worker-related infrastructure labels Jun 7, 2024
Copy link

github-actions bot commented Aug 6, 2024

This issue has not had any activity for 60 days and will be automatically closed in two weeks

@github-actions github-actions bot added the stale The issue or PR is stale and pending automated closure label Aug 6, 2024
@oliverchang oliverchang added backlog Important but currently unprioritized and removed stale The issue or PR is stale and pending automated closure labels Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Important but currently unprioritized infra infrastructure bugs/FRs worker Worker-related infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants