[PR #5758] [MERGED] docs(testing): reference the configured duplication limit #7041

Closed
opened 2026-11-01 21:44:55 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/5758
Author: @gensokyo-dev
Created: 10/21/2026
Status: ✅ Merged
Merged: 10/21/2026
Merged by: @gensokyo-dev

Base: main ← Head: audit/ci-tests-20261021-round1


📝 Commits (1)

  • 3c17332 docs(testing): reference the configured duplication limit

📊 Changes

1 file changed (+3 additions, -2 deletions)

View changed files

📝 docs/testing.md (+3 -2)

📄 Description

Summary

The testing guide says both duplication commands enforce 3%, but .jscpd.json configures 3.5%. Link the guide directly to the shared configuration instead of repeating a numeric limit that can drift. The checker configuration and commands are unchanged.

Documentation only; no CLI/MCP, provider, Evidence, package or installation behavior changes. Maintainer scope decision: not applicable. Found during a latest-main CI audit; no separate issue.

Validation performed

  • Source/config comparison: the affected guide said 3%; .jscpd.json has threshold: 3.5. Both npm commands use that configuration.
  • npm run check — passed, including architecture/module checks.
  • npm run docs:check — passed, including all 5 README consistency cases.
  • oxfmt --check docs/testing.md and git diff --check — passed.
  • Audit on base d0067ba34: 331 CI qualification, required-lane, report, history, selection, sequencer and discovery cases passed without skips; all 1,878 test files discovered exactly once.
  • Existing exact-base full qualification: 40 jobs passed; the separate source job is skipped because full shards include it. Push test report: 23,534 passed / 197 existing skips. These are base evidence. Current-head PR CI passed all 5 selected jobs; 24 code/provider jobs were intentionally excluded for this documentation-only change. Codex found no findings and Greptile scored 5/5 on 3c17332a3.

Heavy local checks ran sequentially on two CPUs. General check: 113.50 s wall / 208.31 s family CPU / 5,062.6 MiB sampled family RSS; docs check: 13.17 s / 15.91 s / 715.3 MiB. RSS sums descendants every 100 ms and may double-count shared pages or miss short/reparented children; no observed OOM. No performance improvement is claimed; agent-token cost is unmeasured. LeanToken retrieval returned an internal error, so inspection used pinned source and CI artifacts. No new real-provider or Windows verification was performed for this documentation change.

Author readiness

Human owner: @gensokyo-dev

The owner explicitly delegated readiness declarations and authorized ready PRs and merge in this session. Codex reviewed this diff and its evidence; independent human review was not observed. Authored commits have no Co-authored-by trailer.

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

Before merge

  • This PR addresses a concrete problem or an agreed enhancement.
  • Material scope and authority questions are resolved, and any required maintainer scope decision covers the final diff.
  • The PR has one focused outcome and the title follows type(scope): outcome.
  • Related issue is linked, or the reason for not linking one is stated above.
  • Tests cover changed observable behavior and meaningful failure paths.
  • Owning docs, contracts, and generated metadata are updated where needed.
  • User-visible CLI/MCP changes include representative output.
  • I checked the final diff for secrets, unrelated cleanup, and unsupported claims.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/morluto/rea/pull/5758 **Author:** [@gensokyo-dev](https://github.com/gensokyo-dev) **Created:** 10/21/2026 **Status:** ✅ Merged **Merged:** 10/21/2026 **Merged by:** [@gensokyo-dev](https://github.com/gensokyo-dev) **Base:** `main` ← **Head:** `audit/ci-tests-20261021-round1` --- ### 📝 Commits (1) - [`3c17332`](https://github.com/morluto/rea/commit/3c17332a374597ad7d078180c9ce36ee8dbb740d) docs(testing): reference the configured duplication limit ### 📊 Changes **1 file changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/testing.md` (+3 -2) </details> ### 📄 Description ## Summary The testing guide says both duplication commands enforce 3%, but `.jscpd.json` configures 3.5%. Link the guide directly to the shared configuration instead of repeating a numeric limit that can drift. The checker configuration and commands are unchanged. Documentation only; no CLI/MCP, provider, Evidence, package or installation behavior changes. Maintainer scope decision: not applicable. Found during a latest-main CI audit; no separate issue. ## Validation performed - Source/config comparison: the affected guide said 3%; `.jscpd.json` has `threshold: 3.5`. Both npm commands use that configuration. - `npm run check` — passed, including architecture/module checks. - `npm run docs:check` — passed, including all 5 README consistency cases. - `oxfmt --check docs/testing.md` and `git diff --check` — passed. - Audit on base `d0067ba34`: 331 CI qualification, required-lane, report, history, selection, sequencer and discovery cases passed without skips; all 1,878 test files discovered exactly once. - Existing [exact-base full qualification](https://github.com/morluto/rea/actions/runs/39524987448): 40 jobs passed; the separate source job is skipped because full shards include it. [Push test report](https://github.com/morluto/rea/actions/runs/39520406388): 23,534 passed / 197 existing skips. These are base evidence. [Current-head PR CI](https://github.com/morluto/rea/actions/runs/39538279288) passed all 5 selected jobs; 24 code/provider jobs were intentionally excluded for this documentation-only change. [Codex](https://github.com/morluto/rea/pull/5758#issuecomment-6307232132) found no findings and [Greptile](https://github.com/morluto/rea/pull/5758#issuecomment-6307248678) scored 5/5 on `3c17332a3`. Heavy local checks ran sequentially on two CPUs. General check: 113.50 s wall / 208.31 s family CPU / 5,062.6 MiB sampled family RSS; docs check: 13.17 s / 15.91 s / 715.3 MiB. RSS sums descendants every 100 ms and may double-count shared pages or miss short/reparented children; no observed OOM. No performance improvement is claimed; agent-token cost is unmeasured. LeanToken retrieval returned an internal error, so inspection used pinned source and CI artifacts. No new real-provider or Windows verification was performed for this documentation change. ## Author readiness Human owner: @gensokyo-dev The owner explicitly delegated readiness declarations and authorized ready PRs and merge in this session. Codex reviewed this diff and its evidence; independent human review was not observed. Authored commits have no Co-authored-by trailer. - [x] I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work. - [x] I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps. - [x] I declare this PR ready for initial maintainer review. ## Before merge - [x] This PR addresses a concrete problem or an agreed enhancement. - [x] Material scope and authority questions are resolved, and any required maintainer scope decision covers the final diff. - [x] The PR has one focused outcome and the title follows `type(scope): outcome`. - [x] Related issue is linked, or the reason for not linking one is stated above. - [x] Tests cover changed observable behavior and meaningful failure paths. - [x] Owning docs, contracts, and generated metadata are updated where needed. - [x] User-visible CLI/MCP changes include representative output. - [x] I checked the final diff for secrets, unrelated cleanup, and unsupported claims. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-01 21:44:55 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#7041
No description provided.