Conversation
There was a problem hiding this comment.
Pull request overview
This PR appears to prepare the repo for an “alpha 23” cycle by adding a new UI-oriented string helper and optimizing mutation-testing workflows (incremental cache + a “fresh” mode for releases).
Changes:
- Add a new
injectWordBreaksstring helper (plus unit tests, property tests, examples, and benchmarks). - Update Stryker configuration and scripts to support incremental mutation runs locally while enforcing
--forceruns in the release workflow. - Adjust
cleanPathproperty-based test expectations to match the actual regex behavior around protocol/leading slashes.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
stryker.config.mjs |
Enables incremental mutation runs + disables per-mutant TS type checks. |
package.json |
Adds mutation:fresh script used by release workflow. |
helpers/url/cleanPath.spec.ts |
Refines property assertion to ignore protocol and leading slashes. |
helpers/string/injectWordBreaks.ts |
New helper to inject ZWS break opportunities while protecting URLs/emails/HTML and atomic numbers. |
helpers/string/injectWordBreaks.test.ts |
Unit tests validating examples and edge cases. |
helpers/string/injectWordBreaks.spec.ts |
Property-based and contract tests for invariants. |
helpers/string/injectWordBreaks.example.ts |
Examples used by the examples pipeline. |
helpers/string/injectWordBreaks.bench.ts |
Benchmarks for common/stress inputs. |
.gitignore |
Attempts to allow tracking Stryker incremental cache file under /reports. |
.github/workflows/release.yml |
Uses mutation:fresh and uploads/downloads incremental cache; attempts to commit it during release. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- change mutation command to use fresh option - add upload and download steps for incremental mutation reports - enable incremental testing in Stryker configuration
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 7 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Please include a summary of what this PR does and why it's needed.
Type of Change
Related Issues
Closes #(issue number)
How Has This Been Tested?
Describe the tests you ran and how to reproduce them:
Checklist
Screenshots (if applicable)
Add screenshots for UI changes.
Additional Context
Add any other context about the PR here.