Skip to content

ci(checks): enforce the duplicate code gate - #170

Merged
PerfectPan merged 1 commit into
mainfrom
ci/duplicates-gate
Nov 18, 2026
Merged

PerfectPan merged 1 commit into
mainfrom
ci/duplicates-gate

Conversation

@PerfectPan

Copy link
Copy Markdown
Owner

Summary

  • Run the existing pnpm duplicates check after lint on Ubuntu and macOS. The shared jscpd configuration sets the threshold to zero. The current main reports zero clones, so any newly reported clone fails CI.
  • Add the gate to the contributor, agent and review checklists. pnpm duplicates:audit remains available for a report.

Validation

  • pnpm install --frozen-lockfile and pnpm peers check --lockfile-only passed. The lockfile is unchanged.
  • pnpm duplicates on main at 88a3b79 printed Found 0 clones. and exited 0. After cp src/time.ts src/dup-probe.ts, it identified both files, printed Found 1 clones. and exited 1. After rm src/dup-probe.ts, it printed Found 0 clones. and exited 0.
  • pnpm format:check, pnpm run typecheck, pnpm -C site run docs:sync and pnpm lint passed.
  • pnpm test passed with 1,046 tests passing and one skipped. pnpm run build, node dist/src/cli.js --help, pnpm -C site run docs:build and pnpm pack --dry-run passed.
  • gh repo-checks repository and gh repo-checks release-plan passed. The release plan has zero pending change records.
  • pnpm changeset status exited 1 because this branch has changes and no changeset. It exited 0 on clean main. The contribution rules allow skipping a changeset for this CI and documentation change because it does not affect the published package. CONTRIBUTING.md:102
  • gh repo-checks pr-title "ci(checks): enforce the duplicate code gate" and gh repo-checks pr-body pr-body.md passed.

Co-Authored-By: Codex <noreply@openai.com>
@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
agent-presence Ready Ready Preview Nov 18, 2026 12:53pm UTC

@PerfectPan
PerfectPan merged commit fbff6f1 into main Nov 18, 2026
8 checks passed
@PerfectPan
PerfectPan deleted the ci/duplicates-gate branch November 18, 2026 13:29

This branch was successfully deployed

1 active deployment
Preview — 65762843 Deployed Nov 18, 2026 by vercel[bot]
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.

1 participant