elsa-core/specs/011-persistence-vnext/tasks.md
Sipke Schoorstra c16995014c
Add Persistence vNext provider-neutral POC
Adds the Persistence vNext proof of concept, including provider-neutral schema/document abstractions, relational and document provider POCs, Elsa integration, runtime-defined entities, physicalization planning, workflow runtime evaluation, and focused tests.
2026-06-02 21:05:21 +02:00

3.2 KiB

Persistence vNext Tasks

S1 - Core Manifest And Planner Foundations

  • T001 Add provider-neutral storage descriptors.
  • T002 Add relational planner and SQLite renderer.
  • T003 Add SQL Server renderer.
  • T004 Add document planner.
  • T005 Add SQLite schema history/version runner.
  • T006 Add Secrets sample manifest.
  • T007 Add focused tests for relational, document, and version runner behavior.
  • T008 Open/update PR for S1.
  • T009 Run self-review loop for S1.
  • T010 Merge S1 PR when no big issues remain.
  • T011 Close/complete associated S1 issue after merge.

S2 - Portable SQLite Document Store MVP

  • T012 Define document envelope and store contracts.
  • T013 Add SQLite document table materialization.
  • T014 Implement save/load/delete.
  • T015 Implement generic field index storage.
  • T016 Implement index maintenance in the same transaction.
  • T017 Implement query by declared indexes.
  • T018 Add optimistic concurrency.
  • T019 Add unindexed-query validation.
  • T020 Add SQLite document store tests.
  • T021 Open/review/merge S2 PR and close associated issue.

S3 - SQL Server And PostgreSQL Relational Document Providers

  • T022 Implement SQL Server document provider.
  • T023 Implement PostgreSQL document provider.
  • T024 Add startup locking/materialization strategy.
  • T025 Add relational provider contract tests.
  • T026 Open/review/merge S3 PR and close associated issue.

S4 - MongoDB Document Provider

  • T027 Implement MongoDB document provider.
  • T028 Materialize native collections and indexes.
  • T029 Implement indexed query translation.
  • T030 Add optimistic concurrency.
  • T031 Add MongoDB provider contract tests.
  • T032 Open/review/merge S4 PR and close associated issue.

S5 - Elsa Integration And First Module Migration

  • T033 Add Elsa vNext persistence integration package.
  • T034 Add shell feature/options/startup materialization.
  • T035 Add diagnostics for applied manifests and provider status.
  • T036 Implement Secrets vNext store.
  • T037 Add migration/import path from existing EF Core store if required.
  • T038 Open/review/merge S5 PR and close associated issue.

S6 - Runtime-Defined Entities

  • T039 Define runtime entity definition model.
  • T040 Add draft/published/retired lifecycle.
  • T041 Add validation and capability checks.
  • T042 Add CRUD/API integration.
  • T043 Add audit trail.
  • T044 Open/review/merge S6 PR and close associated issue.

S7 - Physicalization And Performance

  • T045 Add storage policy model.
  • T046 Implement optimized relational indexes for one provider.
  • T047 Implement native document-provider optimization for one provider.
  • T048 Add benchmarks.
  • T049 Open/review/merge S7 PR and close associated issue.

S8 - Workflow Runtime Evaluation And Hardening

  • T050 Benchmark runtime persistence candidates.
  • T051 Validate concurrency, locking, and retry behavior.
  • T052 Add provider diagnostics and recovery guidance.
  • T053 Document go/no-go decision for workflow runtime stores.
  • T054 Open/review/merge S8 PR and close associated issue.