Skip to content

For alpha 23#61

Merged
baxyz merged 2 commits intomainfrom
for-alpha-23
Apr 27, 2026
Merged

For alpha 23#61
baxyz merged 2 commits intomainfrom
for-alpha-23

Conversation

@baxyz
Copy link
Copy Markdown
Contributor

@baxyz baxyz commented Apr 27, 2026

Description

Please include a summary of what this PR does and why it's needed.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring
  • Test improvement

Related Issues

Closes #(issue number)

How Has This Been Tested?

Describe the tests you ran and how to reproduce them:

  • Test A
  • Test B

Checklist

  • My code follows the code style of this project
  • I have updated the documentation accordingly
  • I have added tests for my changes
  • All new and existing tests passed locally
  • My commits follow the conventional commit format

Screenshots (if applicable)

Add screenshots for UI changes.

Additional Context

Add any other context about the PR here.

Copilot AI review requested due to automatic review settings April 27, 2026 19:47
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 injectWordBreaks string helper (plus unit tests, property tests, examples, and benchmarks).
  • Update Stryker configuration and scripts to support incremental mutation runs locally while enforcing --force runs in the release workflow.
  • Adjust cleanPath property-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.

Comment thread .github/workflows/release.yml
- change mutation command to use fresh option
- add upload and download steps for incremental mutation reports
- enable incremental testing in Stryker configuration
@baxyz baxyz requested a review from Copilot April 27, 2026 20:42
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@baxyz baxyz merged commit 28b2eb2 into main Apr 27, 2026
19 checks passed
@baxyz baxyz deleted the for-alpha-23 branch April 27, 2026 21:26
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.

2 participants