Server-side sorting for execution search results
All checks were successful
CI / build (push) Successful in 1m12s
CI / docker (push) Successful in 50s
CI / deploy (push) Successful in 33s

Sorting now applies to the entire result set via ClickHouse ORDER BY
instead of only sorting the current page client-side. Default sort
order is timestamp descending. Supported sort columns: startTime,
status, agentId, routeId, correlationId, durationMs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-03-14 19:34:22 +01:00
parent 31b8695420
commit b64edaa16f
7 changed files with 83 additions and 44 deletions

View File

@@ -255,6 +255,22 @@
"format": "int32",
"default": 50
}
},
{
"name": "sortField",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "sortDir",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": {
@@ -1500,6 +1516,12 @@
"limit": {
"type": "integer",
"format": "int32"
},
"sortField": {
"type": "string"
},
"sortDir": {
"type": "string"
}
}
},

View File

@@ -562,6 +562,8 @@ export interface components {
offset?: number;
/** Format: int32 */
limit?: number;
sortField?: string;
sortDir?: string;
};
ExecutionSummary: {
executionId: string;
@@ -915,6 +917,8 @@ export interface operations {
processorType?: string;
offset?: number;
limit?: number;
sortField?: string;
sortDir?: string;
};
header?: never;
path?: never;