Fix failure_category gaps: UNKNOWN fallback, workflow inheritance, observability (SKY-8469) (#5290)

This commit is contained in:
LawyZheng 2026-03-31 02:22:54 +08:00 committed by GitHub
parent d03549502c
commit c4251ff70c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 262 additions and 41 deletions

View file

@ -2444,6 +2444,24 @@
},
"description": "Number of items per page"
},
{
"name": "vault_type",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{
"$ref": "#/components/schemas/CredentialVaultType"
},
{
"type": "null"
}
],
"description": "Filter credentials by vault type (e.g. 'custom', 'bitwarden', 'azure_vault')",
"title": "Vault Type"
},
"description": "Filter credentials by vault type (e.g. 'custom', 'bitwarden', 'azure_vault')"
},
{
"name": "x-api-key",
"in": "header",
@ -13751,7 +13769,7 @@
}
],
"title": "Run With",
"description": "Whether to run the task with agent or code.",
"description": "Whether to run the task with agent or code. Null means use the default.",
"examples": [
"agent",
"code"
@ -16076,15 +16094,9 @@
"title": "Extra Http Headers"
},
"run_with": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Run With"
"type": "string",
"title": "Run With",
"default": "agent"
},
"ai_fallback": {
"type": "boolean",
@ -16327,15 +16339,9 @@
"default": "published"
},
"run_with": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Run With"
"type": "string",
"title": "Run With",
"default": "agent"
},
"ai_fallback": {
"type": "boolean",
@ -17133,6 +17139,21 @@
],
"title": "Failure Reason"
},
"failure_category": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Failure Category"
},
"parent_workflow_run_id": {
"anyOf": [
{
@ -17964,7 +17985,7 @@
}
],
"title": "Run With",
"description": "Whether to run the workflow with agent or code.",
"description": "Whether to run the workflow with agent or code. Null inherits from the workflow setting.",
"examples": [
"agent",
"code"
@ -18238,16 +18259,10 @@
"description": "Type of run - always workflow_run for workflow runs"
},
"run_with": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"type": "string",
"title": "Run With",
"description": "Whether the workflow run was executed with agent or code",
"default": "agent",
"examples": [
"agent",
"code"