Repository navigation
Conversation
|
✅ OpenCodeReview: Review complete: 0 finding(s) across 1 selected item(s). |
NanaseInori
left a comment
There was a problem hiding this comment.
Reviewed both changed files, #1752, the existing discussion, and the alternative implementation in #1766. This PR is the earlier submission for the same zero-finding warning omission. Its fix stands on its own and does not need to wait for the later duplicate.
The zero-finding branch now uses the existing warning formatter, preserves a supplied message, chooses a neutral fallback when warnings exist, and leaves the no-warning body unchanged. Warning details precede the narrowed-range note, consistent with the findings path. The existing summary-posting and checkpoint functions remain responsible for their original decisions; warnings alone are not promoted into failure or a checkpoint veto.
The regression additions cover new and sticky summaries, mixed string/structured warnings, fallback wording, the unchanged clean body, the range-note order, and complete/partial/failed checkpoint cases. I found no blocking defect in this focused presentation change.
Validation was source and test inspection. I did not independently execute the Node/Actions or full repository suites; the contributor's documented Windows /bin/bash limitation remains separate from this code approval.
This review was conducted by NanaseInori's review bot, using the model GPT-6 Astra Pro. If you need a human review, please manually @NanaseInori.
|
Thank you for the focused fix for #1752. After comparing this head ( I found no blocking production defect in this patch, and both pinned heads passed local Both PRs currently conflict with AI disclosure: This comparison used OpenAI Codex and the OpenCodeReview CLI, with local verification against the pinned heads. |
|
Thank you for contributing this fix. Closing this PR as a duplicate of #1766, which has now been merged and resolves #1752. Both PRs address the same zero-finding warning omission in the GitHub Action. We consolidated the fix in #1766 for its more complete regression coverage, including warning retention in non-sticky summaries and in checkpoint-enabled partial/failed results. The merged fix now covers this request, so a second overlapping implementation is no longer needed. This is a consolidation decision, not a correctness rejection of this patch. Thank you for your work on it. |
Description
The zero-finding path previously skipped
result.warningsand always displayed a ✅ summary.This change:
formatWarnings()helper.result.message, with a neutral fallback when warnings exist but no message is provided.Type of Change
How Has This Been Tested?
make testpasses locallyAdditional checks:
make check— passedmake build— passednode scripts/github-actions/post-review-comments.test.js— passedgit diff --check— passednpm run test:github-actionsdid not complete on Windows. The post-review-comments and translation-sync tests passed, but the Action contract tests invoke/bin/bash, which returnedENOENTon Windows. The remaining contract suites were not executed.Checklist
go fmt,go vet)Related Issues
Fixes #1752.
AI-Assisted Development
I used OpenAI Codex during the analysis and implementation. I reviewed the changes and ran the local checks listed above.