Skip to content

redesign: complete refactor#17

Open
mping wants to merge 84 commits intomainfrom
next-js
Open

redesign: complete refactor#17
mping wants to merge 84 commits intomainfrom
next-js

Conversation

@mping
Copy link
Owner

@mping mping commented Feb 23, 2026

Rewrite intemporal with ClojureScript support and improved architecture

This is a complete redesign of intemporal (v2), preserving the old
implementation in src2/ for reference.

Key changes:

API redesign:

  • New intemporal.core namespace with simplified API
  • stub, stub-protocol, start-workflow, resume-workflow
  • make-workflow-engine and with-workflow-engine for lifecycle management
  • Removed defn-workflow macro in favor of regular functions
  • Use suspension mechanism instead of deferreds/promises

Architecture improvements:

  • Modular internal/ structure (context, execution, runtime, activity, error)
  • Clean protocol-based abstractions (IStore, IActivityExecutor, IScheduler)
  • Observer pattern for monitoring and OpenTelemetry tracing
  • Platform-specific execution engines for JVM and JavaScript

The old implementation is preserved in src2/ for backward compatibility
during migration.

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