Skip to content

ums: diagnosing missing @claude reviews (dispatch chain, allowed_bots, workflow drift) - #235

Merged
d-morrison merged 3 commits into
mainfrom
claude/pr-review-generation-4q06jk
Jun 27, 2026
Merged

ums: diagnosing missing @claude reviews (dispatch chain, allowed_bots, workflow drift)#235
d-morrison merged 3 commits into
mainfrom
claude/pr-review-generation-4q06jk

Conversation

@d-morrison

Copy link
Copy Markdown
Collaborator

UMS capture from this session's work on rme #944 / #945 / #946 / #948 (the "why didn't @claude review generate a review on PR #706" investigation and fix).

Adds three bullets to memories/tools.md under ## @claude CI action:

  1. Trace the whole dispatch chain. An @claude review comment fires the agent workflow claude.yml, which succeeds and then re-dispatches claude-code-review.yml via workflow_dispatch. A green agent run with no review comment means the review died in the separately-dispatched run — find it via actions_list (event=workflow_dispatch) and read its failed logs. Don't stop at the agent run's green check.

  2. The allowed_bots actor gate. anthropics/claude-code-action aborts bot-initiated (github-actions[bot]) runs unless allowed_bots lists the bot — a gate separate from the workflow's job-level if:. Set allowed_bots: "github-actions[bot]".

  3. Standalone-vs-reusable drift. Some consumer repos carry a hand-maintained claude-code-review.yml that has drifted from gha's reusable @v1 (that drift is how the allowed_bots bug reached rme). Check gha first; prefer migrating to a thin reusable-workflow caller so it can't drift again.

One file changed; staged that file only.


Generated by Claude Code

…s gate, gha workflow drift

Captured from rme #944/#945/#946/#948:
- trace @claude review failures to the dispatched claude-code-review.yml run, not the green agent run
- anthropics/claude-code-action's allowed_bots actor gate (separate from the job if:)
- consumer repos may carry a standalone review workflow that drifted from gha's reusable one; prefer migrating to the @v1 caller
@claude

This comment has been minimized.

Comment thread memories/tools.md
Comment thread memories/tools.md Outdated
…-steps' wording

- distinguish the action's `allowed_bots` with: key (underscore) from the gha
  reusable's `allowed-bots` workflow_call input (hyphen)
- the dispatch is a regular later step, not an Actions post-step (cleanup hook)
@claude

This comment has been minimized.

…plain

Per ai-tells guidance, emphatic all-caps in prose is an LLM tell. Convert
SUCCEEDS/OWN/NOT to bold and STANDALONE/DRIFTED to plain lowercase.
@claude

This comment has been minimized.

@github-actions

Copy link
Copy Markdown
Contributor

👀 Picked up by workflow run #28272179717. Setup runs first; Claude itself responds after that.

@github-actions

Copy link
Copy Markdown
Contributor

Claude finished reviewView run


The haiku agent found that Claude has already commented on PR #235 with a complete review (two rounds of feedback, all findings resolved, verdict "fully clean"). Per the review workflow, I'll stop here since that condition is met.

Result: Skipping review — Claude has already commented on PR #235 with a complete multi-round review. The prior verdict was "fully clean" with all findings resolved.

@d-morrison
d-morrison merged commit 3907b43 into main Jun 27, 2026
8 checks passed
@d-morrison
d-morrison deleted the claude/pr-review-generation-4q06jk branch June 27, 2026 00:20
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