Skip to content

chore: Add Claude Review workflow - #22

Closed
g-carre wants to merge 3 commits into
mainfrom
feat/claude-reviews
Closed

chore: Add Claude Review workflow#22
g-carre wants to merge 3 commits into
mainfrom
feat/claude-reviews

Conversation

@g-carre

@g-carre g-carre commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Add Claude revivew to the project

Signed-off-by: Guillaume Carre <guillaume.carre@scality.com>
@g-carre
g-carre requested a review from a team as a code owner June 8, 2026 12:42
@g-carre g-carre changed the title chore: Adde Claude Review workflow chore: Add Claude Review workflow Jun 8, 2026
Comment thread .github/workflows/review.yml Outdated

| Area | What to check |
|------|---------------|
| Reconciler idempotency | Reconcile must be safe to run repeatedly; no assumptions about being called once. Derive desired state from spec, converge, and avoid side effects that don't tolerate retries. |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review criteria here diverge from .claude/REVIEW.md. Missing: CRL correctness, key material handling, requeue scheduling, tests, manager manifests, docs. Extra: webhook validation, interface compliance, goroutine leaks. This will drift over time.

Replace the hardcoded table with an instruction to read the existing criteria file:

Suggested change
| Reconciler idempotency | Reconcile must be safe to run repeatedly; no assumptions about being called once. Derive desired state from spec, converge, and avoid side effects that don't tolerate retries. |
3. **Read the review criteria** from `.claude/REVIEW.md`, then **analyze the changes** against them.

description: Review a PR on crl-operator (a Go Kubernetes operator managing Certificate Revocation Lists via cert-manager)
argument-hint: <pr-number-or-url>
disable-model-invocation: true
allowed-tools: Read, Bash(gh repo view *), Bash(gh pr view *), Bash(gh pr diff *), Bash(gh pr comment *), Bash(gh api *), Bash(git diff *), Bash(git log *), Bash(git show *)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bash(gh api *) allows any GitHub API call (any method, any endpoint) — not just the review-comment POST the skill needs. Consider scoping to the specific patterns required, or removing it and relying on a helper script for posting.

Also, Bash(gh pr comment *) enables posting top-level PR comments, which adds noise — the hub-managed skill uses check runs instead for the summary.

@g-carre g-carre closed this Aug 27, 2026
@g-carre
g-carre deleted the feat/claude-reviews branch August 27, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants