session-flow: remove a delivered absence's away state so idle hook cost returns to the cheap path
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 18/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Área
- performance, tooling
Línea de trabajo
Start with the session-flow away hooks and the deliver and end paths that write the away/<session> state under the plugin data dir. Check whether the Python startup cost only appears once that directory exists. Done means a delivered absence leaves no away/<session> directory (or one within the stated retention), the report stays readable as long as that retention allows, tests cover the cleanup, and the idle hook timing is recorded. Linked PR #17396 is already open, so coordinate there first.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
session-flow's always-registered away hooks cost about 0.02 s per prompt and turn end when no away state exists (Python never starts). Once any away/ directory exists under the plugin data dir, the cost is about 0.09 s. A finished absence's state stays in place, so every later session pays the higher cost.
Done looks like
deliver(orend) removes a finished absence's state, or keeps it for a stated bounded retention.- After a delivered absence, no
away/<session>directory remains (or only within the retention bound). - Measured idle hook cost in a session with no active absence is back to about 0.02 s, with the measurement recorded in the PR.
- Tests cover the cleanup, and the report remains readable after delivery for as long as the retention says.
Refs: #17337
- Lenguaje dominante
- Shell
- Estrellas
- 22
- Forks
- 2
- Merge medio
- 1 h 47 min
- PR fusionados (30 d)
- 942
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin 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 melodic-software/claude-code-plugins
-
Own-agent checks: reject the Actions bot id in admit.mjs and test the source label in pr-verifyAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
melodic-software/claude-code-plugins#17374 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
docs(prompts): loop-lane template prose still says the merge partition reads work-class labelsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 71/100
melodic-software/claude-code-plugins#17364 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
melodic-software/claude-code-plugins#17039 · 7 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
melodic-software/claude-code-plugins#16931 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
melodic-software/claude-code-plugins#15498 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de melodic-software/claude-code-plugins
Issues similares
-
Broken app label: nvivo15/nvivoAbiertoapplication-issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
Installomator/Installomator#3657 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
nekko-labs/nekko-agent#2998 ·
Los mantenedores suelen responder en 1 día
-
[Bug] 最新代码编译失败,原因是下载没有对应资源Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 60/100
kenzok8/openwrt-honk#35 ·
Los mantenedores suelen responder en 1 día
-
bug severity:medium triage:confirmed triage:in-progress
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Cotal-AI/Cotal#7795 · 1 comentario ·
Los mantenedores suelen responder en 1 día