Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
.DS_Store
.claude/settings.local.json

# Agent tools
.mcp_*
.mcp.*

# Testing
test_config.json
test-dry-run.json
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@
"platforma",
"ptable"
],
}
}
2 changes: 1 addition & 1 deletion sdk/workflow-tengo/src/exec/limits.lib.tengo
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ getResourceTypes := func(queueName) {

// Fallback: existing logic for backward compatibility with older backends
runnerType := constants.RUNNER_EXECUTOR
if feats.hasBatch && queueName != constants.UI_TASKS_QUEUE {
if feats.hasBatch && (queueName != constants.UI_TASKS_QUEUE || !feats.uiQueueAllowedInExecutor) {
runnerType = constants.RUNNER_BATCH
}
return {
Expand Down
3 changes: 3 additions & 0 deletions sdk/workflow-tengo/src/feats.lib.tengo
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ export ll.toStrict({
// true when backend supports docker packages
isDockerAvailable: _isEnabled("dockerSupport"),

// when true (default), ui-tasks queue uses RunCommand/executor resource type.
// when false, ui-tasks queue uses RunCommand/batch resource type (when batch setup is active).
uiQueueAllowedInExecutor: _isEnabled("uiQueueAllowedInExecutor")
// true when backend supports 'secret' argType for environment variables
secretEnvSupport: _isEnabled("secretEnvSupport")
})
Loading