Skip to content

feat(code-review): review the diff against the linked issue #3

Description

@manucorujo

review.py fetches the PR body but cuts it at 500 characters (_compact_meta), and never reads the issue the PR closes. Repos that describe the problem and the implementation in the issue and leave the PR body empty are reviewed against nothing but the diff.

Change: resolve closingIssuesReferences for the PR, pass those issues to the model next to the PR body, and raise the truncation to 6000 characters. Falls back to a diff-only review when the token lacks issues: read, so no caller breaks.

Callers: each consuming repo needs issues: read in its workflow permissions: block. workflow-template.yml is updated here; rumi-api and airflow need the same one-line change.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions