@go-to-k/cdkd 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -78,7 +78,7 @@ Reproduce with `./tests/benchmark/run-benchmark.sh all`. See [tests/benchmark/RE
78
78
  │ cdkd Engine │
79
79
  │ - DAG Analysis │ Dependency graph construction
80
80
  │ - Diff Calc │ Compare with existing resources
81
- │ - Parallel Exec │ Deploy by levels
81
+ │ - Parallel Exec │ Event-driven dispatch
82
82
  └────────┬────────┘
83
83
 
84
84
  ┌────┴────┐
@@ -134,10 +134,11 @@ Reproduce with `./tests/benchmark/run-benchmark.sh all`. See [tests/benchmark/RE
134
134
  │ ├── Build DAG from template (Ref/Fn::GetAtt/DependsOn)
135
135
  │ ├── Calculate diff (CREATE/UPDATE/DELETE)
136
136
  │ ├── Resolve intrinsic functions (Ref, Fn::Sub, Fn::Join, etc.)
137
- │ ├── Execute by levels (parallel within each level):
137
+ │ ├── Execute via event-driven DAG dispatch (a resource starts as
138
+ │ │ soon as ALL of its own deps complete; no level barrier):
138
139
  │ │ ├── SDK Providers (direct API calls, preferred)
139
140
  │ │ └── Cloud Control API (fallback, async polling)
140
- │ ├── Save state after each level (partial state save)
141
+ │ ├── Save state after each successful resource (partial state save)
141
142
  │ └── Release lock
142
143
  └── synth does NOT publish assets or deploy (deploy only)
143
144
  ```
@@ -459,7 +460,7 @@ LambdaStack
459
460
  ✓ Deployed LambdaStack (4 resources, 7.2s)
460
461
  ```
461
462
 
462
- Resources without dependencies (ServiceRole and Table) are created in parallel.
463
+ Resources are dispatched as soon as their own dependencies complete (event-driven DAG). ServiceRole and Table run in parallel; DefaultPolicy starts the moment ServiceRole is done — without waiting for Table — and Handler starts the moment DefaultPolicy is done.
463
464
 
464
465
  ## Architecture
465
466