Skip to content

test(coverage): enforce per-file coverage thresholds for critical Stellar modules (#1003) - #1135

Open
yodakkak wants to merge 1 commit into
Nanle-code:masterfrom
yodakkak:test/per-file-coverage-thresholds-1003
Open

yodakkak wants to merge 1 commit into
Nanle-code:masterfrom
yodakkak:test/per-file-coverage-thresholds-1003

Conversation

@yodakkak

Copy link
Copy Markdown

Closes #1003

Summary

  • Configured criticalPatterns in �itest.config.js with >=90% lines and branches thresholds for src/lib/stellar*, src/lib/transactionBuilder.ts, src/lib/wallet/**, and src/lib/multisig*.
  • Updated scripts/check-coverage.mjs with matchesCriticalPattern, evaluateCoverageSummary, and ormatCoverageMarkdownSummary to report per-file failures to $GITHUB_STEP_SUMMARY.
  • Added unit tests in ests/unit/scripts/check-coverage.test.js covering primary, boundary (90%), and failure (<90%) cases.

Payout Wallet (Stellar / USDC): GD3TVG3SLNQMK7VS7772FZPNM5LTH24NR5NSWMURN2CXEJUDA4V2XONU
EVM Wallet: 0x59622Fe8f9b438eF1CD5dB4e91f1230fe6239AC9

…llar modules (Nanle-code#1003)

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Oct 16, 2026

Copy link
Copy Markdown

@yodakkak is attempting to deploy a commit to the nanle-code's projects Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
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.

[2026 Testing] Enforce per-file coverage thresholds for critical Stellar and signing modules

1 participant