Changeset 0.28.7 (#193)
This commit is contained in:
@@ -133,6 +133,14 @@ func (h *TaskHandler) Create(c *gin.Context) {
|
||||
}
|
||||
}
|
||||
|
||||
// v0.28.7: Starlark tasks — pre-positioned gate for v0.29.0.
|
||||
// The Starlark executor does not exist yet. Reject all creation with
|
||||
// a clear message rather than a cryptic CHECK constraint failure.
|
||||
if t.TaskType == "starlark" {
|
||||
c.JSON(http.StatusBadRequest, gin.H{"error": "starlark task execution requires v0.29.0 — not yet available"})
|
||||
return
|
||||
}
|
||||
|
||||
// v0.28.0-audit: Workflow task execution is not yet implemented.
|
||||
// Reject at the API boundary to prevent silent wrong behavior
|
||||
// (workflow tasks would fall through to the prompt pipeline).
|
||||
|
||||
Reference in New Issue
Block a user