[avenger] Add missing debug playbook diagnostic code rows

Aperta Adatta ai principianti
#77,541 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
62/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
javascript, markdown

Direzione di ricerca

Parti dal controllo test_debug_playbook_covers_diagnostic_codes eseguito da make test-guidance, che segnala la mancanza dei codici base_branch_not_allowed e merge_outcome_indeterminate da merge_pull_request.cjs. Aggiungi una riga per ciascun codice alle righe merge-guard esistenti in .github/aw/debug-playbook.md, accorciando se necessario il testo per restare entro il limite di 26.000 byte. È completato quando make test-guidance supera tutti i 79 test.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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 · ◷

Lingua principale
Go
Stelle
5.6k
Fork
625
Merge medio
5h 42m
PR unite (30g)
796

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di github/gh-aw

Tutte le issue di github/gh-aw

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.