bug: --apihost flag limitations
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 58/100
Direzione di ricerca
Inizia riproducendo slack deploy --apihost=api.your.test.endpoint -vv e segui la gestione di --apihost da parte del comando di deploy e la configurazione di SLACK_API_URL. Il lavoro è completato quando la CLI gestisce correttamente il prefisso api. oppure informa chiaramente l'utente che il valore viene rifiutato; verifica il comportamento con e senza quel prefisso.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
The --apihost flag is mainly used by the maintainers of this project to test various use cases. Using it as follows --apihost=api.shhhh.slack.com mostly works as expected. But when combine with the deploy command having the api domain prefix breaks the logic that sets the SLACK_API_URL environment variable
Version
Using lack v3.3.0
OS Info
ProductName: macOS
ProductVersion: 15.5
BuildVersion: 24F74
Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:49 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6000
Steps to reproduce:
Share the commands to run, source code, and project settings:
- Create an app
- Use commands with the
--apihostflag set to a value prefixed withapi.
a. everything should work as expected - Use
slack deploy --apihost=api.your.test.endpoint -vv - No error is raised and no trace of a request to set the
SLACK_API_URLenvironment variable can be found - If the flag value is set without the
apiprefix theSLACK_API_URLenvironment variable is set and things work as expected
Expected result:
If the apihost value is rejected the CLI expects then we should inform the user
Actual result:
Nothing indicates that the apihost value is rejected by the CLI
Requirements
- I've read and understood the Contributing guidelines and have done my best effort to follow them.
- I've read and agree to the Code of Conduct.
- I've searched for any related issues and avoided creating a duplicate issue.
- Lingua principale
- Go
- Stelle
- 305
- Fork
- 46
- Merge medio
- 1g 11h
- PR unite (30g)
- 23
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di slackapi/slack-cli
-
Installer aborts on an existing same-named `slack` binary; prefer install + warning over hard abort Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
bug build release
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
area:bolt-python bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
-
build code health
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
-
enhancement semver:minor
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Tutte le issue di slackapi/slack-cli
Issue simili
-
nix: vendorHash is outdated Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
Bob Shell support Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
santhosh-tekuri/jsonschema#276 ·