OU
test: cover handler request edges
outerbase/starbasedb#156

/claim #71

Summary

  • Add focused tests for handler request validation, pre-auth plugin routing, the external source guard, transaction params, and cache cleanup logging.
  • Keep production code unchanged.

Demo video

Verification

  • pnpm exec vitest run src/handler.test.ts
  • pnpm exec vitest run src/handler.test.ts –coverage –coverage.include=src/handler.ts –coverage.thresholds.lines=0 –coverage.thresholds.branches=0 –coverage.thresholds.functions=0 –coverage.thresholds.statements=0
  • pnpm exec prettier –check src/handler.test.ts
  • git diff –check

Note

  • Full current-main coverage run still hits the existing RLS expectation failures in src/rls/index.test.ts; this PR only changes handler tests and the focused handler verification passes locally.

Claim

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

Contributors

JO

joshpi-1345

@joshpi-1345

100%

Sponsors

OU

Outerbase (YC W23)

@outerbase

$250