Commit tag enumeration: better detection of relevant branch heads
Open
backlog
bug
infra
worker
- Dominant language
- Go
- Stars
- 2.9k
- Forks
- 369
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 149
Description
Currently, our version tag enumeration is based on looking through available upstream branches: https://github.com/google/osv.dev/blob/c8d6717fd63ef85ac0c1e0cc551cd1cfcc76a9d9/osv/impact.py#L143
However, this breaks when the upstream repo deletes branches over time (e.g. CPython per #1552). In these cases, it's possible tag references are still around that point to the various branch heads that we actually need to examine. We should include these in our analysis for more complete results.
Contributor guide
Assessment
This issue has not been assessed yet.