Repository navigation
ci: acknowledge /review comments - #29
Conversation
A /review run belongs to main, so nothing on the PR showed it had started, and a skipped command said nothing. React with eyes to an accepted command, and reply with the reason when someone with write access asks for a review that can't run. No one else gets a reply. The new job holds only pull-requests: write and runs no repository code. Signed-off-by: Pritam Gundecha <pgundecha@nvidia.com>
|
AI review of 0310039 (model Verdict: SHIP The change is low-risk. The new NOTE
Generated by the AI review workflow from AGENTS.md and .agents/skills/pr-review/SKILL.md. Comment |
Reacting to a comment needs the Issues permission; pull-requests: write does not cover it, so every reaction would have failed. Post the skip reply through the issue-comments endpoint, which issues: write covers, and say that marking a draft ready starts the review. Pin the job's full condition and the exact API calls in the tests. Signed-off-by: Pritam Gundecha <pgundecha@nvidia.com>
|
/review |
|
Follow-up AI review of df8525d (model Verdict: SHIP I reviewed the changes since 0310039 against the whole PR. No new findings. Status of earlier findings
Review of the new changes
I confirmed that no plan or submission behavior changes. The diff touches only the AI review workflow, its tests, and two docs. The docs match the new behavior. Generated by the AI review workflow from AGENTS.md and .agents/skills/pr-review/SKILL.md. Comment |
What does this PR do?
A
/reviewcomment starts a run that GitHub attaches tomain, not to the PR. Nothing on the PR showed that the review had started until its result arrived a few minutes later, and a skipped command said nothing at all.acknowledgejob adds an "eyes" reaction to the comment as soon as authorization passes.main, or the last review already covers its latest commit.issues: write. GitHub's permission tables for apps and tokens list reactions on comments under Issues only, sopull-requests: writewould make every reaction fail. Issues write also covers the reply, which goes through the issue-comments endpoint.AGENTS.mdandCONTRIBUTING.mddescribe the reaction and the reply.Validation
pytest tests/locally: everything passes except fourtests/test_downstream_install.pycases that buildeditdistancefrom source, which doesn't compile on macOS. CI runs them.always();pull-requests: write;gh pr comment.actionlintis clean.zizmorreports only theissue_commenttrigger finding thatmainalready has.pre-commit run --all-files: passed.issue_commentworkflows frommain. After merging, comment/reviewon an open PR.Plan or run evidence
N/A: the change is limited to the AI review workflow. It doesn't change what any workflow plans or submits.
Compatibility
None for workflow YAML, the CLI, project contracts or cluster configs.
Checklist
scripts/run_ci_test_lane.sh nemoandscripts/run_ci_test_lane.sh minimal), or N/A for docs-only changes. The full suite passed locally apart from the four macOS-only build failures above; both lanes run in CI.uv run pre-commit run --all-files).git commit -s).