[avenger] Add missing debug playbook diagnostic code rows

Abierto Apto para principiantes
#77,541 0 comentarios 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
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
62/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
javascript, markdown

Línea de trabajo

Empieza por la comprobación test_debug_playbook_covers_diagnostic_codes que ejecuta make test-guidance, la cual informa de que faltan los códigos base_branch_not_allowed y merge_outcome_indeterminate de merge_pull_request.cjs. Añade una fila para cada código a las filas existentes de merge-guard en .github/aw/debug-playbook.md, recortando el texto si hace falta para mantenerte por debajo del presupuesto de 26 000 bytes. Está terminado cuando make test-guidance pasa las 79 pruebas.

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

Descripción

agentic-workflows automated ci-fix pull-request-fallback

[!TIP]
Your pull request is ready to create! 🎉 ✅

Everything is OK—the changes have been pushed to a branch. Please review the protected files, then create the pull request when you are ready.

Create the pull request

The original pull request description is below.


Fix CI: guidance tests

Failure

CI job Validate workflow container pins failed at make test-guidance (test_debug_playbook_covers_diagnostic_codes): base_branch_not_allowed and merge_outcome_indeterminate (from merge_pull_request.cjs) had no row in .github/aw/debug-playbook.md.

Fix
  • Added both codes to existing merge-guard rows.
  • Trimmed a few words elsewhere to stay under the 26,000-byte playbook budget.
Validation
  • make test-guidance: 79 tests OK.
  • make fmt/lint/test-unit not run (docs-only change; merge with origin/main was unavailable due to a TLS error in the sandbox).

[!NOTE]
Protected files

This patch modifies protected files, which may affect project dependencies, CI/CD pipelines, or agent behaviour.

Protected files

To route changes like this to a review issue instead of blocking, configure protected-files: fallback-to-issue in your workflow configuration.

Allow intentional protected-file changes

If this workflow is intended to modify these files, add specific filenames or folder prefixes to safe-outputs.create-pull-request.protected-files.exclude in the workflow Markdown frontmatter. For example, to allow .changeset/*, exclude the folder using .changeset/:

safe-outputs:
  create-pull-request:
    protected-files:
      policy: fallback-to-issue
      exclude:
        - .changeset/

Keep your existing policy and exclusions. Folder exclusions use path prefixes, not glob patterns, and allow all files beneath that folder, including subfolders. Other protected files still follow the configured policy. If allowed-files is configured, these paths must also match it. Run gh aw compile after updating the workflow.

Proposed in this workflow run.

  • expires on Nov 15, 2026, 11:36 AM UTC-08:00

Generated by 🦸 Avenger · copilot · routed: sonnet55 high · ~39 AIC · ⌖ ~2 AIC · ⊞ 4.8K · ◷

Lenguaje dominante
Go
Estrellas
5.6k
Forks
625
Merge medio
5 h 42 min
PR fusionados (30 d)
796

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

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 github/gh-aw

Todos los issues de github/gh-aw

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.