Configured binary might not be used if one already exists in the default path
- Lingua principale
- Kotlin
- Stelle
- 33
- Fork
- 18
- Merge medio
- 2g 13h
- PR unite (30g)
- 1
Descrizione
If you configure the binary path, but then you already have a binary in the default path, and the default path matches the server but the configured path does not, it will use the default path.
While in some sense this makes sense (the default path one is a "better" match because it matches the server version) it feels unexpected to me that you can configure the path and it uses something else. In one particular case, we *want* a different version because the latest version of the cli has a bug.
Additionally, feels like the "fall back to data directory" setting should affect this, but it does not. Should specify it only affects when it tries to *download* the binary.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Non vengono nominati file o test. Traccia i punti di ingresso della selezione del binario e del fallback del download, quindi riproduci il caso con un percorso configurato e un binario esistente nel percorso predefinito la cui corrispondenza con la versione del server è diversa. Il lavoro è completato quando il percorso configurato e il comportamento di fallback seguono quanto documentato, con una copertura di regressione per questo scenario.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- kotlin
- Ambito
- tooling
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100