Repository navigation
feat: run code-review on hosted runners + issue triage - #64
Merged
Merged
Conversation
added 14 commits
June 14, 2026 00:48
- vllm.rs: send Authorization header in detect_model() GET /v1/models - ci.yml: pass vllm-api-key input from VLLM_API_KEY secret - Cargo.toml: bump version 0.3.0 → 0.4.0
- GithubConfig carries TargetType + optional target number; PR number can be resolved from a head SHA (workflow_run) - post_pr_comment -> post_comment (issues endpoint serves both) - fetch_issue_context + format_issue_context; fetch_source_files via the Contents API (no checkout); resolve_pr_number/resolve_head_sha - review_diff/* take pre-fetched source files; add review_issue - source.rs exposes is_safe_path + MAX_SOURCE_LINES, drops fs reader
…, strict target number
…east-privilege perms
…n-and-issues # Conflicts: # .github/workflows/ci.yml # crates/code-review-cli/src/vllm.rs
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
ubuntu-latest). The private vLLM is reached through a Cloudflare Tunnel guarded by a Cloudflare Access service token plus the vLLM--api-key(two independent layers).target-type: issuefetches the issue title/body/comments and posts a structured triage comment. PR number can be resolved from a head SHA for theworkflow_runcontext.workflow_runpattern; new action inputs (target-type,target-number,head-sha,cf-access-*); example workflows underexamples/; docs updated; the repo's own CI now runs the review on a hosted runner.Key files
crates/code-review-cli/src/{config,vllm,github,review,source,main}.rsaction.ymlexamples/code-review-{gate,pr,issue}.yml.github/workflows/ci.ymlREADME.md,docs/code-review.md,.env.exampleTest Plan
cargo fmt --check— cleancargo clippy --workspace -- -D warnings— cleancargo test --workspace— 55 passed, 0 failedVLLM_URL,VLLM_API_KEY,CF_ACCESS_CLIENT_ID,CF_ACCESS_CLIENT_SECRETand the Cloudflare Tunnel + Access policyissues: [opened])Notes
WillIsback/code-review@<full-sha>; replace<full-sha>with a reviewed release commit before use (never@main).mainis behind/diverged fromorigin/main— reconcile before merging.