@kynver-app/runtime 0.1.22 → 0.1.23
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/dist/cli.js +3 -3
- package/dist/cli.js.map +2 -2
- package/dist/index.js +3 -3
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2716,15 +2716,15 @@ async function runPipelineTick(args) {
|
|
|
2716
2716
|
const agentOsId = String(required(String(args.agentOsId || ""), "--agent-os-id"));
|
|
2717
2717
|
const execute = args.execute !== false && args.execute !== "false";
|
|
2718
2718
|
runStatus({ run: runId });
|
|
2719
|
-
const completedWorkers = await completeFinishedWorkers(runId, args);
|
|
2720
|
-
const staleReconcile = reconcileStaleWorkers();
|
|
2721
|
-
const planProgressSync = await syncActiveWorkerPlanProgress(runId, args);
|
|
2722
2719
|
const workspacePrefs = await fetchWorkspaceRuntimePreferences(agentOsId, args);
|
|
2723
2720
|
const resourceGate = observeRunnerResourceGate({
|
|
2724
2721
|
runId,
|
|
2725
2722
|
configuredMaxWorkersOverride: workspacePrefs?.maxConcurrentWorkers
|
|
2726
2723
|
});
|
|
2727
2724
|
const operatorTick = await postOperatorTick(agentOsId, runId, resourceGate, args);
|
|
2725
|
+
const completedWorkers = await completeFinishedWorkers(runId, args);
|
|
2726
|
+
const staleReconcile = reconcileStaleWorkers();
|
|
2727
|
+
const planProgressSync = await syncActiveWorkerPlanProgress(runId, args);
|
|
2728
2728
|
let maxStarts = resourceGate.slotsAvailable;
|
|
2729
2729
|
const tickBody = operatorTick;
|
|
2730
2730
|
const advised = tickBody.response?.dispatch?.recommendedMaxStarts;
|