Repository navigation
fix(pr-reviews): address the unprocessed review findings of the validate-audit-record change - #2657
Conversation
Co-authored-by: Copilot <[email protected]>
…gh as a usage error Red: a missing gh raises FileNotFoundError instead of exiting 2. The near-miss tests replace the one that could not fail and guard existing behavior. Co-authored-by: Copilot <[email protected]>
… in the failure text Co-authored-by: Copilot <[email protected]>
…t in the closed spec Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
The focused changes have no identified blocking regression; the remaining documentation wording correction is non-blocking.
1 open issue
What changed in this PR
This follow-up addresses unprocessed feedback on #2641, which updated the review-audit validator to accept fixes merged outside the local commit range.
Changes:
- Handles a missing
ghduring commit lookup and clarifies dependency requirements and validation errors. - Adds meaningful rejection tests and ignores Python cache directories.
- Corrects archived verification records and adds the #2641 review audit.
| File | Description |
|---|---|
project-words.txt |
Adds pycache to the spelling dictionary. |
docs/pr-reviews/pr-2641-review/PR-REVIEW.md |
Records six findings and their follow-up dispositions. |
docs/issues/closed/2606-2278-validate-audit-record-merged-fix-subjects/manual-verification-evidence.md |
Corrects recheck status and explains audit counts. |
docs/issues/closed/2606-2278-validate-audit-record-merged-fix-subjects/ISSUE.md |
Updates completion records, test history, and dependency risks. |
.gitignore |
Ignores Python cache directories. |
.github/skills/dev/pr-reviews/process-pr-review/SKILL.md |
Clarifies that captured comments do not remove the gh requirement. |
.github/skills/dev/pr-reviews/process-pr-review/scripts/validate-audit-record.py |
Handles process-launch errors and names accepted subject sources. |
.github/skills/dev/pr-reviews/process-pr-review/scripts/test_validate_audit_record.py |
Tests missing gh and exact versus near-miss subject matching. |
Review effort: Balanced
… the closed spec Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
|
ACK 5de6253 |
…ter its follow-up merged 6295926 docs(pr-reviews): close the loop on the PR 2641 audit after its follow-up merged (Jose Celano) Pull request description: Closes the review loop for #2641 after its follow-up #2657 merged (merge commit `54eabcbf4`), as the process-pr-review skill requires for post-merge feedback. - Moves the six rows of `docs/pr-reviews/pr-2641-review/PR-REVIEW.md` from `FOLLOW_UP`/`OPEN` to `FIXED`/`RESOLVED`, with the fixing commit subjects as resolution references and the merge recorded in the Processing Log. - The consolidated response is #2641 (comment), and the six threads on #2641 are resolved (a GraphQL fetch shows all six `isResolved: true`). Validation: `validate-audit-record.py --pr-number 2641 --base torrust/develop` reports 6 rows, 4 log entries, 0 failures; the pre-commit hook passed. ACKs for top commit: josecelano: ACK 6295926 Tree-SHA512: 1c4caa4ad27060531672ba59d2dff9b9a9437e466af5dc391b0dec9c31827643a9ec103b36ea74b3c13ab4a6209e3de16c4bd9e043f05948fd4564ac3bc9adca
da2ce7
left a comment
There was a problem hiding this comment.
Reviewed at 5de6253f24e765f1b3fdac6c6ce84570dbc088f0 (post-merge). Recomputed from the bytes at the merged head, against the base 3b781c628; the PR merged on 2026-10-26 at 17:59:45Z as 54eabcbf4.
Label: POST_MERGE_FINDINGS — Review requested at 2026-10-26T16:40:00Z; the PR merged before this round ran. The findings below stand at the merged head for a follow-up PR. No ACK follows a merged PR.
Change: both tracked bytecode files are deleted, and the directory ignore rule matches a new cache path. The commit-list lookup catches missing-executable errors and reports exit 2 with the endpoint. The three-source failure text and the comments-file dependency explanation match the code. The ordinary comment-fetch path still has its pre-existing uncaught missing-executable error; the repaired path is specifically commit listing.
Tests: the nine Python tests pass locally with process calls mocked and bytecode disabled. Applying the new tests to the base validator produces the expected missing-executable error; disabling subject rejection in memory makes all three near-miss cases fail. Thus the replacement tests exercise rejection, while the exact-match test protects acceptance. No network or executable API client was used.
Records and bot: the six earlier concerns have corresponding code, test, or text changes. Their audit remains FOLLOW_UP/OPEN before this follow-up merges, as required; PR 2660 performs the later closure. The one bot finding in review 5655168094 is retained as F5, and the first-three/first-two correction is present. Its reply belongs to the captured source thread, which is resolved. The original PR 2641 comment capture is not supplied, so its approval and six external reply URLs cannot be independently authenticated here.
Hygiene and dependencies: seven commits and eleven changed files, including two binary deletions. Subjects are Conventional and scoped; attribution footer lines are present without an inspected prohibition. The closing-keyword scan finds no issue closure. Relative Markdown file targets resolve. This change relies on PR 2655 having archived the spec; the archive-era unchecked checkpoint is historical, not a claim about the eventual state after PR 2660. The description's claim that the PR 2641 audit is in the last commit is stale: it is in 0c8c40eca, followed by two commits.
Findings: none introduced by the scoped implementation.
Checked, no finding: cache removal and ignore behavior, meaningful near-miss rejection, commit-fetch failure mapping, corrected regression-case count, and retaining pending dispositions until the follow-up merge.
Checks
On the loop's compute hub at the merged head, against the base 3b781c628 (receipt server-gates-sojka-490; the PR merged as 54eabcbf4): pre-commit profile gate exit 0 (93 s); linter markdown, linter cspell, linter lychee exit 0; frontmatter-validator --all: 16 errors / 4 warnings at the merged head and 16 / 4 at the base re-measured, the same 20 diagnostics by path and category; the audit validator over docs/pr-reviews/pr-2657-review/PR-REVIEW.md with the review comments and commit list captured at gate time: ok, 1 rows, 2 log entries, 0 failures. GitHub checks at this head at posting time: "Publish (Development): completed/skipped; Publish (Release): completed/skipped; Context: completed/success; Unit (stable): completed/success; Layer Boundary Bans: completed/success; Unit (nightly): completed/success; Documented Clippy Allows: completed/success; Workspace Packaging: completed/success; Docker E2E: completed/skipped; Test (Docker) (release): completed/success; Package Coverage (${{ matrix.package }}): completed/skipped; Package Coverage Regression: completed/success; Generate Coverage Report: completed/success; Build on windows-latest (nightly): completed/success; Build on windows-latest (stable): completed/success; Build on ubuntu-latest (nightly): completed/success; Build on macos-latest (nightly): completed/success; Discover Package Coverage: completed/success; Docs Lint: completed/success; Build on macos-latest (stable): completed/success; Build on ubuntu-latest (stable): completed/success". At posting, develop is 968099d93.

Summary
Follow-up for the review of #2641 (review 5640012066, submitted 2026-10-24 21:01 UTC, before that pull request merged at 2026-10-25 06:25 UTC, and unprocessed when it merged). The maintainer approved the follow-up: #2641 (comment). No new issue or specification; the work relates to #2606, which #2641 closed.
ghnow exits 2 and names the commits endpoint, like a failed call; the help text and the skill sayghis needed even with--comments-file; the spec's Risks line is corrected.__pycache__/*.pycfiles are removed and__pycache__/is git-ignored. The blobs stay in the history ofdevelop.CheckRowTest, which callscheck_rowwith an exact match and with near-miss subjects (other case, prefix, suffix).related-prandlast-updated-utcwere already fixed by the archive.PR-REVIEW.mdfiles that contain the wordFIXED) and cites the reviewer's 148 files with aFIXEDrow. I did not recount it.The audit record
docs/pr-reviews/pr-2641-review/PR-REVIEW.mdis added in the last commit.Validation
python3 -m unittest discover -s .github/skills/dev/pr-reviews/process-pr-review/scripts: 9 tests pass. The missing-ghtest was red before the fix (FileNotFoundError); thecheck_rowtests guard existing behavior.linter alland the pre-commit hook pass for each commit.