Skip to content

test: add cron plugin coverage#212

Open
sureshchouksey8 wants to merge 1 commit into
outerbase:mainfrom
sureshchouksey8:bounty/outerbase-cron-plugin-tests
Open

test: add cron plugin coverage#212
sureshchouksey8 wants to merge 1 commit into
outerbase:mainfrom
sureshchouksey8:bounty/outerbase-cron-plugin-tests

Conversation

@sureshchouksey8
Copy link
Copy Markdown

@sureshchouksey8 sureshchouksey8 commented May 14, 2026

/claim #71

Purpose

Adds focused Vitest coverage for the cron plugin slice from #71.

Tasks

  • Cover cron utility parsing and next execution calculation.
  • Cover CronPlugin middleware table initialization and callback route registration.
  • Cover no-task alarm behavior and earliest same-time task activation.
  • Cover addEvent payload insertion/rescheduling and async callback waitUntil behavior.

Verify

  • npx pnpm@9.15.4 vitest run plugins/cron/index.test.ts passes locally.
  • npx pnpm@9.15.4 exec prettier --write plugins/cron/index.test.ts completed with no changes after formatting.
  • git diff --check passes locally.

Note: full vitest run currently has unrelated existing RLS test failures in src/rls/index.test.ts; the new cron test passes in that run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant