Repository navigation
fix(review): include skipped lockfile metadata in review prompt - #43
Conversation
Co-authored-by: Antigravity <noreply@google.com>
AI Code Review (opencode /
|
|
Autoland: waiting: AI review evidence for this head |
|
Autoland: waiting: AI review evidence for this head |
AI Code Review (opencode /
|
|
@Pigbibi needs a human: merging this repository deploys; owner approval needed. |
|
Autoland: escalated to the owner: merging this repository deploys; owner approval needed |
|
@Pigbibi needs a human: merging this repository deploys; owner approval needed. |
|
Autoland: escalated to the owner: merging this repository deploys; owner approval needed |
AI Code Review (opencode /
|
AI Code Review (opencode /
|
AI assistance
What changed
buildReviewBatchesandbuildReviewDiffinpackages/review-core/policy.mjsto returnskippedFilesmetadata (filename,status,additions,deletions) for skipped lockfiles, fixtures, and generated asset bundles while still keeping their patches out of diff batches and leavingtruncated === false.buildReviewMessagesinpackages/review-core/provider.mjsto inject## Skipped Lockfiles & Generated Files Calibration(outside the untrusted boundary) and### Skipped Lockfiles / Generated Files(insideUNTRUSTED_PR_CONTENT_*) wheneverskippedFilesis non-empty, preventing false-positive "missing lockfile update" findings.skippedFilesthrough bothadapters/cloudflare-workflow/worker.mjsandadapters/local-cli/review-pr.mjs.tests/review-core.test.mjscoveringbuildReviewBatches,buildReviewDiff, and prompt boundary placement.How verified
npm test->79tests passed,0failed.Why
Dependency-pinning PRs (e.g., updating
pyproject.toml+uv.lock) were getting flagged with false-positiveunresolved_findings: truebecause lockfile patches are skipped for budget and reviewers had no metadata showing those lockfiles actually changed at the reviewed head SHA.Risk