deploy/bootstrap.sh: warn() is not defined, so a warning stops the bootstrap
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
- Stack tecnológico
- aws, bash, shell
- Área
- devops, infrastructure
Línea de trabajo
Read deploy/bootstrap.sh around the helper definitions at lines 80–82 and the three warn calls at lines 519, 558, and 640. Check the open pull request #140, which is already linked to this issue. Done looks like warning paths no longer stop the bootstrap; the report identifies the missing warn helper as the cause.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
deploy/bootstrap.sh calls warn at three lines, but the script defines only ok, fail and info (L80-82).
- L519:
... || warn "cfn-bootstrap install failed ..." - L558:
warn "User runtime dir not ready after 30s ..." - L640:
warn "No shell profile found for pack ${PACK_NAME}"
Problem: The script runs with set -euo pipefail. When one of these lines runs, bash gives "warn: command not found" (exit 127). The ERR trap then marks the bootstrap as FAILED. A message that must be only a warning stops the full deploy. For example, a pack with no resources/shell-profile.sh gets to line 640.
Fix: Add one line after line 82:
warn() { echo "[WARN] $(date -u '+%H:%M:%S') $1"; }
Found by a code read at commit 1e50295. The code was read, but not run on a real instance.
- Lenguaje dominante
- Shell
- Estrellas
- 73
- Forks
- 11
- Merge medio
- 6 h 46 min
- PR fusionados (30 d)
- 5
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 inceptionstack/lowkey
-
bug good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
inceptionstack/lowkey#135 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
inceptionstack/lowkey#134 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 94/100
inceptionstack/lowkey#133 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
inceptionstack/lowkey#131 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
inceptionstack/lowkey#130 ·
Los mantenedores suelen responder en 1 día
Todos los issues de inceptionstack/lowkey
Issues similares
-
Standalone Unix updater reports success when curl fails (`curl | sh` masks the exit status); Windows path is unaffectedPosiblemente ocupada @akhil9tiet la tomó hoy. Abiertobug CLI windows-os
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
openai/codex#54465 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
ChrisTitusTech/dwm-titus#397 ·
Los mantenedores suelen responder en 1 día
-
Translate zstd cheat sheet to frAbiertogood first issue help wanted language:fr translation
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
mrvi0/cli-cheatsheet#268 ·