Skip to content

test: improve critical workflow coverage - #41

Merged
nkavian merged 1 commit into
mainfrom
test/improve-critical-coverage
Jul 20, 2026
Merged

test: improve critical workflow coverage#41
nkavian merged 1 commit into
mainfrom
test/improve-critical-coverage

Conversation

@nkavian

@nkavian nkavian commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • cover secure-storage backend failures, corrupt manifests, transactions, rollback, and file-permission enforcement
  • cover MPP and x402 completion failures, timeouts, credential validation, and seller replay errors
  • cover AEP-blocked MPP/x402 Inspect views and structured output
  • make the AEP approval timeout test deterministic under full-suite concurrency

Coverage

  • Core lines: 92.45% -> 95.08%
  • Core branches: 85.76% -> 87.69%
  • CLI lines: 91.14% -> 91.72%
  • CLI branches: 80.36% -> 80.66%
  • secure-storage lines: 94.35%
  • shared payment-fetch helper: 100% statements, branches, functions, and lines
  • MPP and x402 Inspect views: 100% lines

Verification

  • pnpm format
  • pnpm format:check
  • pnpm typecheck
  • pnpm lint
  • pnpm test (Core 512/512; CLI 594 passed, 2 skipped)
  • pnpm typedoc
  • pnpm build
  • git diff --check

@nkavian
nkavian force-pushed the test/improve-critical-coverage branch from 37c2146 to d216e08 Compare July 20, 2026 04:30
@codecov

codecov Bot commented Jul 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@nkavian
nkavian merged commit 89e426f into main Jul 20, 2026
2 checks passed
@nkavian
nkavian deleted the test/improve-critical-coverage branch July 20, 2026 04:34
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