]> git.ipfire.org Git - thirdparty/systemd.git/commit
ci: Restore severity prefix on claude-review inline comments main
authorChristian Brauner <brauner@kernel.org>
Tue, 21 Apr 2026 07:20:21 +0000 (09:20 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 21 Apr 2026 07:24:34 +0000 (09:24 +0200)
commita84bbd15d964d02fd0f5d688865b39eeeae38d99
treef548a7f1f778439df16ad58eef7e360b8c1ddbda
parenta066396fbc72d06e503acaf38899f949edf16c4c
ci: Restore severity prefix on claude-review inline comments

Commit a65ebc3ff9 ("claude-review: improve review quality for large
PRs") dropped the `Claude: **<severity>**: ` prefix from posted inline
comments on the theory that Claude was also adding the severity into
`body`, producing duplicates. But nothing in the prompt or schema
actually asks the subagent to include severity in `body` — severity
is a separate structured field. The result is that inline comments
no longer show must-fix/suggestion/nit classification.

Restore the prefix in the posting step, and add an explicit instruction
to the subagent prompt telling it not to repeat severity inside `body`
so the two don't collide.

Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
.github/workflows/claude-review.yml