You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a7b2d2f
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: frontend/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ This creates `build.zip` with a top-level `dist/` directory, including `dist/ind
66
66
- Datasets: search, create logs/metrics/traces with an optional custom partition, manage information and ingestion/storage statistics, inspect schema, explore, set/clear retention, configure/disable hot tier when the server enables it, and delete with typed name confirmation. Time partitions cannot be set at creation. Static schema upload, tags/labels, existing partition editing and index management are not supported.
67
67
- Dashboards: server-backed lists and detail routes, search/tags/favourites/sort/pagination, ownership, full-document saves with conflict resolution, SQL and PromQL tiles, six variable types, URL time ranges and selections, classic import/export, and explicit migration of old browser-local dashboards. Demo dashboards use independent in-memory state per client.
68
68
- Team: native users and one-time passwords, role and privilege management, default OIDC role configuration, provider group mappings and role provenance, and API key creation/copy/deletion with configurable expiration from 30 minutes to 90 days or no expiration. New UI-created keys default to 90 days; existing keys keep their original lifetime. Search and 25-row pagination apply to every tab; authorization stays with the backend.
69
-
- Agents: schema-discovered GenAI telemetry datasets, bounded recent records, time ranges, local search, record inspection and trace handoff.
69
+
- Agents: schema-discovered GenAI datasets, related spans grouped into runs, successful/failed/incomplete status, observed duration, models and recorded token usage. Run details include the span tree, model and tool calls, errors, captured conversation and raw fields. Search/status/model filters and captured time bounds survive navigation between Agents, Traces and Logs. Missing telemetry and bounded samples are explicit; evaluations and cost estimates remain deferred.
70
70
- Cluster: registered node reachability and resource metrics with independent request states; read-only.
71
71
- Errors: grouped issues, full-range frequency analytics, and occurrence inspection for OTLP traces and recognized log severity schemas, plus paginated OTLP error spans and trace handoff. Groups match exact service, error type and message values; issue assignment and resolution are not persisted.
72
72
- Workspace setup: `/onboarding` discovers accessible datasets and opens the matching explorer; `/new` explains server scope and provides connection/setup actions. Hosted workspace creation is not exposed by this server.
Copy file name to clipboardExpand all lines: frontend/docs/api-contracts.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -215,7 +215,7 @@ See [observability validation](observability-validation.md) for bounds, caps, er
215
215
216
216
## Native operations and setup screens
217
217
218
-
Agents uses existing dataset list, schema, metadata and SQL requests. Discovery recognizes flattened `gen_ai.agent.name`, `gen_ai.agent.id`, `gen_ai.operation.name`, `gen_ai.request.model` and `gen_ai.tool.name`; direct dataset links defer the full schema scan until the selector is focused or rescanned. Discovery is limited to four concurrent schema requests and skips forbidden/missing datasets. Queries quote dataset/field identifiers, use the dataset time partition, and return at most 100 recent non-null GenAI records in captured UTC bounds. Search applies only to those loaded records. Run aggregation, evaluations and pricing are not inferred. Unknown demo dataset names cannot return synthetic records.
218
+
Agents uses existing dataset list, schema, metadata and SQL requests. Discovery recognizes flattened `gen_ai.agent.name`, `gen_ai.agent.id`, `gen_ai.operation.name`, `gen_ai.request.model`, `gen_ai.response.model` and `gen_ai.tool.name`; direct dataset links defer the full schema scan until the selector is focused or rescanned. Discovery is limited to four concurrent schema requests and skips forbidden/missing datasets. Queries quote dataset/field identifiers and use the dataset time partition. Up to 100 recent trace IDs containing GenAI telemetry seed a query for related spans, including children without GenAI attributes; the outer response is bounded to 1,000 flattened records. Explicit half-open UTC predicates preserve exact time bounds inside the minute-expanded query envelope. Search, status and model filters apply to the loaded runs. Run normalization deduplicates span identities before counting usage, preserves event content and displays absent values distinctly from zero. A unique outer agent span can certify recovery within its descendants: explicit completed OK permits recovered child errors, which remain visible. Failed or incomplete ancestors and separate roots retain their outcome. Completed UNSET spans are accepted; missing status or completion remains incomplete. Missing identity, parents, clipped time coverage and the separate 100-trace / 1,000-record caps are disclosed. Evaluations and cost estimates remain deferred until telemetry and pricing inputs are reliable. Unknown demo dataset names cannot return synthetic records.
219
219
220
220
Cluster reads `GET /api/v1/cluster/info` and `/api/v1/cluster/metrics` through the shared authenticated client. The first returns node identity, storage/staging paths, reachability and nullable status/error text. Metrics are independent: a denied metrics request does not hide node health. Nonfinite Rust metric values serialized as null display as unavailable per field. Missing cluster routes (404/405) show a deployment-mode explanation; 403 and 401 retain shared permission/session handling. No node deletion is exposed.
Copy file name to clipboardExpand all lines: frontend/docs/prism-parity.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,15 +126,15 @@ The [observability validation record](observability-validation.md) documents ori
126
126
127
127
The previously classic-only routes below now resolve to native pages. `classicUi.ts` marks them `limited`, distinguishing a usable native subset or capability explanation from full classic parity. The existing Traces, APM, Add data and telemetry-aware dataset routes retain their behavior.
|`/agents`, `/agents/:dataset`| Discover flattened GenAI fields through dataset schemas; query the latest 100 telemetry records in a selected time range; search loaded records; inspect full records; open compatible trace IDs | Individual events/spans, not classic run aggregation, evaluations, pricing or token-cost analytics. Demo uses explicit synthetic fixtures.|
132
-
|`/cluster`| Show registered distributed nodes, reachability, status, storage/staging locations and resource metrics from the existing cluster endpoints | Read-only. Standalone servers can report cluster administration unavailable. Node and metrics failures remain separate. |
133
-
|`/errors`, `/errors/:dataset`| Discover trace and log error datasets; group issues, query full-range frequency, inspect occurrences, sort/page issues and OTLP spans, and open trace or SQL investigations | Exact service/type/message grouping with recognized severity schemas; persistent issue resolution, fuzzy grouping and cross-dataset correlation remain unavailable. See [Errors contracts and tests](error-analytics.md). |
134
-
|`/onboarding`| Discover accessible datasets, link each to its confirmed explorer, and guide ingestion and team setup | Dataset presence is not presented as proof of event arrival. Existing Add data owns ingestion configuration and verification. |
135
-
|`/new`| Explain server workspace scope; open connection settings or native setup | No API in this checkout provisions a separate hosted workspace. |
136
-
|`/keystone`, `/keystone/:id`| Native availability page and classic investigation handoff where available | No supported investigation/conversation API in this checkout. No claim that an ID exists or is accessible. |
137
-
|`/settings/llm-key`| Native availability pages and deployment-dependent classic handoff | No provider-key management API. No credentials are read, stored or submitted. |
|`/agents`, `/agents/:dataset`| Discover GenAI datasets; group related spans into runs; inspect status, duration, models, tokens, span trees, calls, errors, captured conversation and raw fields; preserve time/filter context across Agents, Traces and Logs | Bounded telemetry sample, with incomplete/missing fields disclosed. Evaluations and cost estimates are deferred. Demo uses explicit synthetic fixtures. |
132
+
|`/cluster`| Show registered distributed nodes, reachability, status, storage/staging locations and resource metrics from the existing cluster endpoints | Read-only. Standalone servers can report cluster administration unavailable. Node and metrics failures remain separate. |
133
+
|`/errors`, `/errors/:dataset`| Discover trace and log error datasets; group issues, query full-range frequency, inspect occurrences, sort/page issues and OTLP spans, and open trace or SQL investigations | Exact service/type/message grouping with recognized severity schemas; persistent issue resolution, fuzzy grouping and cross-dataset correlation remain unavailable. See [Errors contracts and tests](error-analytics.md). |
134
+
|`/onboarding`| Discover accessible datasets, link each to its confirmed explorer, and guide ingestion and team setup | Dataset presence is not presented as proof of event arrival. Existing Add data owns ingestion configuration and verification. |
135
+
|`/new`| Explain server workspace scope; open connection settings or native setup | No API in this checkout provisions a separate hosted workspace. |
136
+
|`/keystone`, `/keystone/:id`| Native availability page and classic investigation handoff where available | No supported investigation/conversation API in this checkout. No claim that an ID exists or is accessible. |
137
+
|`/settings/llm-key`| Native availability pages and deployment-dependent classic handoff | No provider-key management API. No credentials are read, stored or submitted. |
138
138
139
139
Network access (`/settings/network-access`) edits the real outbound alert-target policy via `GET` and `PUT /api/v1/alert-target-policy`. It is distinct from ingress access control. The full policy includes private-IP and invalid-TLS switches plus allowed/denied domains and CIDRs. Backend authorization and validation remain authoritative; failed saves retain the draft. The policy cache is per server node and loaded at startup; cross-node propagation is a backend limitation, not asserted by the UI.
Copy file name to clipboardExpand all lines: frontend/docs/validation-review.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,27 @@
1
1
# Frontend validation and independent review
2
2
3
+
## Agents run dashboard (2026-10-12)
4
+
5
+
Implemented on `feat/agent-runs-dashboard` from `origin/main``06030daa`. The [Mayfly Agents record](https://mayfly-celld.tail835e0d.ts.net/w/46ncdGypknzAj7dnRkJ8bQ?page=b3577b4a-031d-46d3-827a-df813856231a) lives beneath the existing native-screens page. Sol 6.1 implementation and integration reviewers, Opus 5.5 telemetry/browser/final reviewers, and Luna wiki discovery contributed to this change.
6
+
7
+
The list now groups observed spans by trace ID, falling back to explicit run IDs or isolated span/record identities when trace identity is absent. A trace is the run boundary; multiple top-level invocations within one trace remain one observed run. It shows successful, failed and incomplete status, observed duration, model names, input/output usage and loaded span counts. Search/status/model filters operate on loaded runs. Details provide the parent/child tree, model calls, tool calls, error messages/exception events, captured conversation and each span's raw records.
8
+
9
+
The query selects up to 100 recent trace IDs with GenAI fields, then fetches up to 1,000 related flattened records, including children without GenAI attributes. Exact half-open predicates apply to both scans using the dataset time partition, with a minute-expanded transport envelope. Event/link rows are deduplicated by span identity before usage aggregation; span-level conversation duplicated across event rows is shown once. Usage prefers model calls and avoids ancestor rollup duplication. Missing values stay distinct from zero. No evaluation scores, pricing data or cost estimates are introduced.
10
+
11
+
A valid ended span with OTel UNSET status is complete. An explicitly successful outer agent can recover from errors in its own descendants; failed ancestors or separate roots still fail the observed run, and unfinished ones keep it incomplete. Child errors remain inspectable and are disclosed. Missing status/completion, absent identities/parents, malformed hierarchy and incomplete query coverage are identified. Missing end epoch zero is authoritative even when ingestion supplied a misleading timestamp or saturated zero duration. The 100-trace and 1,000-record limits have separate visible notices. Query limits conservatively mark affected result coverage as partial, and runs starting before the selected ingestion window are flagged; the dashboard does not claim a complete run inventory or full-range aggregate totals.
12
+
13
+
The versioned `observe` URL context preserves captured UTC bounds, the preset label and each view's native filters across Agents, Traces and Logs. Logs keeps focused trace criteria separate from saved grouped filters; changing focus replaces the previous trace without losing AND/OR groups. Browser back/reload and dataset changes are covered. Bare trace-focused Logs bookmarks are supported. Run-specific links require a valid trace identifier. Demo rows remain synthetic and do not link to unrelated demo Logs/Traces datasets.
14
+
15
+
Captured demo screenshots: [run list](parity-screenshots/agents-runs/run-list-desktop.png), [desktop details](parity-screenshots/agents-runs/run-detail-desktop.png), and [390px mobile details](parity-screenshots/agents-runs/run-detail-mobile.png).
16
+
17
+
Final validation passed across the broad and focused runs:
18
+
19
+
- Formatting, TypeScript and the production build pass; **2,283 unit tests across 92 files** pass (14 opt-in/existing tests skipped).
20
+
-**537 distinct application tests** pass, with two optional screenshot-capture tests skipped. The broad run passed 535 cases; two legacy Logs URL assertions were updated to allow only the new `observe` parameter and passed in the focused rerun. The final affected Agents/navigation/handoff run passed 35 cases before exposing an intermittent rapid-filter race; that race was fixed and all 13 navigation cases then passed five consecutive repetitions (**65 executions, no retries**), followed by **16 Traces/Logs handoff tests**. The three added run-status unit regressions cover unfinished ancestors, separate roots and agent-owned descendants.
21
+
-**22 production-build browser tests** and **232 Storybook tests** pass, including accessibility and unchanged visual baselines. Browser suites ran under the shared lock in isolated `mcr.microsoft.com/playwright:v1.63.0-noble` containers.
22
+
23
+
The monolithic `npm run check` was not rerun after the final targeted corrections; its stages were verified through the full and focused runs described above. Three opt-in live tests also passed against a disposable `quay.io/parseablehq/parseable:v3.2.4` server (not rebuilt Rust): real OTLP event/link expansion and generic children, successful/recovered/failed/incomplete telemetry, missing usage, exact fractional time boundaries and exclusion of later same-trace records. The fixture dataset and container were removed. Reproduce with a disposable loopback server and `PARSEABLE_AGENTS_LIVE_URL=http://127.0.0.1:8393 npx vitest run src/lib/agents.live.test.ts`; credentials default to `fixture` / `fixture-throwaway` and can be supplied using the matching `PARSEABLE_AGENTS_LIVE_USERNAME` / `PARSEABLE_AGENTS_LIVE_PASSWORD` variables.
24
+
3
25
This record distinguishes the current worktree's completed checks from the supplied earlier research. Original Prism source was not recovered; visual comparisons use actual rendered v3.2.4 assets and an independently implemented frontend. No deployed service or the reference checkout was modified.
0 commit comments