Skip to content
This repository was archived by the owner on Oct 9, 2026. It is now read-only.

Review-bot template: generated_paths leaves files out entirely; not for lockfiles - #4

Closed
Deco354 wants to merge 1 commit into
mainfrom
review-template-generated-paths
Closed

Deco354 wants to merge 1 commit into
mainfrom
review-template-generated-paths

Conversation

@Deco354

@Deco354 Deco354 commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

Note

Written by Claude Code at @Deco354's direction.

What changes

This updates the generated_paths comment in workflow-templates/claude-pr-review.yml. It mirrors the edit to callers/claude-pr-review.caller.yml in sentfutures/devops#12.

  • Old comment: "skim committed generated data instead of analyzing it".
  • New comment: leave bulk generated data out of the review entirely, and not for lockfiles.

Under devops#12, a generated_paths file gets no diff: the review sees only its name and size. Before, its changes were part of the diff the review was told to skim. A lockfile's changes are small and are the only place indirect dependency and source changes show, so the template no longer invites withholding one.

Merge after devops#12, which changes what the input does.

This is independent of #3, which is the companion to devops#9 and has been open since 2026-09-30. The two PRs touch different lines and merge cleanly in either order. With both merged, this template is identical to the devops caller template again (checked byte for byte).

How to test

  • After merging Review bot template: drop actions: read; required_check is prompt context only #3 and this PR, compare the two template files. There should be no output: diff <(gh api -H "Accept: application/vnd.github.raw" repos/sentfutures/.github/contents/workflow-templates/claude-pr-review.yml) <(gh api -H "Accept: application/vnd.github.raw" repos/sentfutures/devops/contents/callers/claude-pr-review.caller.yml).
  • Only comment lines change, so a repo created from the template behaves the same.

Deco354 added a commit to sentfutures/devops that referenced this pull request Oct 9, 2026
…ockfiles

Under this PR a generated_paths file gets no diff, so the review cannot see
it at all; before, its hunks were in the diff it was told to skim. A
lockfile's changes are small (factory-farm-em's uv.lock: 2-56 lines) and are
the only place indirect dependency and source changes show, so the input
description, README and caller template stop suggesting uv.lock, and the
template's 'skim' comment is corrected. Mirrored in sentfutures/.github#4;
factory-farm-em#44 stops withholding its uv.lock.
@Deco354 Deco354 closed this Oct 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant