Skip to content

[EPIC] Logic Operator v2.0 - Implementation Roadmap #16

Description

@ricardozanini

Logic Operator v2.0 - Implementation Roadmap

Migration Strategy: Clean Slate - New Operator
Design: Approved 2026-06-22

Overview

This issue tracks the overall v2.0 implementation across 13 EPICs organized in 6 phases.

EPICs by Phase

Phase 0: Cleanup (1-2 weeks)

Phase 1: Core CRDs & Controllers

Phase 2: Data Index Integration

Phase 3: Versioning & Traffic

Phase 4: Advanced Features

Phase 5: Production Readiness

Architecture Changes

New CRDs (v1)

  • LogicPlatform - Data Index infrastructure management
  • LogicFlowRuntime - Quarkus Flow Runner deployments
  • LogicFlowDefinition - Immutable workflow definitions (versions)
  • LogicFlowService - Service endpoints, traffic routing

Removed Components

  • Jobs Service (removed)
  • Container Builder (removed)
  • Workflow Project Handler (removed)
  • SonataFlow v1alpha08 CRDs (removed)
  • Dev mode support (removed)

New Components

  • Quarkus Flow Runner integration
  • Data Index MODE1 (FluentBit + PostgreSQL + GraphQL)
  • Multi-version workflow support
  • Traffic splitting (Ingress canary)
  • Centralized Data Index (multi-tenant)

Key Design Decisions

  1. Runtime Model Shift: From per-workflow containers to shared runners
  2. Specification Support: Only SW DSL v1.0.0 (drop v0.8)
  3. Metadata-Driven: Workflow name from annotations, not CR name
  4. Immutable Versions: LogicFlowDefinition is production-ready at creation
  5. Dual-Mode Data Index: Local (per-namespace) or Centralized (multi-tenant)
  6. Lease-Based Durability: Kubernetes Leases for stable workflow identity

Success Criteria

  • All CRDs defined and documented
  • Controllers reconcile successfully
  • Data Index integration working
  • Multi-version workflows supported
  • E2E tests passing in CI
  • Migration guide available
  • Production-ready (security, observability, OLM)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions