Adopt the shared Claude review skill and modernize the review workflow#6194
Conversation
Hello delthas,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files
@@ Coverage Diff @@
## development/9.2 #6194 +/- ##
===================================================
- Coverage 84.51% 84.50% -0.02%
===================================================
Files 204 204
Lines 13217 13217
===================================================
- Hits 11171 11169 -2
- Misses 2046 2048 +2
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Request integration branchesWaiting for integration branch creation to be requested by the user. To request integration branches, please comment on this pull request with the following command: Alternatively, the |
Drop the vendored .claude/skills/review-pr/SKILL.md and rely on the shared scality-skills marketplace skill loaded by the reusable review workflow. Move CloudServer's repo-specific review criteria into .github/copilot-instructions.md (read by the marketplace skill), keeping CLAUDE.md as repo context. Matches the vault2 layout. Issue: CLDSRV-930
d8b5e6c to
45108ee
Compare
|
LGTM |
francoisferrand
left a comment
There was a problem hiding this comment.
don't we need to upgrade the GHA workflow file to latest standards as well?
Forward secrets via `secrets: inherit`, add a dynamic run-name, and add a workflow_dispatch trigger (with pr_number input) for manual re-runs plus the allowed-tools passthrough. The review job now also runs on workflow_dispatch (guarded off only for pull_request_target and dependabot). Keeps the existing dependency-bump job. Issue: CLDSRV-930
Done |
|
/approve |
ConflictA conflict has been raised during the creation of I have not created the integration branch. Here are the steps to resolve this conflict: git fetch
git checkout -B w/9.4/improvement/CLDSRV-930/adopt-shared-review-skill origin/development/9.4
git merge origin/w/9.3/improvement/CLDSRV-930/adopt-shared-review-skill
# <intense conflict resolution>
git commit
git push -u origin w/9.4/improvement/CLDSRV-930/adopt-shared-review-skillThe following options are set: approve |
Build failedThe build for commit did not succeed in branch w/9.3/improvement/CLDSRV-930/adopt-shared-review-skill The following options are set: approve |
|
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
This pull request did not target the following hotfix branch(es) so they
Please check the status of the associated issue CLDSRV-930. Goodbye delthas. The following options are set: approve |
Summary
Two related changes bringing CloudServer's Claude review CI up to the shared standard (vault2 / Zenko / pensieve-api / zenko-operator).
1. Adopt the shared review skill
.claude/skills/review-pr/SKILL.mdinto.github/copilot-instructions.md(read by the marketplace skill).claude-code-review.yml@v2workflow already loadsscality-skills@scality-agent-hub, and the vendored copy otherwise shadows it at runtime.CLAUDE.mdstays as repo context.This supersedes the vendored-skill formatting fix in CLDSRV-880 / #6125 — once the skill is deleted, it lives only in agent-hub.
2. Modernize the review workflow
secrets: inherit(instead of enumerating each one in both jobs).run-nameand aworkflow_dispatchtrigger (withpr_numberinput) for manual re-runs, plus theallowed-toolspassthrough.reviewjob now also runs onworkflow_dispatch(guarded off only forpull_request_target+ dependabot). The existingreview-dependency-bumpjob is unchanged.Note: prettier re-indented
review.ymlto the repo's 4-space YAML style (it had never been prettier-checked before, since prettier only runs on changed files), which inflates the diff — the semantic changes are the secrets/run-name/dispatch ones above.Issue: CLDSRV-930