OU
[codex] add cron utility tests
outerbase/starbasedb#186

Summary

/claim #71

Adds focused Vitest coverage for the cron plugin utility helpers:

  • verifies valid cron expressions can be parsed
  • verifies invalid cron expressions throw
  • verifies next execution time calculation for a same-day schedule
  • verifies next execution time rolls over to the following day after the scheduled time has passed

Validation

  • pnpm exec vitest run plugins/cron/utils.test.ts

Notes

I also ran the full test suite locally with npx vitest run. The new cron tests passed, but the full suite currently has unrelated pre-existing failures in src/rls/index.test.ts where RLS policy injection expectations receive unchanged SQL.

Claim

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

Contributors

TR

treydoe1

@treydoe1

100%

Sponsors

OU

Outerbase (YC W23)

@outerbase

$250