Skip to content

feat: add diff and file metadata capture#6

Merged
SydilSohan merged 6 commits intomainfrom
feature/diff-capture
Jan 27, 2026
Merged

feat: add diff and file metadata capture#6
SydilSohan merged 6 commits intomainfrom
feature/diff-capture

Conversation

@SydilSohan
Copy link
Copy Markdown
Collaborator

Summary

  • Fetch PR files via GitHub API with metadata (filename, status, additions, deletions)
  • Fetch full unified diff via GitHub API
  • Add include_diff input (default: true) to optionally disable diff capture
  • Send files array and diff to Pie API
  • The API uploads diff to GCS and returns diffGcsPath

Debug Output Added

  • PR metadata (repo, PR number, title, author, branches)
  • Files changed with status and line counts
  • First 500 chars of diff
  • Full API response

Changes

  • action.yaml - Main action logic with diff capture
  • README.md - Updated docs with new features
  • .github/workflows/test-codechanges.yml - Test workflow with debug output

🤖 Generated with Claude Code

SydilSohan and others added 6 commits January 27, 2026 15:00
- Remove verbose debug logging from action.yaml
- Remove API key partial printing from test workflow
- Remove feature branch trigger (testing complete)
- Keep essential logs: file count, diff size, success message

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Remove pull_request trigger so the action only runs when code is
actually merged to main, not on every PR commit push.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@SydilSohan SydilSohan merged commit 10d2244 into main Jan 27, 2026
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.

1 participant