Skip to content

chore(ci): stabilize jscpd duplicate code checks#96

Draft
NITISH-R-G wants to merge 1 commit into
mainfrom
ci-fix-jscpd-duplication-check-17492114568717436374
Draft

chore(ci): stabilize jscpd duplicate code checks#96
NITISH-R-G wants to merge 1 commit into
mainfrom
ci-fix-jscpd-duplication-check-17492114568717436374

Conversation

@NITISH-R-G

Copy link
Copy Markdown
Owner

This PR stabilizes the duplicate code check step in the CI pipeline.

It addresses an issue where jscpd floating versions resulted in breaking changes when v5 was released, causing the CI pipeline to fail due to unrecognized arguments and missing architecture dependencies. It also resolves false positive duplication alerts triggered by build artifacts.

Changes:

  • Pinned jscpd to 4.0.0 in the GitHub Actions workflow.
  • Included **/dist/** and **/build/** in the ignored files pattern for jscpd.
  • Created the required cycle output report CYCLE_8_REPORT.md.

PR created automatically by Jules for task 17492114568717436374 started by @NITISH-R-G

…ecks

- Pinned `jscpd` version to `4.0.0` in `.github/workflows/code-quality.yml` to prevent failures caused by upstream v5 API changes.
- Added `**/dist/**` and `**/build/**` to the `--ignore` pattern for `jscpd` to prevent false positive code duplication reports from generated artifacts.
- Created `CYCLE_8_REPORT.md` documenting the CI reliability improvements.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@sourcery-ai sourcery-ai Bot 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.

Sorry @NITISH-R-G, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@greptile-apps greptile-apps Bot 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.

NITISH-R-G has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.

@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: c8e86675-4092-4f1d-9193-44315b1b1c18

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci-fix-jscpd-duplication-check-17492114568717436374

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Failed to generate code suggestions for PR

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