Skip to content

feat(ff-ingest): add Inngest integration for Effect#58

Merged
fdarian merged 17 commits intomainfrom
ff-69-inngest-integration
Feb 26, 2026
Merged

feat(ff-ingest): add Inngest integration for Effect#58
fdarian merged 17 commits intomainfrom
ff-69-inngest-integration

Conversation

@fdarian
Copy link
Copy Markdown
Owner

@fdarian fdarian commented Feb 26, 2026

Summary

  • Add Inngest SDK support to ff-effect with type-safe Effect wrappers
  • Provide utilities for inngest.createFunction and step execution
  • Include comprehensive documentation and test coverage
  • Add inngest as optional peer dependency

Test plan

  • Tests added for Inngest integration (index.test.ts)
  • Cron expression utilities implemented and tested
  • Step execution wrapper implemented and tested
  • Documentation added with usage examples
  • Build configuration updated for new package exports

@fdarian fdarian changed the title Add Inngest integration for Effect feat(ff-ingest): add Inngest integration for Effect Feb 26, 2026
Add inngest ^3 as optional peer dep and dev dep for ff-effect,
and add it to tsup externals.
Implements createInngest builder with:
- Effect-wrapped step methods (run, sleep, sleepUntil, invoke, waitForEvent, sendEvent)
- Effect Cron.Cron to inngest cron string conversion
- createFunction with extract() for capturing Effect runtime context
- httpHandler using inngest/bun serve
- send() for Effect-wrapped event sending
- Context.Tag and Layer for dependency injection
Tests for cronToString, wrapStep, and createInngest builder
including event schema type flow verification.
httpHandler now returns an @effect/platform HttpApp.Default via
HttpApp.fromWebHandler. fetchHandler retains the raw fetch handler
for direct Bun.serve usage.
@fdarian fdarian force-pushed the ff-69-inngest-integration branch from 3765315 to 1f92623 Compare February 26, 2026 04:51
@fdarian fdarian merged commit b848661 into main Feb 26, 2026
3 checks passed
@fdarian fdarian deleted the ff-69-inngest-integration branch February 26, 2026 05:27
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