Skip to content

New plugins get core's mutation tests: Stryker checks that the tests catch changes, and opens issues - #17

Merged
Amartuvshins0404 merged 1 commit into
mainfrom
mutation-tests
Nov 17, 2026
Merged

Amartuvshins0404 merged 1 commit into
mainfrom
mutation-tests

Conversation

@Amartuvshins0404

@Amartuvshins0404 Amartuvshins0404 commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Adds core's mutation testing caller (erxes/erxes#10698) to the new-core template, the same file as packages/create-erxes/templates/base/.github/workflows/mutation.yml. Give each new plugin its own cron time, as its comment says.

Summary by Sourcery

Add shared mutation testing coverage to the core plugin template so new plugins automatically verify that their tests detect code changes.

New Features:

  • Add scheduled and pull-request mutation testing to the core plugin template, with results reported through comments and issues.

Enhancements:

  • Configure per-plugin scheduling, concurrency, and source exclusions for shared mutation testing.

CI:

  • Run the shared mutation testing workflow for API and UI TypeScript code in new plugins.

@sourcery-ai

sourcery-ai Bot commented Nov 17, 2026

Copy link
Copy Markdown

Sorry @Amartuvshins0404, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 3 days and 17 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@coderabbitai

coderabbitai Bot commented Nov 17, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6c0efe89-b66b-41ee-bd6e-5c73f39e9b23
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@sourcery-ai

sourcery-ai Bot commented Nov 17, 2026

Copy link
Copy Markdown

Reviewer's Guide

Configuration

Add the template’s mutation-testing workflow, including its reusable core workflow call, mutation targets, and scheduled runs.

  • templates/core/base/.github/workflows/mutation.yml L1-45

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@Amartuvshins0404

Copy link
Copy Markdown
Contributor Author

Not merged yet: deliverables / external-project (core-pnpm) fails on a type error in the template's table columns (ColumnDef vs RecordTableColumnDef). It comes from core's record-table change in erxes/erxes 51c21cb217 (2026-11-16), not from this PR, which only adds a workflow file. Any PR here fails the same way until the template follows that change.

@Amartuvshins0404
Amartuvshins0404 merged commit 749b6d1 into main Nov 17, 2026
18 of 19 checks passed
@Amartuvshins0404
Amartuvshins0404 deleted the mutation-tests branch November 17, 2026 23:03
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