Add flow-0.8.17 and update documentation

This commit is contained in:
Gitea Actions
2026-01-09 13:46:03 +00:00
parent bec8c840de
commit 8a4bbca496
4 changed files with 197 additions and 25 deletions

View File

@@ -121,7 +121,98 @@
}
},
"workflowEngine": {
"$ref": "#/definitions/service"
"allOf": [
{ "$ref": "#/definitions/service" },
{
"type": "object",
"properties": {
"runtime": {
"type": "object",
"properties": {
"concurrencyMaxRetries": {
"type": "integer",
"minimum": 1,
"description": "Maximum retry attempts for concurrency conflicts"
},
"concurrencyBaseDelayMs": {
"type": "integer",
"minimum": 1,
"description": "Base delay in milliseconds between retries"
},
"concurrencyJitterMs": {
"type": "integer",
"minimum": 0,
"description": "Random jitter added to retry delays"
}
}
},
"tenantSettings": {
"type": "object",
"properties": {
"cacheDurationMinutes": {
"type": "integer",
"minimum": 1,
"description": "How long to cache tenant settings"
},
"fallbackToDefaults": {
"type": "boolean",
"description": "Whether to use defaults when TenantRegistry is unavailable"
}
}
},
"leaderElection": {
"type": "object",
"properties": {
"defaultLeaseDurationMinutes": {
"type": "integer",
"minimum": 1,
"description": "Default leadership lease duration in minutes"
},
"retryIntervalSeconds": {
"type": "integer",
"minimum": 1,
"description": "How often to retry acquiring leadership"
}
}
},
"workflowTimeout": {
"type": "object",
"properties": {
"checkIntervalMinutes": {
"type": "integer",
"minimum": 1,
"description": "How often to check for timed-out workflows"
},
"leaseDurationMinutes": {
"type": "integer",
"minimum": 1,
"description": "Leadership lease duration for timeout checks"
}
}
},
"workflowCleanup": {
"type": "object",
"properties": {
"checkIntervalMinutes": {
"type": "integer",
"minimum": 1,
"description": "How often to run cleanup (in minutes)"
},
"batchSize": {
"type": "integer",
"minimum": 1,
"description": "Max workflows to delete per tenant per run"
},
"leaseDurationMinutes": {
"type": "integer",
"minimum": 1,
"description": "Leadership lease duration for cleanup"
}
}
}
}
}
]
},
"activityRegistry": {
"$ref": "#/definitions/service"