bug: --apihost flag limitations
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
- #661 de @mvanhorn — cerrado sin fusionar
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 58/100
Línea de trabajo
Comienza reproduciendo slack deploy --apihost=api.your.test.endpoint -vv y sigue el procesamiento de --apihost del comando de deploy y la configuración de SLACK_API_URL. Se considera terminado cuando la CLI maneja correctamente el prefijo api. o informa claramente al usuario de que el valor se rechaza; verifica el comportamiento con y sin ese prefijo.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Go
- Estrellas
- 309
- Forks
- 47
- Merge medio
- 13 h 46 min
- PR fusionados (30 d)
- 14
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de slackapi/slack-cli
-
Installer aborts on an existing same-named `slack` binary; prefer install + warning over hard abortAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
slackapi/slack-cli#671 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug build release
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
slackapi/slack-cli#593 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area:bolt-python bug
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
slackapi/slack-cli#631 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Tests fail when using fish (and possibly other shells)Posiblemente ocupada @Muhtasham la tomó hace 134 días. Abiertobuild code health
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
slackapi/slack-cli#462 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
enhancement semver:minor
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
slackapi/slack-cli#438 · 1 comentario · 4 reacciones ·
Los mantenedores suelen responder en 1 día
Todos los issues de slackapi/slack-cli
Issues similares
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
AOSSIE-Org/DebateAI#611 ·
Los mantenedores suelen responder en 3 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
MHSanaei/3x-ui#6737 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
terraform-provider
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
ClickHouse/terraform-provider-clickhousedbops#281 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
open-telemetry/opentelemetry-go-compile-instrumentation#1450 ·
Los mantenedores suelen responder en 2 días