test: dogfood codegraph-pr action#4
Merged
Merged
Conversation
Test PR to dogfood the codegraph-pr GitHub Action. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The dogfood Action failed: in a PR checkout the base branch exists only as a remote-tracking ref (origin/main), not a local branch, so `git diff main...HEAD` errored with "unknown revision". Two fixes: 1. pr_context now resolves the base ref — tries the bare ref first (works locally), falls back to origin/<ref> (works in CI). Users can pass plain "main" anywhere. 2. Workflow passes origin/<base> explicitly so it works with the already-published 0.17.5 binary (which lacks the auto-resolution), and no longer hides stderr — failures now show in the Actions log with a ::warning:: annotation instead of a silent "review failed". Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
🔍 CodeGraph PR Review2 files changed (+51/−6, 2 functions) · Risk: 🟢 low Blast radius5 direct callers affected across
|
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
Test PR to validate the new
codegraph-prGitHub Action end-to-end.Touches
emit_tel(a function with many callers across the telemetrychoke points) with a docs-only change, so the action's
pr_contextoutput should show:
Test plan
🤖 This PR exists to test the action; safe to close after verifying.