Skip to content

For alpha 11#35

Merged
baxyz merged 15 commits intomainfrom
for-alpha-11
Apr 13, 2026
Merged

For alpha 11#35
baxyz merged 15 commits intomainfrom
for-alpha-11

Conversation

@baxyz
Copy link
Copy Markdown
Contributor

@baxyz baxyz commented Apr 13, 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 13, 2026 19:02
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 adds several new utility helpers (array/object/number/type) with tests and examples, and integrates Stryker mutation testing reporting with the Stryker Dashboard (including a README badge and CI env wiring).

Changes:

  • Add new helpers: compact, sum, pick, omit, isNullish (each with Vitest tests and example metadata files).
  • Enable Stryker Dashboard reporting (Stryker config + CI secret env var + README badge update).

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
stryker.config.mjs Adds Stryker Dashboard reporter/config for mutation reporting.
helpers/type/isNullish.ts Introduces isNullish type guard helper.
helpers/type/isNullish.test.ts Adds Vitest coverage for isNullish.
helpers/type/isNullish.example.ts Adds example metadata for isNullish.
helpers/object/pick.ts Introduces pick object helper.
helpers/object/pick.test.ts Adds Vitest coverage for pick.
helpers/object/pick.example.ts Adds example metadata for pick.
helpers/object/omit.ts Introduces omit object helper.
helpers/object/omit.test.ts Adds Vitest coverage for omit.
helpers/object/omit.example.ts Adds example metadata for omit.
helpers/number/sum.ts Introduces sum number helper.
helpers/number/sum.test.ts Adds Vitest coverage for sum.
helpers/number/sum.example.ts Adds example metadata for sum.
helpers/array/compact.ts Introduces compact array helper.
helpers/array/compact.test.ts Adds Vitest coverage for compact.
helpers/array/compact.example.ts Adds example metadata for compact.
README.md Updates mutation score badge to link to Stryker Dashboard endpoint.
.github/workflows/pr-validation.yml Passes Stryker Dashboard API key into the mutation job environment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread helpers/object/pick.ts Outdated
Comment thread .github/workflows/pr-validation.yml
Comment thread README.md
Comment thread stryker.config.mjs Outdated
Comment thread stryker.config.mjs Outdated
Comment thread helpers/array/compact.ts Outdated
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 13, 2026

✅ PR Validation Passed

All checks passed and coverage target reached!


📋 Pipeline Status

Job Status
🔢 Version passing
🏗️ Build passing
🧪 Tests passing
📝 Lint passing
📘 TypeCheck passing
🔐 Security Audit passing
🧾 Conventional Commits passing
🔗 Coherency passing

📊 Code Coverage

Overall Coverage: 100.0% — Target reached! 🎯

Metric Progress Coverage
Lines ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100%
Branches ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100%
Functions ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100%
Statements ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100%

🧬 Mutation Testing

🟢 Mutation Score: 91.27% — excellent

Metric Progress Score
🟢 Mutation Score ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░ 91.27%

🧬 Mutation testing is informational only and does not block the PR

📊 View full mutation report on Stryker Dashboard


ℹ️ About this report
  • 🎯 Coverage Target: 100% for all metrics
  • 🧬 Mutation Testing: powered by Stryker (non-blocking)
  • 🔄 This comment updates automatically with each push
  • 📈 Coverage is measured using Vitest + v8

🤖 Generated by @helpers4 CI • 2026-04-13

baxyz added 8 commits April 13, 2026 19:16
- remove isDefinedAndNotNull implementation and tests
- update returnOrThrowError to use isNotNullish
- add examples and tests for isNotNullish
- implement isFalsy function to check falsy values
- create examples for isFalsy usage
- update compact helper to use isFalsy
- change import path for isNullish in removeUndefinedNull
- change import path for isObject in errorToReadableMessage
refactor(array): ♻️ update import path for isArray in equals
chore: 🔧 reorder radashi dependency in package.json and pnpm-lock.yaml
@baxyz baxyz merged commit 85683de into main Apr 13, 2026
13 checks passed
@baxyz baxyz deleted the for-alpha-11 branch April 13, 2026 20: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.

2 participants