Add Claude Code workflow for AI-assisted PR reviews#4738
Draft
shreyas-goenka wants to merge 18 commits intomainfrom
Draft
Add Claude Code workflow for AI-assisted PR reviews#4738shreyas-goenka wants to merge 18 commits intomainfrom
shreyas-goenka wants to merge 18 commits intomainfrom
Conversation
Add a workflow that calls the reusable Claude Code workflow in eng-dev-ecosystem. Provides two modes: - Automatic PR review on open/sync (read-only) - Interactive @claude mentions for code changes Co-authored-by: Isaac
Collaborator
|
Commit: fcde226
16 interesting tests: 7 RECOVERED, 7 SKIP, 2 flaky
Top 22 slowest tests (at least 2 minutes):
|
Co-authored-by: Isaac
Review: 5 → 10 turns. Assist: 10 → 20 turns. Co-authored-by: Isaac
b418b20 to
0d2b698
Compare
0d2b698 to
6dbf8a3
Compare
6dbf8a3 to
275b67a
Compare
275b67a to
fc25d50
Compare
The reusable Claude Code workflow in eng-dev-ecosystem now uses GitHub OIDC federation instead of static secrets, so callers no longer need to pass any credentials. Co-authored-by: Isaac
fc25d50 to
47a7034
Compare
Bash(command) without wildcard is an exact match — it doesn't match commands with arguments. Add * wildcards so Claude can pass arguments to allowed commands (e.g. pr-comment --body-file, git log --oneline). Co-authored-by: Isaac
Add mcp__github_inline_comment__create_inline_comment to the review job's allowed tools and update prompts to instruct Claude to post inline comments on specific lines of the diff. Co-authored-by: Isaac
- Remove erroneous allowed_tools action input that restricted Claude to a single tool - Add mcp__github_ci__* tools to assist job for CI investigation - Review job already has inline comment MCP tool in settings Co-authored-by: Isaac
The MCP inline comment server is only registered when the action detects the tool in claude_args --allowedTools. Pass it there instead of only in settings.permissions.allow. Co-authored-by: Isaac
Claude was posting all feedback in a single PR comment instead of using inline comments on specific lines. Updated prompt to make inline comments mandatory for code-specific feedback. Co-authored-by: Isaac
Empty commit to trigger the Claude Code review workflow after federation policy was created. Co-authored-by: Isaac
Co-authored-by: Isaac
Co-authored-by: Isaac
Split the inline workflow into a reusable workflow (claude-code.yml) and a caller (claude.yml). This ensures job_workflow_ref always points to the reusable workflow's ref (@refs/heads/main after merge), making the federation policy work for all trigger types (pull_request, issue_comment, pull_request_review_comment). Co-authored-by: Isaac
Co-authored-by: Isaac
The deco-testing runner group IPs are blocked by the Databricks account IP ACL. The protected runner group should have whitelisted egress IPs. Co-authored-by: Isaac
Co-authored-by: Isaac
Co-authored-by: Isaac
Co-authored-by: Isaac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
databricks-eng/eng-dev-ecosystem@claudementions (can edit/push)Depends on
Test plan
@claudeinteractive mode on a commentworkflow_callworks with explicit secretsThis pull request was AI-assisted by Isaac.