Let a pinned minute read runs from the whole day

/observability/runs gains since/until, so the throughput chart's pin asks
the server for its minute instead of filtering a fixed recent list. This
engine writes ~60 runs a minute, so any minute but the newest read empty.

since is inclusive and until exclusive, matching the minute buckets the
charts are drawn from. Hover stays the client-side preview it was:
scrubbing a day would otherwise be a request per minute rested on.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017MeiWk3Yq12n2pTvnQWYvt
This commit is contained in:
2026-08-17 00:27:40 +02:00
co-authored by Claude Fable 5
parent affb0a5f8c
commit 0b91379914
7 changed files with 94 additions and 12 deletions
+7
View File
@@ -1147,9 +1147,14 @@ export class ObservabilityService {
/**
* Read Runs
* Recent cascades, newest first.
*
* ``since`` is inclusive and ``until`` exclusive, so a window of one minute
* holds exactly the runs of the minute bucket the charts are drawn from.
* @param data The data for the request.
* @param data.flow
* @param data.status
* @param data.since
* @param data.until
* @param data.limit
* @returns RunRow Successful Response
* @throws ApiError
@@ -1161,6 +1166,8 @@ export class ObservabilityService {
query: {
flow: data.flow,
status: data.status,
since: data.since,
until: data.until,
limit: data.limit
},
errors: {