@kici-dev/orchestrator 0.12.0 → 0.13.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/dist/agent/dispatcher.d.ts +22 -0
- package/dist/agent/registry.d.ts +31 -0
- package/dist/app.d.ts +6 -0
- package/dist/cache/cache-upload-settle.d.ts +75 -0
- package/dist/cache/pending-inits.d.ts +9 -0
- package/dist/cancel/cancel-run.d.ts +22 -4
- package/dist/cancel/peer-job-cancel.d.ts +50 -0
- package/dist/cancel/sweep-stuck-cancelling.d.ts +3 -1
- package/dist/cli/commands/local-hook.d.ts +3 -2
- package/dist/cli/commands/local-trigger.d.ts +7 -0
- package/dist/cli.js +983 -683
- package/dist/cluster/coordinator-credential.d.ts +45 -0
- package/dist/cluster/coordinator.d.ts +18 -2
- package/dist/cluster/index.d.ts +1 -0
- package/dist/cluster/instance-heartbeat.d.ts +6 -1
- package/dist/cluster/join-token.d.ts +2 -0
- package/dist/cluster/peer-auth-coordinator.d.ts +13 -0
- package/dist/cluster/peer-client.d.ts +4 -0
- package/dist/cluster/peer-credentials.d.ts +31 -0
- package/dist/config.d.ts +3 -0
- package/dist/db/migrations/152_org_settings_cache_upload_settle_timeout.d.ts +15 -0
- package/dist/db/migrations/153_execution_runs_cancel_force.d.ts +16 -0
- package/dist/db/types.d.ts +15 -0
- package/dist/index.js +192 -53
- package/dist/pipeline/changed-files.d.ts +51 -0
- package/dist/pipeline/cross-source-tally.d.ts +21 -0
- package/dist/pipeline/degraded-reason.d.ts +8 -0
- package/dist/pipeline/dispatch-matched-workflow.d.ts +10 -0
- package/dist/pipeline/global-eval-round.d.ts +3 -2
- package/dist/pipeline/processor.d.ts +9 -1
- package/dist/pipeline/rerun-inputs.d.ts +16 -7
- package/dist/providers/github/changed-files.d.ts +14 -4
- package/dist/providers/universal-git/changed-files.d.ts +6 -0
- package/dist/providers/universal-git/config.d.ts +4 -0
- package/dist/scaler/container-backend.d.ts +2 -0
- package/dist/scaler/container-runtime.d.ts +9 -0
- package/dist/scaler/manager.d.ts +26 -2
- package/dist/server.js +2710 -1486
- package/dist/stale-detector/workflow-deadline-detector.d.ts +7 -1
- package/dist/standalone.js +11527 -10302
- package/dist/storage/s3.d.ts +36 -0
- package/dist/ws/agent-handler.d.ts +24 -3
- package/dist/ws/agent-heartbeat.d.ts +2 -2
- package/installer-image-digests.json +3 -3
- package/package.json +5 -5
- package/sbom.spdx.json +53 -53
|
@@ -29,7 +29,9 @@ export interface WorkflowDeadlineDetectorDeps {
|
|
|
29
29
|
* implementation the user-initiated `kici cancel` route uses
|
|
30
30
|
* (cancelRunWithReason bound to the orchestrator's deps).
|
|
31
31
|
*/
|
|
32
|
-
cancelRun: (runId: string, reason: string
|
|
32
|
+
cancelRun: (runId: string, reason: string, options: {
|
|
33
|
+
force: boolean;
|
|
34
|
+
}) => Promise<unknown>;
|
|
33
35
|
jobQueue: JobQueue;
|
|
34
36
|
/** How often to scan in ms. Default supplied by the caller (reuses the stale-detector interval). */
|
|
35
37
|
scanIntervalMs: number;
|
|
@@ -69,6 +71,10 @@ export declare class WorkflowDeadlineDetector {
|
|
|
69
71
|
* tick" performance intent.
|
|
70
72
|
*/
|
|
71
73
|
private buildOverdueQuery;
|
|
74
|
+
/**
|
|
75
|
+
* A run a forced cancel already reached (`cancel_force`) is cancelled with
|
|
76
|
+
* `force` again, so a deadline scan never turns that cancel graceful.
|
|
77
|
+
*/
|
|
72
78
|
private cancelOverdueRun;
|
|
73
79
|
}
|
|
74
80
|
//# sourceMappingURL=workflow-deadline-detector.d.ts.map
|