Skip to content

docs(issues): [#2318] add spec for porting review-thread scripts to Rust - #2319

Merged
josecelano merged 3 commits into
torrust:developfrom
josecelano:2318-2278-port-review-thread-scripts-to-rust-spec
Sep 23, 2026
Merged

josecelano merged 3 commits into
torrust:developfrom
josecelano:2318-2278-port-review-thread-scripts-to-rust-spec

Conversation

@josecelano

Copy link
Copy Markdown
Member

Summary

Spec-only PR for EPIC #2278 subissue 3 and the EPIC reorganisation that came with it.

The maintainer decided that the fetch-review-threads helper (four Bash/jq scripts with no tests) should be implemented in Rust, following the contrib/dev-tools/ workspace-crate precedent (clippy-allow-reasons, frontmatter-validator). The originally planned "align fetch-review-threads with the author workflow" subissue is split in two so each PR stays reviewable:

Files touched

  • docs/issues/open/2318-2278-port-review-thread-scripts-to-rust/ISSUE.md — new spec for Port the review-thread shell scripts to a Rust tool #2318.
  • docs/issues/drafts/2278-fetch-all-review-threads/ISSUE.md — order-4 draft awaiting its own issue.
  • docs/issues/open/2278-2003-strengthen-pr-review-author-self-audit/EPIC.md — subissue table renumbered to ten rows (old 3-9 are now 4-10), language decision recorded, phases/ACs/risks updated, progress log entries added. Reconcile audit skill and template rule contradictions #2308 row already reflected upstream archival.
  • docs/issues/open/2278-2003-strengthen-pr-review-author-self-audit/retrospective-improvement-matrix.md — task-to-subissue mapping paragraph updated to the new numbering.

Validation

Notes for reviewers

Related to #2318
Related to #2278

Copilot AI lite review requested due to automatic review settings September 23, 2026 12:10
@josecelano josecelano self-assigned this Sep 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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: 1 Medium severity · 1 Low severity

Open (2)
What changed in this PR

Spec-only PR that adds a new subissue spec (#2318) for porting fetch-review-threads shell scripts to a tested Rust dev-tool, and updates EPIC #2278 documentation to reflect the EPIC re-organization (including renumbered subissues and a future follow-up draft).

Changes:

  • Added a new open issue spec for #2318 (Rust parity port of the review-thread scripts, fixture-test seam, CLI output contract alignment).
  • Added a new draft issue spec for the follow-up behavior change (fetch all threads by default, resolvedBy/line, --unresolved-only).
  • Updated EPIC #2278 docs (subissue renumbering, dependencies, phase outcomes, links, and mapping updates).
File Description
docs/​issues/​open/​2318-2278-port-review-thread-scripts-to-rust/​ISSUE.md New complete spec for subissue #2318 (parity Rust port + testing seam + output contract notes).
docs/​issues/​drafts/​2278-fetch-all-review-threads/​ISSUE.md New draft spec for post-parity behavior changes to the review-thread tool.
docs/​issues/​open/​2278-2003-strengthen-pr-review-author-self-audit/​EPIC.md Renumbers and re-frames EPIC subissues/phases; records tooling language decision and updates links/log.
docs/​issues/​open/​2278-2003-strengthen-pr-review-author-self-audit/​retrospective-improvement-matrix.md Updates task-to-subissue mapping text to match new numbering.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 23, 2026
Copilot stopped reviewing on behalf of josecelano due to an error September 23, 2026 12:31
…rt and behaviour change

Record the maintainer decision to implement the fetch-review-threads helper
in Rust, add torrust#2318 as order 3 (parity port), renumber orders 4-10, update
the phase, acceptance and matrix mapping references, and add the order-4
draft (F17, F18, F32) that builds on torrust#2318.
@josecelano
josecelano force-pushed the 2318-2278-port-review-thread-scripts-to-rust-spec branch from 60e1619 to 6ae4257 Compare September 23, 2026 12:40
@josecelano

Copy link
Copy Markdown
Member Author

ACK 6ae4257

@josecelano
josecelano merged commit ef23462 into torrust:develop Sep 23, 2026
1 check passed
josecelano added a commit that referenced this pull request Sep 24, 2026
613add1 docs(pr-reviews): record PR #2322 round-2 resolution (Jose Celano)
4996594 docs(pr-reviews): correct the PR #2322 audit timeline (Jose Celano)
a391c33 fix(dev-tools): satisfy nightly clippy assert_is_empty in CLI tests (Jose Celano)
203bbc7 docs(pr-reviews): record PR #2322 thread resolution (Jose Celano)
96f9c58 docs(pr-reviews): add PR #2322 review audit (Jose Celano)
e82fbbc docs(issues): record review-thread parity deviations and checkpoints (Jose Celano)
8639a8f docs(pr-reviews): pipe review-thread tool output in skill examples (Jose Celano)
fa2b69c test(dev-tools): pin the review-thread CLI to retired-script captures (Jose Celano)
d8b9403 fix(dev-tools): report missing-reply threads in the diagnostic (Jose Celano)
27a7e2a fix(dev-tools): restore thread_id and wrap list and show results (Jose Celano)
1941e9e docs(issues): link review-thread implementation PR (Jose Celano)
31e9d73 docs(issues): complete review-thread port evidence (Jose Celano)
e728e3a docs(issues): record review-thread verification evidence (Jose Celano)
4296b96 build(container): register review-thread tool (Jose Celano)
65f5ba4 refactor(pr-reviews): replace review-thread scripts (Jose Celano)
cac98e7 feat(dev-tools): add review-thread projections (Jose Celano)
926b7d3 feat(dev-tools): add review-thread fetch command (Jose Celano)
d04a803 test(dev-tools): add review-thread script parity fixtures (Jose Celano)

Pull request description:

  ## Summary

  - Add the non-published `github-review-threads` developer tool with `fetch`, `list`, `show`, and `reply-status` subcommands backed by the GitHub CLI.
  - Preserve the raw GraphQL response file consumed by the bulk resolver, replace the four Bash and `jq` helpers, and update the review workflow skills.
  - Add deterministic parity fixtures, ADR output-contract registration, Containerfile cargo-chef integration, and issue-local verification evidence.

  ## Validation

  - `cargo test --package github-review-threads`
  - `cargo +nightly fmt --all -- --check`
  - `cargo clippy --package github-review-threads -- -D warnings`
  - `linter all`
  - `docker build --target recipe --file Containerfile .`
  - `docker build --target test_debug --file Containerfile .`
  - Installed pre-push hook: nightly format, workspace check, documentation build, and stable full test suite
  - Live PR #2319 parity comparison with the retired helper snapshot, resolver dry run, and TTY refusal verification recorded in the issue evidence

  Closes #2318

ACKs for top commit:
  josecelano:
    ACK 613add1

Tree-SHA512: c3e5bd24270d53771c77a177bcded5cffb45a2b95d58ae1f6fd1f06509251f96eebdb5c4cbfaf7308efba1f1eba1329270758ad129ef84acfe1a22b15beedaad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants