fix(ci): AI review via Claude Code CLI; reuse REGISTRY_TOKEN #3

Merged
tudor merged 1 commits from fix/ai-review-claude-code into main 2026-07-03 08:50:27 +00:00
Owner

AI review now runs through headless Claude Code with subscription OAuth auth (CLAUDE_CODE_OAUTH_TOKEN) instead of the Anthropic API, and PR comments reuse the existing REGISTRY_TOKEN secret.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PqGhF93UrpDNvXBLMjJENL

AI review now runs through headless Claude Code with subscription OAuth auth (CLAUDE_CODE_OAUTH_TOKEN) instead of the Anthropic API, and PR comments reuse the existing REGISTRY_TOKEN secret. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PqGhF93UrpDNvXBLMjJENL
tudor added 1 commit 2026-07-03 07:29:09 +00:00
fix(ci): AI review via Claude Code CLI; reuse REGISTRY_TOKEN for PR comments
PR Checks / Frontend Typecheck + Tests (pull_request) Successful in 9m39s
PR Checks / Backend Smoke (pull_request) Successful in 5s
PR Checks / Build Backend (no push) (pull_request) Successful in 16s
PR Checks / Build Frontend (no push) (pull_request) Successful in 42s
PR Checks / Build Pipeline (no push) (pull_request) Successful in 9s
PR Checks / AI Code Review (Claude) (pull_request) Failing after 27s
d0895c71df
- ai_review.py now pipes the diff through headless Claude Code (claude -p,
  --output-format json) authenticated with CLAUDE_CODE_OAUTH_TOKEN from
  'claude setup-token' — subscription auth, no Anthropic API billing
- stdlib-only script (urllib instead of requests/anthropic)
- PR comments posted with the existing REGISTRY_TOKEN secret; the separate
  GITEA_TOKEN secret is no longer needed

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PqGhF93UrpDNvXBLMjJENL
tudor merged commit f5de745a8b into main 2026-07-03 08:50:27 +00:00
tudor deleted branch fix/ai-review-claude-code 2026-07-03 08:50:27 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tudor/school_compare#3