@dtlabs/ai-toolkit 0.16.8 → 0.16.9
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/CHANGELOG.md +8 -0
- package/lib/task-executor/index.js +11 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
## 0.1.4 (2026-07-21)
|
|
2
|
+
## [0.16.9](https://github.com/dtlab-tech/ai-toolkit/compare/v0.16.8...v0.16.9) (2026-10-07)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **task-executor:** let "skipped" satisfy a downstream dependency ([f00d3c6](https://github.com/dtlab-tech/ai-toolkit/commit/f00d3c68324c0ca7f1d8f965b15288027830fd01))
|
|
8
|
+
* **task-executor:** let "skipped" satisfy a downstream dependency ([6b48a61](https://github.com/dtlab-tech/ai-toolkit/commit/6b48a619e64f497b9b93e4a1a0254105eda1b718))
|
|
9
|
+
|
|
2
10
|
## [0.16.8](https://github.com/dtlab-tech/ai-toolkit/compare/v0.16.7...v0.16.8) (2026-10-07)
|
|
3
11
|
|
|
4
12
|
|
|
@@ -2877,7 +2877,17 @@ async function execute(args) {
|
|
|
2877
2877
|
if (t.status !== 'pending') return false;
|
|
2878
2878
|
return t.dependencies.every(function (depId) {
|
|
2879
2879
|
const dep = state.tasks[depId];
|
|
2880
|
-
|
|
2880
|
+
// 'skipped' must satisfy a dependency exactly like 'checkpointed'/
|
|
2881
|
+
// 'integrated' do — it is already treated as terminal success by
|
|
2882
|
+
// both the nonTerminalIds filter just above and the allTerminalSuccess
|
|
2883
|
+
// check below (and by reconcile's _classifyTask). Omitting it here
|
|
2884
|
+
// left any task depending on a 'skipped' one stuck 'pending' forever,
|
|
2885
|
+
// even though the rest of this run correctly treated 'skipped' as a
|
|
2886
|
+
// completed, successful outcome — confirmed against a real run: both
|
|
2887
|
+
// tasks that reached 'skipped' (the Bug 4 no-op-checkpoint fix) had
|
|
2888
|
+
// downstream dependents that never got scheduled, blocking the
|
|
2889
|
+
// entire remaining 64-task run.
|
|
2890
|
+
return dep && (dep.status === 'checkpointed' || dep.status === 'integrated' || dep.status === 'skipped');
|
|
2881
2891
|
});
|
|
2882
2892
|
});
|
|
2883
2893
|
|