Batch operations for code search / in general
- Langage dominant
- Go
- Étoiles
- 46.3k
- Forks
- 9k
- Merge moyen
- 2 j 6 h
- PR mergées (30 j)
- 97
Description
Hello people,
AI related feature
https://github.com/cli/cli/issues/5782 is a related issue but is for batch issue edits. Maybe something more thorough should be thought of for batch operations on other commands
In my case, i am at a large enterprise developing a system to use an agent to triage incoming issues and whatnot, without needing the repository cloned on device, this is powered by gh cli + other context from internal services.
The main use is gh search code, however the agent fires multiple parallel calls in quick succession to get results for a few searches.
I can fix this by stopping that ofc, but it is faster this way and the agent does get rate limited.
However if this is implemented, execution becomes faster and cleaner. Whilst i also believe it saves api costs overall and would be used by others as well.
Could be done as a prefix command like gh batch search code or something; thats just an idea
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par examiner la commande gh search code existante et l’issue associée concernant les opérations par lots dans cli/cli#5782. Définissez la portée et l’interface des opérations par lots, puis vérifiez que le comportement proposé peut combiner des recherches de code parallèles tout en réduisant la pression sur les limites de débit.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- github, go
- Domaine
- api, cli
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- Calme
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100