@calmo/task-runner 3.4.0 → 3.4.1
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/.github/dependabot.yml +7 -7
- package/.github/workflows/ci.yml +4 -4
- package/.jules/backlog_maniac.md +1 -0
- package/.jules/nexus.md +1 -0
- package/.jules/sentinel.md +1 -0
- package/.releaserc.json +2 -7
- package/AGENTS.md +8 -2
- package/CHANGELOG.md +178 -174
- package/README.md +23 -23
- package/coverage/coverage-final.json +8 -8
- package/coverage/index.html +7 -7
- package/coverage/lcov-report/index.html +7 -7
- package/coverage/lcov-report/src/EventBus.ts.html +27 -21
- package/coverage/lcov-report/src/TaskGraphValidationError.ts.html +12 -3
- package/coverage/lcov-report/src/TaskGraphValidator.ts.html +152 -137
- package/coverage/lcov-report/src/TaskRunner.ts.html +48 -45
- package/coverage/lcov-report/src/TaskRunnerBuilder.ts.html +29 -5
- package/coverage/lcov-report/src/TaskRunnerExecutionConfig.ts.html +1 -1
- package/coverage/lcov-report/src/TaskStateManager.ts.html +1 -1
- package/coverage/lcov-report/src/WorkflowExecutor.ts.html +21 -12
- package/coverage/lcov-report/src/contracts/RunnerEvents.ts.html +1 -1
- package/coverage/lcov-report/src/contracts/index.html +1 -1
- package/coverage/lcov-report/src/index.html +8 -8
- package/coverage/lcov-report/src/strategies/DryRunExecutionStrategy.ts.html +4 -4
- package/coverage/lcov-report/src/strategies/RetryingExecutionStrategy.ts.html +29 -11
- package/coverage/lcov-report/src/strategies/StandardExecutionStrategy.ts.html +5 -5
- package/coverage/lcov-report/src/strategies/index.html +1 -1
- package/coverage/lcov.info +266 -262
- package/coverage/src/EventBus.ts.html +27 -21
- package/coverage/src/TaskGraphValidationError.ts.html +12 -3
- package/coverage/src/TaskGraphValidator.ts.html +152 -137
- package/coverage/src/TaskRunner.ts.html +48 -45
- package/coverage/src/TaskRunnerBuilder.ts.html +29 -5
- package/coverage/src/TaskRunnerExecutionConfig.ts.html +1 -1
- package/coverage/src/TaskStateManager.ts.html +1 -1
- package/coverage/src/WorkflowExecutor.ts.html +21 -12
- package/coverage/src/contracts/RunnerEvents.ts.html +1 -1
- package/coverage/src/contracts/index.html +1 -1
- package/coverage/src/index.html +8 -8
- package/coverage/src/strategies/DryRunExecutionStrategy.ts.html +4 -4
- package/coverage/src/strategies/RetryingExecutionStrategy.ts.html +29 -11
- package/coverage/src/strategies/StandardExecutionStrategy.ts.html +5 -5
- package/coverage/src/strategies/index.html +1 -1
- package/dist/EventBus.js +13 -11
- package/dist/EventBus.js.map +1 -1
- package/dist/TaskGraphValidationError.js.map +1 -1
- package/dist/TaskGraphValidator.js +9 -9
- package/dist/TaskGraphValidator.js.map +1 -1
- package/dist/TaskRunner.js.map +1 -1
- package/dist/TaskRunnerBuilder.js.map +1 -1
- package/dist/WorkflowExecutor.js +2 -1
- package/dist/WorkflowExecutor.js.map +1 -1
- package/dist/strategies/RetryingExecutionStrategy.js +3 -1
- package/dist/strategies/RetryingExecutionStrategy.js.map +1 -1
- package/dist/strategies/StandardExecutionStrategy.js +1 -1
- package/dist/strategies/StandardExecutionStrategy.js.map +1 -1
- package/openspec/AGENTS.md +81 -15
- package/openspec/changes/archive/2026-01-18-add-concurrency-control/proposal.md +7 -4
- package/openspec/changes/archive/2026-01-18-add-concurrency-control/tasks.md +1 -0
- package/openspec/changes/archive/2026-01-18-add-external-task-cancellation/proposal.md +4 -1
- package/openspec/changes/archive/2026-01-18-add-external-task-cancellation/tasks.md +2 -1
- package/openspec/changes/archive/2026-01-18-add-integration-tests/proposal.md +3 -0
- package/openspec/changes/archive/2026-01-18-add-integration-tests/tasks.md +1 -0
- package/openspec/changes/archive/2026-01-18-add-task-retry-policy/proposal.md +3 -0
- package/openspec/changes/archive/2026-01-18-add-task-retry-policy/tasks.md +1 -0
- package/openspec/changes/archive/2026-01-18-add-workflow-preview/proposal.md +3 -0
- package/openspec/changes/archive/2026-01-18-add-workflow-preview/tasks.md +1 -0
- package/openspec/changes/archive/2026-01-18-refactor-core-architecture/proposal.md +3 -0
- package/openspec/changes/archive/2026-01-18-refactor-core-architecture/tasks.md +1 -0
- package/openspec/changes/feat-per-task-timeout/proposal.md +11 -6
- package/openspec/changes/feat-per-task-timeout/tasks.md +1 -1
- package/openspec/project.md +21 -15
- package/package.json +1 -1
- package/src/EventBus.ts +18 -16
- package/src/TaskGraph.ts +8 -8
- package/src/TaskGraphValidationError.ts +4 -1
- package/src/TaskGraphValidator.ts +148 -143
- package/src/TaskRunner.ts +42 -41
- package/src/TaskRunnerBuilder.ts +11 -3
- package/src/WorkflowExecutor.ts +13 -10
- package/src/contracts/ITaskGraphValidator.ts +12 -12
- package/src/contracts/ValidationError.ts +6 -6
- package/src/contracts/ValidationResult.ts +4 -4
- package/src/strategies/DryRunExecutionStrategy.ts +3 -3
- package/src/strategies/RetryingExecutionStrategy.ts +15 -9
- package/src/strategies/StandardExecutionStrategy.ts +4 -4
- package/test-report.xml +108 -108
package/test-report.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
|
-
<testsuites name="vitest tests" tests="87" failures="0" errors="0" time="1.
|
|
3
|
-
<testsuite name="tests/ComplexScenario.test.ts" timestamp="2026-01-
|
|
4
|
-
<testcase classname="tests/ComplexScenario.test.ts" name="Complex Scenario Integration Tests > 1. All steps execute when all succeed and context is hydrated" time="0.
|
|
2
|
+
<testsuites name="vitest tests" tests="87" failures="0" errors="0" time="1.155703161">
|
|
3
|
+
<testsuite name="tests/ComplexScenario.test.ts" timestamp="2026-01-18T21:02:31.350Z" hostname="runnervmmtnos" tests="2" failures="0" errors="0" skipped="0" time="0.01253555">
|
|
4
|
+
<testcase classname="tests/ComplexScenario.test.ts" name="Complex Scenario Integration Tests > 1. All steps execute when all succeed and context is hydrated" time="0.008046539">
|
|
5
5
|
<system-out>
|
|
6
6
|
Running StepA
|
|
7
7
|
Running StepB
|
|
@@ -15,215 +15,215 @@ Running StepG
|
|
|
15
15
|
|
|
16
16
|
</system-out>
|
|
17
17
|
</testcase>
|
|
18
|
-
<testcase classname="tests/ComplexScenario.test.ts" name="Complex Scenario Integration Tests > 2. The 'skip' propagation works as intended if something breaks up in the tree" time="0.
|
|
18
|
+
<testcase classname="tests/ComplexScenario.test.ts" name="Complex Scenario Integration Tests > 2. The 'skip' propagation works as intended if something breaks up in the tree" time="0.002100528">
|
|
19
19
|
</testcase>
|
|
20
20
|
</testsuite>
|
|
21
|
-
<testsuite name="tests/DryRunExecutionStrategy.test.ts" timestamp="2026-01-
|
|
22
|
-
<testcase classname="tests/DryRunExecutionStrategy.test.ts" name="DryRunExecutionStrategy > should return success without running the task" time="0.
|
|
21
|
+
<testsuite name="tests/DryRunExecutionStrategy.test.ts" timestamp="2026-01-18T21:02:31.351Z" hostname="runnervmmtnos" tests="1" failures="0" errors="0" skipped="0" time="0.003464986">
|
|
22
|
+
<testcase classname="tests/DryRunExecutionStrategy.test.ts" name="DryRunExecutionStrategy > should return success without running the task" time="0.001922016">
|
|
23
23
|
</testcase>
|
|
24
24
|
</testsuite>
|
|
25
|
-
<testsuite name="tests/EventBus.test.ts" timestamp="2026-01-
|
|
26
|
-
<testcase classname="tests/EventBus.test.ts" name="EventBus > should handle async listeners throwing errors without crashing" time="0.
|
|
25
|
+
<testsuite name="tests/EventBus.test.ts" timestamp="2026-01-18T21:02:31.352Z" hostname="runnervmmtnos" tests="1" failures="0" errors="0" skipped="0" time="0.019665704">
|
|
26
|
+
<testcase classname="tests/EventBus.test.ts" name="EventBus > should handle async listeners throwing errors without crashing" time="0.017612263">
|
|
27
27
|
</testcase>
|
|
28
28
|
</testsuite>
|
|
29
|
-
<testsuite name="tests/TaskGraphValidator.test.ts" timestamp="2026-01-
|
|
30
|
-
<testcase classname="tests/TaskGraphValidator.test.ts" name="TaskGraphValidator > should be instantiated" time="0.
|
|
29
|
+
<testsuite name="tests/TaskGraphValidator.test.ts" timestamp="2026-01-18T21:02:31.352Z" hostname="runnervmmtnos" tests="9" failures="0" errors="0" skipped="0" time="0.010416017">
|
|
30
|
+
<testcase classname="tests/TaskGraphValidator.test.ts" name="TaskGraphValidator > should be instantiated" time="0.001913229">
|
|
31
31
|
</testcase>
|
|
32
|
-
<testcase classname="tests/TaskGraphValidator.test.ts" name="TaskGraphValidator > should return valid result for empty graph" time="0.
|
|
32
|
+
<testcase classname="tests/TaskGraphValidator.test.ts" name="TaskGraphValidator > should return valid result for empty graph" time="0.001573767">
|
|
33
33
|
</testcase>
|
|
34
|
-
<testcase classname="tests/TaskGraphValidator.test.ts" name="TaskGraphValidator > should detect duplicate tasks" time="0.
|
|
34
|
+
<testcase classname="tests/TaskGraphValidator.test.ts" name="TaskGraphValidator > should detect duplicate tasks" time="0.001899854">
|
|
35
35
|
</testcase>
|
|
36
|
-
<testcase classname="tests/TaskGraphValidator.test.ts" name="TaskGraphValidator > should detect missing dependencies" time="0.
|
|
36
|
+
<testcase classname="tests/TaskGraphValidator.test.ts" name="TaskGraphValidator > should detect missing dependencies" time="0.00053775">
|
|
37
37
|
</testcase>
|
|
38
|
-
<testcase classname="tests/TaskGraphValidator.test.ts" name="TaskGraphValidator > should detect cycles" time="0.
|
|
38
|
+
<testcase classname="tests/TaskGraphValidator.test.ts" name="TaskGraphValidator > should detect cycles" time="0.000490382">
|
|
39
39
|
</testcase>
|
|
40
|
-
<testcase classname="tests/TaskGraphValidator.test.ts" name="TaskGraphValidator > should return valid for a correct graph" time="0.
|
|
40
|
+
<testcase classname="tests/TaskGraphValidator.test.ts" name="TaskGraphValidator > should return valid for a correct graph" time="0.000415693">
|
|
41
41
|
</testcase>
|
|
42
|
-
<testcase classname="tests/TaskGraphValidator.test.ts" name="TaskGraphValidator > should not detect cycles if missing dependencies are present" time="0.
|
|
42
|
+
<testcase classname="tests/TaskGraphValidator.test.ts" name="TaskGraphValidator > should not detect cycles if missing dependencies are present" time="0.000389525">
|
|
43
43
|
</testcase>
|
|
44
|
-
<testcase classname="tests/TaskGraphValidator.test.ts" name="TaskGraphValidator > should detect more complex cycles" time="0.
|
|
44
|
+
<testcase classname="tests/TaskGraphValidator.test.ts" name="TaskGraphValidator > should detect more complex cycles" time="0.000318833">
|
|
45
45
|
</testcase>
|
|
46
|
-
<testcase classname="tests/TaskGraphValidator.test.ts" name="TaskGraphValidator > should handle cycle detection with no cycles but shared dependencies" time="0.
|
|
46
|
+
<testcase classname="tests/TaskGraphValidator.test.ts" name="TaskGraphValidator > should handle cycle detection with no cycles but shared dependencies" time="0.000294698">
|
|
47
47
|
</testcase>
|
|
48
48
|
</testsuite>
|
|
49
|
-
<testsuite name="tests/TaskGraphValidatorDoS.test.ts" timestamp="2026-01-
|
|
50
|
-
<testcase classname="tests/TaskGraphValidatorDoS.test.ts" name="TaskGraphValidator - Deep Recursion > should handle deep graphs without stack overflow" time="0.
|
|
49
|
+
<testsuite name="tests/TaskGraphValidatorDoS.test.ts" timestamp="2026-01-18T21:02:31.354Z" hostname="runnervmmtnos" tests="1" failures="0" errors="0" skipped="0" time="0.068518191">
|
|
50
|
+
<testcase classname="tests/TaskGraphValidatorDoS.test.ts" name="TaskGraphValidator - Deep Recursion > should handle deep graphs without stack overflow" time="0.06620668">
|
|
51
51
|
</testcase>
|
|
52
52
|
</testsuite>
|
|
53
|
-
<testsuite name="tests/TaskRunner.test.ts" timestamp="2026-01-
|
|
54
|
-
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should run tasks in the correct sequential order" time="0.
|
|
53
|
+
<testsuite name="tests/TaskRunner.test.ts" timestamp="2026-01-18T21:02:31.354Z" hostname="runnervmmtnos" tests="11" failures="0" errors="0" skipped="0" time="0.113054242">
|
|
54
|
+
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should run tasks in the correct sequential order" time="0.003151804">
|
|
55
55
|
</testcase>
|
|
56
|
-
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should handle an empty list of tasks gracefully" time="0.
|
|
56
|
+
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should handle an empty list of tasks gracefully" time="0.000355822">
|
|
57
57
|
</testcase>
|
|
58
|
-
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should run independent tasks in parallel" time="0.
|
|
58
|
+
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should run independent tasks in parallel" time="0.100718754">
|
|
59
59
|
</testcase>
|
|
60
|
-
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should skip dependent tasks if a root task fails" time="0.
|
|
60
|
+
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should skip dependent tasks if a root task fails" time="0.000507604">
|
|
61
61
|
</testcase>
|
|
62
|
-
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should throw an error for 'circular dependency'" time="0.
|
|
62
|
+
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should throw an error for 'circular dependency'" time="0.002872995">
|
|
63
63
|
</testcase>
|
|
64
|
-
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should throw an error for 'missing dependency'" time="0.
|
|
64
|
+
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should throw an error for 'missing dependency'" time="0.000429098">
|
|
65
65
|
</testcase>
|
|
66
|
-
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should handle tasks that throw an error during execution" time="0.
|
|
66
|
+
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should handle tasks that throw an error during execution" time="0.000421815">
|
|
67
67
|
</testcase>
|
|
68
|
-
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should skip tasks whose dependencies are skipped" time="0.
|
|
68
|
+
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should skip tasks whose dependencies are skipped" time="0.000506892">
|
|
69
69
|
</testcase>
|
|
70
|
-
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should handle tasks that throw a non-Error object during execution" time="0.
|
|
70
|
+
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should handle tasks that throw a non-Error object during execution" time="0.000406517">
|
|
71
71
|
</testcase>
|
|
72
|
-
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should handle duplicate steps where one gets skipped due to failed dependency" time="0.
|
|
72
|
+
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should handle duplicate steps where one gets skipped due to failed dependency" time="0.000797744">
|
|
73
73
|
</testcase>
|
|
74
|
-
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should throw TaskGraphValidationError with detailed result" time="0.
|
|
74
|
+
<testcase classname="tests/TaskRunner.test.ts" name="TaskRunner > should throw TaskGraphValidationError with detailed result" time="0.000820967">
|
|
75
75
|
</testcase>
|
|
76
76
|
</testsuite>
|
|
77
|
-
<testsuite name="tests/TaskRunnerEvents.test.ts" timestamp="2026-01-
|
|
78
|
-
<testcase classname="tests/TaskRunnerEvents.test.ts" name="TaskRunner Events > should fire all lifecycle events in a successful run" time="0.
|
|
77
|
+
<testsuite name="tests/TaskRunnerEvents.test.ts" timestamp="2026-01-18T21:02:31.356Z" hostname="runnervmmtnos" tests="7" failures="0" errors="0" skipped="0" time="0.015333484">
|
|
78
|
+
<testcase classname="tests/TaskRunnerEvents.test.ts" name="TaskRunner Events > should fire all lifecycle events in a successful run" time="0.005449057">
|
|
79
79
|
</testcase>
|
|
80
|
-
<testcase classname="tests/TaskRunnerEvents.test.ts" name="TaskRunner Events > should fire taskSkipped event when dependency fails" time="0.
|
|
80
|
+
<testcase classname="tests/TaskRunnerEvents.test.ts" name="TaskRunner Events > should fire taskSkipped event when dependency fails" time="0.004486106">
|
|
81
81
|
</testcase>
|
|
82
|
-
<testcase classname="tests/TaskRunnerEvents.test.ts" name="TaskRunner Events > should not crash if a listener throws an error" time="0.
|
|
82
|
+
<testcase classname="tests/TaskRunnerEvents.test.ts" name="TaskRunner Events > should not crash if a listener throws an error" time="0.001414411">
|
|
83
83
|
</testcase>
|
|
84
|
-
<testcase classname="tests/TaskRunnerEvents.test.ts" name="TaskRunner Events > should fire workflow events even for empty step list" time="0.
|
|
84
|
+
<testcase classname="tests/TaskRunnerEvents.test.ts" name="TaskRunner Events > should fire workflow events even for empty step list" time="0.000708748">
|
|
85
85
|
</testcase>
|
|
86
|
-
<testcase classname="tests/TaskRunnerEvents.test.ts" name="TaskRunner Events > should handle unsubscribe correctly" time="0.
|
|
86
|
+
<testcase classname="tests/TaskRunnerEvents.test.ts" name="TaskRunner Events > should handle unsubscribe correctly" time="0.000661941">
|
|
87
87
|
</testcase>
|
|
88
|
-
<testcase classname="tests/TaskRunnerEvents.test.ts" name="TaskRunner Events > should safely handle off() when no listeners exist" time="0.
|
|
88
|
+
<testcase classname="tests/TaskRunnerEvents.test.ts" name="TaskRunner Events > should safely handle off() when no listeners exist" time="0.000364097">
|
|
89
89
|
</testcase>
|
|
90
|
-
<testcase classname="tests/TaskRunnerEvents.test.ts" name="TaskRunner Events > should support multiple listeners for the same event" time="0.
|
|
90
|
+
<testcase classname="tests/TaskRunnerEvents.test.ts" name="TaskRunner Events > should support multiple listeners for the same event" time="0.000491044">
|
|
91
91
|
</testcase>
|
|
92
92
|
</testsuite>
|
|
93
|
-
<testsuite name="tests/TaskRunnerMermaid.test.ts" timestamp="2026-01-
|
|
94
|
-
<testcase classname="tests/TaskRunnerMermaid.test.ts" name="TaskRunner Mermaid Graph > should generate a simple graph with no dependencies" time="0.
|
|
93
|
+
<testsuite name="tests/TaskRunnerMermaid.test.ts" timestamp="2026-01-18T21:02:31.357Z" hostname="runnervmmtnos" tests="4" failures="0" errors="0" skipped="0" time="0.005427927">
|
|
94
|
+
<testcase classname="tests/TaskRunnerMermaid.test.ts" name="TaskRunner Mermaid Graph > should generate a simple graph with no dependencies" time="0.002330335">
|
|
95
95
|
</testcase>
|
|
96
|
-
<testcase classname="tests/TaskRunnerMermaid.test.ts" name="TaskRunner Mermaid Graph > should generate a graph with dependencies" time="0.
|
|
96
|
+
<testcase classname="tests/TaskRunnerMermaid.test.ts" name="TaskRunner Mermaid Graph > should generate a graph with dependencies" time="0.00049477">
|
|
97
97
|
</testcase>
|
|
98
|
-
<testcase classname="tests/TaskRunnerMermaid.test.ts" name="TaskRunner Mermaid Graph > should handle mixed independent and dependent tasks" time="0.
|
|
98
|
+
<testcase classname="tests/TaskRunnerMermaid.test.ts" name="TaskRunner Mermaid Graph > should handle mixed independent and dependent tasks" time="0.000292634">
|
|
99
99
|
</testcase>
|
|
100
|
-
<testcase classname="tests/TaskRunnerMermaid.test.ts" name="TaskRunner Mermaid Graph > should handle special characters in task names" time="0.
|
|
100
|
+
<testcase classname="tests/TaskRunnerMermaid.test.ts" name="TaskRunner Mermaid Graph > should handle special characters in task names" time="0.000357525">
|
|
101
101
|
</testcase>
|
|
102
102
|
</testsuite>
|
|
103
|
-
<testsuite name="tests/TaskRunnerRefactor.test.ts" timestamp="2026-01-
|
|
104
|
-
<testcase classname="tests/TaskRunnerRefactor.test.ts" name="TaskRunner Refactor Coverage > should allow setting execution strategy" time="0.
|
|
103
|
+
<testsuite name="tests/TaskRunnerRefactor.test.ts" timestamp="2026-01-18T21:02:31.358Z" hostname="runnervmmtnos" tests="6" failures="0" errors="0" skipped="0" time="0.009670159">
|
|
104
|
+
<testcase classname="tests/TaskRunnerRefactor.test.ts" name="TaskRunner Refactor Coverage > should allow setting execution strategy" time="0.002552298">
|
|
105
105
|
</testcase>
|
|
106
|
-
<testcase classname="tests/TaskRunnerRefactor.test.ts" name="TaskRunner Refactor Coverage > should allow unsubscribing from events" time="0.
|
|
106
|
+
<testcase classname="tests/TaskRunnerRefactor.test.ts" name="TaskRunner Refactor Coverage > should allow unsubscribing from events" time="0.001115384">
|
|
107
107
|
</testcase>
|
|
108
|
-
<testcase classname="tests/TaskRunnerRefactor.test.ts" name="TaskRunner Refactor Coverage > TaskStateManager.cancelAllPending should handle non-existing tasks gracefully" time="0.
|
|
108
|
+
<testcase classname="tests/TaskRunnerRefactor.test.ts" name="TaskRunner Refactor Coverage > TaskStateManager.cancelAllPending should handle non-existing tasks gracefully" time="0.000529755">
|
|
109
109
|
</testcase>
|
|
110
|
-
<testcase classname="tests/TaskRunnerRefactor.test.ts" name="TaskRunner Refactor Coverage > TaskRunnerBuilder should build a TaskRunner" time="0.
|
|
110
|
+
<testcase classname="tests/TaskRunnerRefactor.test.ts" name="TaskRunner Refactor Coverage > TaskRunnerBuilder should build a TaskRunner" time="0.000674845">
|
|
111
111
|
</testcase>
|
|
112
|
-
<testcase classname="tests/TaskRunnerRefactor.test.ts" name="TaskRunner Refactor Coverage > TaskRunnerBuilder should build a TaskRunner with no listeners" time="0.
|
|
112
|
+
<testcase classname="tests/TaskRunnerRefactor.test.ts" name="TaskRunner Refactor Coverage > TaskRunnerBuilder should build a TaskRunner with no listeners" time="0.000265734">
|
|
113
113
|
</testcase>
|
|
114
|
-
<testcase classname="tests/TaskRunnerRefactor.test.ts" name="TaskRunner Refactor Coverage > WorkflowExecutor should break infinite loop if no progress can be made" time="0.
|
|
114
|
+
<testcase classname="tests/TaskRunnerRefactor.test.ts" name="TaskRunner Refactor Coverage > WorkflowExecutor should break infinite loop if no progress can be made" time="0.002088375">
|
|
115
115
|
</testcase>
|
|
116
116
|
</testsuite>
|
|
117
|
-
<testsuite name="tests/WorkflowExecutor.test.ts" timestamp="2026-01-
|
|
118
|
-
<testcase classname="tests/WorkflowExecutor.test.ts" name="WorkflowExecutor > should execute steps sequentially when dependencies exist" time="0.
|
|
117
|
+
<testsuite name="tests/WorkflowExecutor.test.ts" timestamp="2026-01-18T21:02:31.359Z" hostname="runnervmmtnos" tests="3" failures="0" errors="0" skipped="0" time="0.057222437">
|
|
118
|
+
<testcase classname="tests/WorkflowExecutor.test.ts" name="WorkflowExecutor > should execute steps sequentially when dependencies exist" time="0.003822939">
|
|
119
119
|
</testcase>
|
|
120
|
-
<testcase classname="tests/WorkflowExecutor.test.ts" name="WorkflowExecutor > should skip dependent steps if dependency fails" time="0.
|
|
120
|
+
<testcase classname="tests/WorkflowExecutor.test.ts" name="WorkflowExecutor > should skip dependent steps if dependency fails" time="0.000486626">
|
|
121
121
|
</testcase>
|
|
122
|
-
<testcase classname="tests/WorkflowExecutor.test.ts" name="WorkflowExecutor > should run independent steps in parallel" time="0.
|
|
122
|
+
<testcase classname="tests/WorkflowExecutor.test.ts" name="WorkflowExecutor > should run independent steps in parallel" time="0.050911539">
|
|
123
123
|
</testcase>
|
|
124
124
|
</testsuite>
|
|
125
|
-
<testsuite name="tests/cancellation.test.ts" timestamp="2026-01-
|
|
126
|
-
<testcase classname="tests/cancellation.test.ts" name="TaskRunner Cancellation > should execute tasks normally without cancellation" time="0.
|
|
125
|
+
<testsuite name="tests/cancellation.test.ts" timestamp="2026-01-18T21:02:31.360Z" hostname="runnervmmtnos" tests="10" failures="0" errors="0" skipped="0" time="0.160889833">
|
|
126
|
+
<testcase classname="tests/cancellation.test.ts" name="TaskRunner Cancellation > should execute tasks normally without cancellation" time="0.003415454">
|
|
127
127
|
</testcase>
|
|
128
|
-
<testcase classname="tests/cancellation.test.ts" name="TaskRunner Cancellation > should cancel workflow via AbortSignal" time="0.
|
|
128
|
+
<testcase classname="tests/cancellation.test.ts" name="TaskRunner Cancellation > should cancel workflow via AbortSignal" time="0.011392984">
|
|
129
129
|
</testcase>
|
|
130
|
-
<testcase classname="tests/cancellation.test.ts" name="TaskRunner Cancellation > should cancel workflow via global timeout" time="0.
|
|
130
|
+
<testcase classname="tests/cancellation.test.ts" name="TaskRunner Cancellation > should cancel workflow via global timeout" time="0.049765136">
|
|
131
131
|
</testcase>
|
|
132
|
-
<testcase classname="tests/cancellation.test.ts" name="TaskRunner Cancellation > should handle pre-aborted signal" time="0.
|
|
132
|
+
<testcase classname="tests/cancellation.test.ts" name="TaskRunner Cancellation > should handle pre-aborted signal" time="0.000527221">
|
|
133
133
|
</testcase>
|
|
134
|
-
<testcase classname="tests/cancellation.test.ts" name="TaskRunner Cancellation > should propagate cancellation to running task" time="0.
|
|
134
|
+
<testcase classname="tests/cancellation.test.ts" name="TaskRunner Cancellation > should propagate cancellation to running task" time="0.010646276">
|
|
135
135
|
</testcase>
|
|
136
|
-
<testcase classname="tests/cancellation.test.ts" name="TaskRunner Cancellation > should respect timeout over signal if timeout happens first" time="0.
|
|
136
|
+
<testcase classname="tests/cancellation.test.ts" name="TaskRunner Cancellation > should respect timeout over signal if timeout happens first" time="0.050527285">
|
|
137
137
|
</testcase>
|
|
138
|
-
<testcase classname="tests/cancellation.test.ts" name="TaskRunner Cancellation > should handle case where timeout is set AND signal is already aborted" time="0.
|
|
138
|
+
<testcase classname="tests/cancellation.test.ts" name="TaskRunner Cancellation > should handle case where timeout is set AND signal is already aborted" time="0.000365109">
|
|
139
139
|
</testcase>
|
|
140
|
-
<testcase classname="tests/cancellation.test.ts" name="TaskRunner Cancellation > should cancel workflow via AbortSignal when timeout is also set" time="0.
|
|
140
|
+
<testcase classname="tests/cancellation.test.ts" name="TaskRunner Cancellation > should cancel workflow via AbortSignal when timeout is also set" time="0.010610979">
|
|
141
141
|
</testcase>
|
|
142
|
-
<testcase classname="tests/cancellation.test.ts" name="TaskRunner Cancellation > should fail task if it throws non-abort error during cancellation" time="0.
|
|
142
|
+
<testcase classname="tests/cancellation.test.ts" name="TaskRunner Cancellation > should fail task if it throws non-abort error during cancellation" time="0.010705217">
|
|
143
143
|
</testcase>
|
|
144
|
-
<testcase classname="tests/cancellation.test.ts" name="TaskRunner Cancellation > should cancel task if it rejects with signal.reason" time="0.
|
|
144
|
+
<testcase classname="tests/cancellation.test.ts" name="TaskRunner Cancellation > should cancel task if it rejects with signal.reason" time="0.010660171">
|
|
145
145
|
</testcase>
|
|
146
146
|
</testsuite>
|
|
147
|
-
<testsuite name="tests/concurrency.test.ts" timestamp="2026-01-
|
|
148
|
-
<testcase classname="tests/concurrency.test.ts" name="Concurrency Control > should limit concurrency to 1" time="0.
|
|
147
|
+
<testsuite name="tests/concurrency.test.ts" timestamp="2026-01-18T21:02:31.361Z" hostname="runnervmmtnos" tests="4" failures="0" errors="0" skipped="0" time="0.350268405">
|
|
148
|
+
<testcase classname="tests/concurrency.test.ts" name="Concurrency Control > should limit concurrency to 1" time="0.155464084">
|
|
149
149
|
</testcase>
|
|
150
|
-
<testcase classname="tests/concurrency.test.ts" name="Concurrency Control > should limit concurrency to 2" time="0.
|
|
150
|
+
<testcase classname="tests/concurrency.test.ts" name="Concurrency Control > should limit concurrency to 2" time="0.101201506">
|
|
151
151
|
</testcase>
|
|
152
|
-
<testcase classname="tests/concurrency.test.ts" name="Concurrency Control > should handle unlimited concurrency (default)" time="0.
|
|
152
|
+
<testcase classname="tests/concurrency.test.ts" name="Concurrency Control > should handle unlimited concurrency (default)" time="0.05090813">
|
|
153
153
|
</testcase>
|
|
154
|
-
<testcase classname="tests/concurrency.test.ts" name="Concurrency Control > should run each task exactly once even when queued" time="0.
|
|
154
|
+
<testcase classname="tests/concurrency.test.ts" name="Concurrency Control > should run each task exactly once even when queued" time="0.040382282">
|
|
155
155
|
</testcase>
|
|
156
156
|
</testsuite>
|
|
157
|
-
<testsuite name="tests/integration.test.ts" timestamp="2026-01-
|
|
158
|
-
<testcase classname="tests/integration.test.ts" name="TaskRunner Validation Integration > should throw validation error with clear message for duplicate tasks" time="0.
|
|
157
|
+
<testsuite name="tests/integration.test.ts" timestamp="2026-01-18T21:02:31.362Z" hostname="runnervmmtnos" tests="3" failures="0" errors="0" skipped="0" time="0.007367936">
|
|
158
|
+
<testcase classname="tests/integration.test.ts" name="TaskRunner Validation Integration > should throw validation error with clear message for duplicate tasks" time="0.004008256">
|
|
159
159
|
</testcase>
|
|
160
|
-
<testcase classname="tests/integration.test.ts" name="TaskRunner Validation Integration > should throw validation error with clear message for missing dependencies" time="0.
|
|
160
|
+
<testcase classname="tests/integration.test.ts" name="TaskRunner Validation Integration > should throw validation error with clear message for missing dependencies" time="0.000335524">
|
|
161
161
|
</testcase>
|
|
162
|
-
<testcase classname="tests/integration.test.ts" name="TaskRunner Validation Integration > should throw validation error with clear message for cycles" time="0.
|
|
162
|
+
<testcase classname="tests/integration.test.ts" name="TaskRunner Validation Integration > should throw validation error with clear message for cycles" time="0.000625864">
|
|
163
163
|
</testcase>
|
|
164
164
|
</testsuite>
|
|
165
|
-
<testsuite name="tests/integration-tests/basic-structure.test.ts" timestamp="2026-01-
|
|
166
|
-
<testcase classname="tests/integration-tests/basic-structure.test.ts" name="Integration: Basic Structure > Scenario 1: Basic linear workflow (A -> B -> C)" time="0.
|
|
165
|
+
<testsuite name="tests/integration-tests/basic-structure.test.ts" timestamp="2026-01-18T21:02:31.363Z" hostname="runnervmmtnos" tests="4" failures="0" errors="0" skipped="0" time="0.131195355">
|
|
166
|
+
<testcase classname="tests/integration-tests/basic-structure.test.ts" name="Integration: Basic Structure > Scenario 1: Basic linear workflow (A -> B -> C)" time="0.034379378">
|
|
167
167
|
</testcase>
|
|
168
|
-
<testcase classname="tests/integration-tests/basic-structure.test.ts" name="Integration: Basic Structure > Scenario 2: Branching workflow (A -> [B, C] -> D)" time="0.
|
|
168
|
+
<testcase classname="tests/integration-tests/basic-structure.test.ts" name="Integration: Basic Structure > Scenario 2: Branching workflow (A -> [B, C] -> D)" time="0.032397963">
|
|
169
169
|
</testcase>
|
|
170
|
-
<testcase classname="tests/integration-tests/basic-structure.test.ts" name="Integration: Basic Structure > Scenario 12: Complex 'Diamond' dependency graph (A -> B -> D, A -> C -> D)" time="0.
|
|
170
|
+
<testcase classname="tests/integration-tests/basic-structure.test.ts" name="Integration: Basic Structure > Scenario 12: Complex 'Diamond' dependency graph (A -> B -> D, A -> C -> D)" time="0.041199322">
|
|
171
171
|
</testcase>
|
|
172
|
-
<testcase classname="tests/integration-tests/basic-structure.test.ts" name="Integration: Basic Structure > Scenario 14: Zero-dependency parallel burst" time="0.
|
|
172
|
+
<testcase classname="tests/integration-tests/basic-structure.test.ts" name="Integration: Basic Structure > Scenario 14: Zero-dependency parallel burst" time="0.021030952">
|
|
173
173
|
</testcase>
|
|
174
174
|
</testsuite>
|
|
175
|
-
<testsuite name="tests/integration-tests/concurrency-timing.test.ts" timestamp="2026-01-
|
|
176
|
-
<testcase classname="tests/integration-tests/concurrency-timing.test.ts" name="Integration: Concurrency and Timing > Scenario 6: Mixed duration tasks (verifying parallel efficiency)" time="0.
|
|
175
|
+
<testsuite name="tests/integration-tests/concurrency-timing.test.ts" timestamp="2026-01-18T21:02:31.364Z" hostname="runnervmmtnos" tests="3" failures="0" errors="0" skipped="0" time="0.127976752">
|
|
176
|
+
<testcase classname="tests/integration-tests/concurrency-timing.test.ts" name="Integration: Concurrency and Timing > Scenario 6: Mixed duration tasks (verifying parallel efficiency)" time="0.054195669">
|
|
177
177
|
</testcase>
|
|
178
|
-
<testcase classname="tests/integration-tests/concurrency-timing.test.ts" name="Integration: Concurrency and Timing > Scenario 7: Cancellation via AbortSignal" time="0.
|
|
178
|
+
<testcase classname="tests/integration-tests/concurrency-timing.test.ts" name="Integration: Concurrency and Timing > Scenario 7: Cancellation via AbortSignal" time="0.021296748">
|
|
179
179
|
</testcase>
|
|
180
|
-
<testcase classname="tests/integration-tests/concurrency-timing.test.ts" name="Integration: Concurrency and Timing > Scenario 8: Global timeout interrupting long tasks" time="0.
|
|
180
|
+
<testcase classname="tests/integration-tests/concurrency-timing.test.ts" name="Integration: Concurrency and Timing > Scenario 8: Global timeout interrupting long tasks" time="0.050740141">
|
|
181
181
|
</testcase>
|
|
182
182
|
</testsuite>
|
|
183
|
-
<testsuite name="tests/integration-tests/context-state.test.ts" timestamp="2026-01-
|
|
184
|
-
<testcase classname="tests/integration-tests/context-state.test.ts" name="Integration: Context and State > Scenario 4: Shared context mutation (A writes, B reads)" time="0.
|
|
183
|
+
<testsuite name="tests/integration-tests/context-state.test.ts" timestamp="2026-01-18T21:02:31.364Z" hostname="runnervmmtnos" tests="3" failures="0" errors="0" skipped="0" time="0.016718103">
|
|
184
|
+
<testcase classname="tests/integration-tests/context-state.test.ts" name="Integration: Context and State > Scenario 4: Shared context mutation (A writes, B reads)" time="0.004232253">
|
|
185
185
|
</testcase>
|
|
186
|
-
<testcase classname="tests/integration-tests/context-state.test.ts" name="Integration: Context and State > Scenario 9: Dynamic context validation" time="0.
|
|
186
|
+
<testcase classname="tests/integration-tests/context-state.test.ts" name="Integration: Context and State > Scenario 9: Dynamic context validation" time="0.000634349">
|
|
187
187
|
</testcase>
|
|
188
|
-
<testcase classname="tests/integration-tests/context-state.test.ts" name="Integration: Context and State > Scenario 13: Tasks with side-effects" time="0.
|
|
188
|
+
<testcase classname="tests/integration-tests/context-state.test.ts" name="Integration: Context and State > Scenario 13: Tasks with side-effects" time="0.009860376">
|
|
189
189
|
</testcase>
|
|
190
190
|
</testsuite>
|
|
191
|
-
<testsuite name="tests/integration-tests/dryRun.test.ts" timestamp="2026-01-
|
|
192
|
-
<testcase classname="tests/integration-tests/dryRun.test.ts" name="Integration: Dry Run > should execute successfully without side effects" time="0.
|
|
191
|
+
<testsuite name="tests/integration-tests/dryRun.test.ts" timestamp="2026-01-18T21:02:31.365Z" hostname="runnervmmtnos" tests="2" failures="0" errors="0" skipped="0" time="0.008315849">
|
|
192
|
+
<testcase classname="tests/integration-tests/dryRun.test.ts" name="Integration: Dry Run > should execute successfully without side effects" time="0.005332479">
|
|
193
193
|
</testcase>
|
|
194
|
-
<testcase classname="tests/integration-tests/dryRun.test.ts" name="Integration: Dry Run > should respect dependencies (topological order is maintained even in dry run)" time="0.
|
|
194
|
+
<testcase classname="tests/integration-tests/dryRun.test.ts" name="Integration: Dry Run > should respect dependencies (topological order is maintained even in dry run)" time="0.00044642">
|
|
195
195
|
</testcase>
|
|
196
196
|
</testsuite>
|
|
197
|
-
<testsuite name="tests/integration-tests/error-handling.test.ts" timestamp="2026-01-
|
|
198
|
-
<testcase classname="tests/integration-tests/error-handling.test.ts" name="Integration: Error Handling > Scenario 3: Task failure and downstream skipping" time="0.
|
|
197
|
+
<testsuite name="tests/integration-tests/error-handling.test.ts" timestamp="2026-01-18T21:02:31.366Z" hostname="runnervmmtnos" tests="3" failures="0" errors="0" skipped="0" time="0.01023538">
|
|
198
|
+
<testcase classname="tests/integration-tests/error-handling.test.ts" name="Integration: Error Handling > Scenario 3: Task failure and downstream skipping" time="0.004441422">
|
|
199
199
|
</testcase>
|
|
200
|
-
<testcase classname="tests/integration-tests/error-handling.test.ts" name="Integration: Error Handling > Scenario 10: Circular dependency detection" time="0.
|
|
200
|
+
<testcase classname="tests/integration-tests/error-handling.test.ts" name="Integration: Error Handling > Scenario 10: Circular dependency detection" time="0.002733556">
|
|
201
201
|
</testcase>
|
|
202
|
-
<testcase classname="tests/integration-tests/error-handling.test.ts" name="Integration: Error Handling > Scenario 11: Missing dependency handling" time="0.
|
|
202
|
+
<testcase classname="tests/integration-tests/error-handling.test.ts" name="Integration: Error Handling > Scenario 11: Missing dependency handling" time="0.000538642">
|
|
203
203
|
</testcase>
|
|
204
204
|
</testsuite>
|
|
205
|
-
<testsuite name="tests/integration-tests/stress.test.ts" timestamp="2026-01-
|
|
206
|
-
<testcase classname="tests/integration-tests/stress.test.ts" name="Integration: Stress Tests > Scenario 5: Large graph execution (e.g., 20+ nodes)" time="0.
|
|
205
|
+
<testsuite name="tests/integration-tests/stress.test.ts" timestamp="2026-01-18T21:02:31.366Z" hostname="runnervmmtnos" tests="1" failures="0" errors="0" skipped="0" time="0.008805851">
|
|
206
|
+
<testcase classname="tests/integration-tests/stress.test.ts" name="Integration: Stress Tests > Scenario 5: Large graph execution (e.g., 20+ nodes)" time="0.006336498">
|
|
207
207
|
</testcase>
|
|
208
208
|
</testsuite>
|
|
209
|
-
<testsuite name="tests/strategies/RetryingExecutionStrategy.test.ts" timestamp="2026-01-
|
|
210
|
-
<testcase classname="tests/strategies/RetryingExecutionStrategy.test.ts" name="RetryingExecutionStrategy > should execute successfully without retry if task succeeds" time="0.
|
|
209
|
+
<testsuite name="tests/strategies/RetryingExecutionStrategy.test.ts" timestamp="2026-01-18T21:02:31.367Z" hostname="runnervmmtnos" tests="9" failures="0" errors="0" skipped="0" time="0.018621">
|
|
210
|
+
<testcase classname="tests/strategies/RetryingExecutionStrategy.test.ts" name="RetryingExecutionStrategy > should execute successfully without retry if task succeeds" time="0.005610086">
|
|
211
211
|
</testcase>
|
|
212
|
-
<testcase classname="tests/strategies/RetryingExecutionStrategy.test.ts" name="RetryingExecutionStrategy > should execute successfully without retry if task has no retry config" time="0.
|
|
212
|
+
<testcase classname="tests/strategies/RetryingExecutionStrategy.test.ts" name="RetryingExecutionStrategy > should execute successfully without retry if task has no retry config" time="0.00067778">
|
|
213
213
|
</testcase>
|
|
214
|
-
<testcase classname="tests/strategies/RetryingExecutionStrategy.test.ts" name="RetryingExecutionStrategy > should retry task if it fails and has retry config (fixed backoff)" time="0.
|
|
214
|
+
<testcase classname="tests/strategies/RetryingExecutionStrategy.test.ts" name="RetryingExecutionStrategy > should retry task if it fails and has retry config (fixed backoff)" time="0.001966127">
|
|
215
215
|
</testcase>
|
|
216
|
-
<testcase classname="tests/strategies/RetryingExecutionStrategy.test.ts" name="RetryingExecutionStrategy > should fail after max attempts reached" time="0.
|
|
216
|
+
<testcase classname="tests/strategies/RetryingExecutionStrategy.test.ts" name="RetryingExecutionStrategy > should fail after max attempts reached" time="0.000755426">
|
|
217
217
|
</testcase>
|
|
218
|
-
<testcase classname="tests/strategies/RetryingExecutionStrategy.test.ts" name="RetryingExecutionStrategy > should use exponential backoff" time="0.
|
|
218
|
+
<testcase classname="tests/strategies/RetryingExecutionStrategy.test.ts" name="RetryingExecutionStrategy > should use exponential backoff" time="0.001042279">
|
|
219
219
|
</testcase>
|
|
220
|
-
<testcase classname="tests/strategies/RetryingExecutionStrategy.test.ts" name="RetryingExecutionStrategy > should handle cancellation during delay" time="0.
|
|
220
|
+
<testcase classname="tests/strategies/RetryingExecutionStrategy.test.ts" name="RetryingExecutionStrategy > should handle cancellation during delay" time="0.001483718">
|
|
221
221
|
</testcase>
|
|
222
|
-
<testcase classname="tests/strategies/RetryingExecutionStrategy.test.ts" name="RetryingExecutionStrategy > should handle cancellation before execution" time="0.
|
|
222
|
+
<testcase classname="tests/strategies/RetryingExecutionStrategy.test.ts" name="RetryingExecutionStrategy > should handle cancellation before execution" time="0.000591771">
|
|
223
223
|
</testcase>
|
|
224
|
-
<testcase classname="tests/strategies/RetryingExecutionStrategy.test.ts" name="RetryingExecutionStrategy > should propagate error if sleep throws non-abort error" time="0.
|
|
224
|
+
<testcase classname="tests/strategies/RetryingExecutionStrategy.test.ts" name="RetryingExecutionStrategy > should propagate error if sleep throws non-abort error" time="0.00346008">
|
|
225
225
|
</testcase>
|
|
226
|
-
<testcase classname="tests/strategies/RetryingExecutionStrategy.test.ts" name="RetryingExecutionStrategy > should handle cancellation if signal is aborted right before sleep (covering fast-fail in sleep)" time="0.
|
|
226
|
+
<testcase classname="tests/strategies/RetryingExecutionStrategy.test.ts" name="RetryingExecutionStrategy > should handle cancellation if signal is aborted right before sleep (covering fast-fail in sleep)" time="0.000805939">
|
|
227
227
|
</testcase>
|
|
228
228
|
</testsuite>
|
|
229
229
|
</testsuites>
|