Summary

  • Add focused Vitest coverage for malformed JSON import payload shapes.
  • Cover application/json requests where data is missing, null, or an object instead of an array.
  • Assert the existing 400 validation response is returned and executeOperation is not called.

Bounty / Claim

/claim #71

This is a small test-only coverage slice for #71, separate from the active JSON import multipart upload / column mapping PR.

Verification

  • ./node_modules/.bin/vitest run src/import/json.test.ts -> 7 tests passed
  • ./node_modules/.bin/prettier --check src/import/json.test.ts -> passed
  • git diff --check -> passed
  • Hidden non-ASCII and CRLF checks on src/import/json.test.ts -> no matches

Notes

  • No production behavior changes.
  • No paid API required.
  • No secrets required.
  • Local verification included.

Claim

Total prize pool $250
Total paid $0
Status Pending
Submitted May 14, 2026
Last updated May 14, 2026

Contributors

DU

duct-tape2

@duct-tape2

100%

Sponsors

OU

Outerbase (YC W23)

@outerbase

$250