Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

test(source-control): give the pull-request eval cases a gh fixture so ready runs reach the flip

Abierto
#6,997 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
git, github, shell

Línea de trabajo

Start with plugins/source-control/evals/pull-request-ready-hands-pr-to-explain-change/scaffold.sh and the ready phase's gh pr view lookup (§2.5.1) in the pull-request skill. The mechanism is undecided: choose between a gh shim the scaffold puts on PATH (check the sandbox's PATH first) and a fixture convention in the /evals:plugin-eval case-authoring reference. Done when the ready cases reach gh pr ready in a kept-trace run.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

needs-human needs-triage

Context

Found in review of #6987 (Codex finding on plugins/source-control/evals/pull-request-ready-hands-pr-to-explain-change/scaffold.sh).

Problem

The source-control plugin-eval cases for /source-control:pull-request (pull-request-ready-merges-base-never-rebases, pull-request-ready-hands-pr-to-explain-change, and likely the merge and dirty-worktree cases) scaffold only a local git repository: no remote, no pull request, and no gh fixture. The skill's ready phase first resolves the PR (gh pr view, §2.5.1) and stops when that fails, so a correct run never reaches the steps these cases grade (the base merge, gh pr ready, the explain-change hand-off). The graders can then pass only on a run that ignores a failed lookup.

No case in the repository stubs gh today, and a case cannot set PATH (env keys are limited to EVAL_*), so the fix needs a decided mechanism.

Suggested fix

Decide how a plugin-eval case presents a forge to the skill: a gh shim the scaffold installs where the run's PATH finds it (verify the sandbox's PATH first), or a documented fixture convention in /evals:plugin-eval's case-authoring reference. Then apply it to every pull-request case that calls gh, and confirm with a kept-trace run that the ready cases reach gh pr ready.

Related: #6107, #6987

Lenguaje dominante
Shell
Estrellas
22
Forks
2
Merge medio
8 h 41 min
PR fusionados (30 d)
892

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de melodic-software/claude-code-plugins

Todos los issues de melodic-software/claude-code-plugins

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.