Repository navigation
docs(issues): [#2333] add spec for fetching all review threads - #2334
Merged
josecelano merged 4 commits intoSep 24, 2026
Merged
josecelano merged 4 commits into
josecelano merged 4 commits into
Conversation
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
Review effort: Lite
Findings: 2
Open (2)
What changed in this PR
Spec-only update for EPIC #2278 subissue #2333 to define fetching all review threads (including resolved/outdated) and to align the fetch-review-threads skill/tool contracts and queries.
Changes:
- Update EPIC #2003/#2278 tracking to link subissue #2333 and record a progress log entry.
- Refresh the #2333 issue specification (metadata, background/scope, acceptance criteria), including calling out query drift and the desired fallback-query alignment.
| File | Description |
|---|---|
| docs/issues/open/2278-2003-strengthen-pr-review-author-self-audit/EPIC.md | Links order-4 subissue to #2333 + updates timestamps and progress log. |
| docs/issues/drafts/2278-fetch-all-review-threads/ISSUE.md | Updates the spec content/metadata to reflect #2333 and expanded scope (all threads + query alignment). |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Member
Author
|
ACK 6211188 |
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this pull request
Sep 26, 2026
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this pull request
Sep 26, 2026
josecelano
added a commit
that referenced
this pull request
Sep 27, 2026
…ings 3e89461 docs(pr-reviews): record PR #2344 round 2 thread resolution (Jose Celano) b20eb55 docs(pr-reviews): record PR #2344 review round 2 (Jose Celano) 740f6ed docs(pr-reviews): make PR #2344 audit verifications reproducible at head (Jose Celano) 6123dea test(dev-tools): require exactly one skill fallback query block (Jose Celano) 5213cf1 docs(pr-reviews): bump process-pr-review to 1.4 for the post-merge changes (Jose Celano) b785bad docs(pr-reviews): record PR #2344 thread resolution (Jose Celano) fbd7c64 docs(pr-reviews): add PR #2344 review audit (Jose Celano) ddbe1ef docs(pr-reviews): use N/A for unreassigned reviewer IDs in PR #2339 audit (Jose Celano) c84e05b docs(issues): cite the #2333 evidence correction by its finding reference (Jose Celano) 5f3a7f3 docs(pr-reviews): point PR #2334 audit to the archived #2333 spec (Jose Celano) b56c04e docs(pr-reviews): cover post-merge follow-ups for PRs without an audit (Jose Celano) 777faf7 test(dev-tools): document fallback-query extraction and evidence-window intent (Jose Celano) 75fa474 docs(pr-reviews): add PR #2339 post-merge review audit (Jose Celano) c92d5b3 chore(issues): archive closed issue #2333 spec to docs/issues/closed (Jose Celano) 67496cd docs(pr-reviews): apply the post-merge workflow to findings unprocessed at merge (Jose Celano) 70e8821 docs(issues): record the exact #2333 evidence commands (Jose Celano) 79e827e test(dev-tools): pin review-thread query fields and explicit nulls (Jose Celano) Pull request description: ## Summary Post-merge follow-up for PR #2339 (#2333, EPIC #2278 order 4). PR #2339 merged with three non-blocking inline findings from review 5310586223 still unprocessed. The maintainer approved handling them here: <#2339 (comment)>. - **F1** (Suggestion): no test pinned that the live query requests `line` and `resolvedBy`, so a dropped field would read back as `null`, indistinguishable from GitHub's "unknown". A new test requires both fields at thread level next to `path`, and a second test requires the `fetch-review-threads` skill's fallback query to match the tool's query token for token, so AC1's parity no longer holds only by hand. - **F2** (Suggestion): the two explicit-null tests indexed a `serde_json::Value`, which also yields `Null` for a missing key. They now use `Value::get(...) == Some(&Value::Null)`. - **F3** (Nit): evidence steps V1-V4 omitted the pipes and `jq` filters that produced their observed blocks. They now record the commands exactly as run, with a dated correction note. Also in this PR: - `process-pr-review` (version 1.4; `develop` meanwhile used 1.3 for PR #2335's changes) now states that findings submitted before merge but unprocessed when the pull request merged follow the post-merge workflow. This PR is the first case of it. - #2333 closure bookkeeping: its spec is archived under `docs/issues/closed/`, and EPIC #2278 marks order 4 and AC2 `DONE`, completing Phase 1. - The PR #2339 audit record (`docs/pr-reviews/pr-2339-review/PR-REVIEW.md`) was added after the three #2339 threads received their follow-up replies, because its rows cite those reply URLs. ## Commits - `test(dev-tools): pin review-thread query fields and explicit nulls` (F1, F2) - `docs(issues): record the exact #2333 evidence commands` (F3) - `docs(pr-reviews): apply the post-merge workflow to findings unprocessed at merge` - `chore(issues): archive closed issue #2333 spec to docs/issues/closed` - `docs(pr-reviews): add PR #2339 post-merge review audit` Review round 1 of this PR (Copilot review 5325624421 and da2ce7 review 5325898273; audit `docs/pr-reviews/pr-2344-review/PR-REVIEW.md`): - `test(dev-tools): document fallback-query extraction and evidence-window intent` (audit F1, F2) - `docs(pr-reviews): cover post-merge follow-ups for PRs without an audit` (audit F3) - `docs(pr-reviews): point PR #2334 audit to the archived #2333 spec` (audit F4) - `docs(issues): cite the #2333 evidence correction by its finding reference` (audit F5) - `docs(pr-reviews): use N/A for unreassigned reviewer IDs in PR #2339 audit` (audit F6) - `docs(pr-reviews): add PR #2344 review audit` - `docs(pr-reviews): record PR #2344 thread resolution` After rebasing onto `develop` with PR #2335: - `docs(pr-reviews): bump process-pr-review to 1.4 for the post-merge changes` Review round 2 of this PR (da2ce7 reviews 5326065019 and 5326267066; audit F7-F9): - `test(dev-tools): require exactly one skill fallback query block` (audit F7) - `docs(pr-reviews): make PR #2344 audit verifications reproducible at head` (audit F8, F9) - `docs(pr-reviews): record PR #2344 review round 2` - `docs(pr-reviews): record PR #2344 round 2 thread resolution` ## Validation - `cargo test --package github-review-threads`: 15 unit (was 13) and 7 CLI tests pass on stable Rust 1.98.1; clippy with `-D warnings` and nightly `rustfmt --check` are clean. - Mutants run in the working tree and restored before committing: dropping `line` from the tool query fails the query-field and parity tests; dropping it from the skill fallback fails the parity test; adding `skip_serializing_if` to `ShownThread`'s `resolved_by` and `line` fails both explicit-null tests. - The corrected V1-V4 evidence steps, re-run verbatim against PR #2320, reproduced every recorded block. - The pre-commit hook (including `linter all`) passed on every commit; the pre-push hook passed. ## After merge The three PR #2339 threads stay open until this PR merges, then receive replies citing the merge and are resolved, and the PR #2339 audit rows move to `FIXED`. Related to #2333 Related to #2278 ACKs for top commit: josecelano: ACK 3e89461 Tree-SHA512: 4bfbcf39ca8b0af0c49dbec57f84e11350233bbd06f321aceb7c8c225c5e2caebc2ff6ccfd4dc3e635f9dae4b740f16800ecd734d88bda1d57b9326f48ab1013
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Spec-only PR for EPIC #2278 subissue 4 (#2333): make the
github-review-threadstool and thefetch-review-threadsskill return resolved and outdated threads withresolvedByandline(friction-register items F17, F18, F32), keeping an explicit--unresolved-onlyview and the unresolved-onlyreply-statusguard for reply and resolution actions.The draft was written before #2318 was implemented, so it was refreshed against the merged crate (PR #2322) and re-approved:
contrib/dev-tools/github/github-review-threadscrate and the output-shape deviations from Port the review-thread shell scripts to a Rust tool #2318 that this issue inherits unchanged.gh api graphqlfallback query, which has drifted from the tool's query.Files touched
docs/issues/open/2333-2278-fetch-all-review-threads/ISSUE.md- spec moved fromdocs/issues/drafts/2278-fetch-all-review-threads/, issue number filled in, refreshed content.docs/issues/open/2278-2003-strengthen-pr-review-author-self-audit/EPIC.md- order-4 row linked to Alignfetch-review-threadswith the author workflow #2333 and progress log entry added.Validation
TORRUST_GIT_HOOKS_LOG_DIR=.tmp ./contrib/dev-tools/git/hooks/pre-commit.sh --format=textpassed on each commit (includeslinter all).fetch-review-threadswith the author workflow #2333 created with labeltaskand linked as a sub-issue of Strengthen PR review author self-audit and evidence generation #2278.Related to #2333
Related to #2278