architecture: register the uninstall in-use cwd check under the path-containment owner guard
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 45/100
Línea de trabajo
Start by finding the architecture linter's registry of path-containment owner guards (search for the existing list that names modules checked for inline realpath/normpath calls) and read how one registered entry plus its mutation case is written. Add install/local_bundle_hook_trust.py to that list and copy an existing mutation case, re-adding a local containment check, to confirm the guard fails. Run the linter and its guard/mutation tests; done means the module is listed and the mutation case fails the guard as expected. Note the open linked PR before starting.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Follow-up of #5296.
The uninstall in-use check now resolves a hook handler's cwd through utils.path_security.ensure_path_within. Add install/local_bundle_hook_trust.py to the registered path-containment owner guard, with its mutation case, so a future inline realpath or normpath containment check in that module is caught by the architecture linter.
Done when: the guard lists the module, and a mutation case that re-adds a local containment check fails the guard.
- Lenguaje dominante
- Python
- Estrellas
- 4.4k
- Forks
- 430
- Merge medio
- 16 h 1 min
- PR fusionados (30 d)
- 809
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 microsoft/apm
-
flaky: test_fire_returns_thread_per_http_entry_on_head waits 5 s per dispatch worker on busy shardsAbiertostatus/accepted type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
microsoft/apm#5309 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[DOCS] Document Mode B waiver formatting/merge-queue requirements and post-approval issue editsAbiertostatus/triage-pending type/docs
Dificultad 1/5 1-3 horas Aptitud para principiantes 82/100
microsoft/apm#4719 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement status/accepted
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
microsoft/apm#4075 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
audit --ci deployed-files check misses user-scope files under a redirected CLAUDE_CONFIG_DIRPosiblemente ocupada @danielmeppiel la tomó hoy. Abiertobug status/accepted type/bug
Dificultad 3/5 Medio día Aptitud para principiantes 35/100
microsoft/apm#5312 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement status/accepted
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
microsoft/apm#5311 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de microsoft/apm
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Pantheon-Security/medusa#24 ·
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
docs(notation): the ipa_to_arpa section does not name the tied and non-syllabic diphthong formsAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
TigreGotico/scriptconv#445 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
TigreGotico/phoonnx#1045 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 2 días