[FR]Sort tags and branches list before 64-revision cap so pruning keeps newest N refs
Mantenedores costumam responder em até 1 dia
@brendan-kellam já está trabalhando nisso.
Desde 23/3/2026.
- #1379 de @DivyamTalwar — fechado sem integrar
Avaliação
Esta issue ainda não foi avaliada.
Descrição
When tags and branches match many refs, Sourcebot truncates to 64 revisions using revisions.slice(0, 64) after listing tags via plain git.tags() / git tag ordering. That order is ref-name order, not recency. For many repos this is naturally oldest tags first. I am guessing this is the opposite of what many users want.
Git already supports explicit ordering (e.g. git tag --sort=-creatordate, --sort=-committerdate, --sort=-version:refname). This request is to apply an explicit sort before truncation. And ideally have that exposed in the config.
Relation to unlimited branches / tags
There is already ongoing work toward removing the 64 revision cap #461 and related PRs). That helps orgs that want a full ref index.
Even with unlimited or much higher limits, a lot of people will still want optionally capped index size and cost. A newest N tags/branches or newest by last commit date policy seems like the natural knob to pass in.
Might be worth adding that sort option and keeping a cap in that other branch.
Currently right now I get my oldest x tags while working on software that matches live code to its sourcebot index for that tag. Naturally I am missing all tags.
- Linguagem predominante
- TypeScript
- Estrelas
- 3.9k
- Forks
- 374
- Merge médio
- 2d 21h
- PRs com merge (30d)
- 43
Preparar o ambiente
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de sourcebot-dev/sourcebot
-
[bug] Search result hydration performs duplicate repository lookups within the same chunkTalvez livre de novo @Abhishek-Sonje assumiu há 19 dias e não há nenhum pull request aberto. Abertabug triage needed
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
sourcebot-dev/sourcebot#1681 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Linux ctags build instructions in CONTRIBUTING.md are missing build dependenciesTalvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
sourcebot-dev/sourcebot#1633 ·
Mantenedores costumam responder em até 1 dia
-
MCP ask_codebase rejects explicit languageModel: getLanguageModelKey includes displayName which the MCP schema doesn't exposeTalvez livre de novo @Harsh23Kashyap assumiu há 101 dias e não há nenhum pull request aberto. Abertaask_sb bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
sourcebot-dev/sourcebot#1137 · 4 comentários ·
Mantenedores costumam responder em até 1 dia
-
[FR] Support file-based and Azure Key Vault token sources alongside env and googleCloudSecretTalvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 64/100
sourcebot-dev/sourcebot#1704 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
[bug] Local repositories with a space or non-ASCII character in the path cannot be indexedTalvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 35/100
sourcebot-dev/sourcebot#1689 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de sourcebot-dev/sourcebot
Issues semelhantes
-
area:deploy task
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
wilanis/wilanis-js#1017 ·
Mantenedores costumam responder em até 1 dia
-
documentation v2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
modelcontextprotocol/servers#5133 ·
Mantenedores costumam responder em até 1 dia
-
budget bug feature frontend good-issue medium needs-review OSCI'26 payments
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
SatyamPandey-07/WorkSphere#5990 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
lugassawan/swe-workbench#799 ·
Mantenedores costumam responder em até 1 dia
-
bug good first issue javascript
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
yukikotani231/sqlsift#326 ·
Mantenedores costumam responder em até 1 dia