Merge queue squash commit fails required_signatures when a wrapped PR body line starts with 'committer '
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Start by inspecting the /source-control:pull-request body tooling and the pr-contract CI check mentioned in the issue. Reproduce the wrapping at 72 columns and check whether any wrapped body line starts with a Git commit header keyword. Done means the queue no longer creates an invalid signed squash commit for this case, with a check that catches the offending line before merge.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The merge queue removed #7225 twice with branch_protection_failure, even though its CI passed in the queue.
What happened
- The queue's squash commit c2b54b0, committed by GitHub, shows
verification.reason: invalid. Therequired_signaturesrule (org rulesetsigning, 17989003) then refuses it. - GitHub builds the squash message from the PR body and wraps it at about 72 columns. One wrapped line began
committer identity set in the step env. - In the signed payload, the
gpgsigblock sits right after that body line, not after the realcommitterheader. So the signing placed the signature after the first line startingcommitter. - The previous squash commit on main, 4a453b0, is
valid. - Rewording the body so no wrapped line starts with
committerfixed it.
Who acts and what they do
PR authors and the PR body tooling (/source-control:pull-request) should keep any line of the wrapped body from starting with a git header keyword, committer above all. One option is a ci-status pr-contract check that wraps the body at 72 columns and fails on ^(tree|parent|author|committer|gpgsig|encoding|mergetag) . That check would catch it before the queue does.
Evidence: gh api repos/melodic-software/claude-code-plugins/git/commits/c2b54b03e9c0bcacbf7367a2fa923d3ee308bcf9 --jq .verification
🤖 Generated with Claude Code
- Lingua principale
- Shell
- Stelle
- 22
- Fork
- 2
- Merge medio
- 8h 25m
- PR unite (30g)
- 944
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di melodic-software/claude-code-plugins
-
good first issue priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
melodic-software/claude-code-plugins#7530 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs-human priority: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
melodic-software/claude-code-plugins#7455 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
priority: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
melodic-software/claude-code-plugins#7351 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
agent-ready priority: high work-class: scoped
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
melodic-software/claude-code-plugins#7312 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
priority: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
melodic-software/claude-code-plugins#7288 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di melodic-software/claude-code-plugins
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
gke-labs/kube-agents#3394 ·
I maintainer di solito rispondono entro 1 giorno
-
area:cli bug good first issue priority:medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
rtk-ai/rtk#4615 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
review-bot
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
bashclub/zamba-lxc-toolbox#158 ·