The compose header teardown and `make down` leave profile services running (follow-up to #1285)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 74/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- docker, docker-compose, python, yaml
- Área
- devops, documentation, testing
Línea de trabajo
Start with the docker-compose.yml profile declarations and the teardown commands in docker-compose.yml, Makefile, and the three getting-started pages mentioned through CONTRIBUTING.md. Update the regression test at backend/tests/unit/docs/test_demo_profile_command.py::test_the_header_and_the_two_pages_print_the_same_command to cover the header and all three pages. Done means each full-teardown command names exactly the demo, tools, and aws profiles, the regression test passes, docker compose config remains byte-identical, and the named-volume persistence assertions still hold.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Follow-up to #1285. That issue fixes the three getting-started pages. Two more copies of the same teardown remain,
and they stay as they are in v0.36.1:
docker-compose.ymlline 16, the header comment:docker compose down -v # stop and drop the volumes, directly
under the header's--profile demo,--profile toolsand--profile awsstart lines.Makefilelines 82-83, thedowntarget:$(COMPOSE) down -v --remove-orphans, whichCONTRIBUTING.mdline 114
documents as "Stop everything and drop the volumes", right undermake demo.
Why --remove-orphans does not help
From Compose's source (v2.24.5 and v2.38.2): down removes containers only for the services in the loaded project, and
services whose profile is not enabled are "disabled", not absent. isOrphaned counts both enabled and disabled services
as defined, so a disabled-profile container is never an orphan. After make demo, make down leaves shoplab,
streampulse and both simulators running, with the same effects as in #1285.
Scope of the fix (one PR)
- The header teardown and the
downrecipe name every profile;CONTRIBUTING.mdline 114 becomes true. - A regression test (markers
unitandregression, standard library only, no git) asserting that every documented
full teardown names exactly the set of profiles declared indocker-compose.yml: the three pages' fenced
docker compose … downlines, the header line and the Makefile recipe. The PR shows it failing on a page reverted to
docker compose down -vand on a page without--profile aws. backend/tests/unit/docs/test_demo_profile_command.py::test_the_header_and_the_two_pages_print_the_same_commandis
adjusted so that a header demo start line without the seeds still fails.docker compose configis byte-identical before and after.- An assertion that the
toolsandawsservices keep their data in named volumes, against which the pages' new
"also deletes pgAdmin's and LocalStack's data" sentences are re-registered.
The regression test is deliberately not part of #1285's PR, so that v0.36.1 stays docs-only.
- Lenguaje dominante
- Python
- Estrellas
- 0
- Forks
- 4
- Merge medio
- 5 h 19 min
- PR fusionados (30 d)
- 503
Preparar el entorno
- Incluye un Dockerfile o un 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 Controlvar/controlvar
-
Dashboard: the sequential panel's "Ready to stop" banner shows no sample-ratio-mismatch cautionAbiertobug post-launch
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Controlvar/controlvar#1737 ·
Los mantenedores suelen responder en 1 día
-
fix(api): the feature-flag list has no defined order across pagesPosiblemente ocupada @amarkanday la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Controlvar/controlvar#1612 ·
Los mantenedores suelen responder en 1 día
-
bug post-launch
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Controlvar/controlvar#1562 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
Controlvar/controlvar#1447 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Experiment setup: emptying a traffic share box and typing a number shows a leading zero ("034")Abiertobug post-launch
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Controlvar/controlvar#1428 ·
Los mantenedores suelen responder en 1 día
Todos los issues de Controlvar/controlvar
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
FinanceFlash/unvibecode#509 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
FAIRmat-NFDI/nomad-distro-dev#161 ·
-
bug v2
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
modelcontextprotocol/python-sdk#3821 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug severity:low
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 2 días
-
Log-odds calibration uses upper middle score instead of median for even candidate setsPosiblemente ocupada @flysheep-ai la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día