V1 Web PWA · Surface walkthrough

Isis Analytics and Reporting

A per-surface walkthrough of the V1 Web PWA studio surface: layout, states, interactions, data, and cross-references.

walked
8sections2 minread

On this page

Context. surface studio · domain isis · route /studio/isis/analytics-and-reporting · auth signed-in + studio entitlement (segment not in AAA_ONLY_STUDIO_ROUTES — renders as-is) · source apps/oshun/web/src/app/studio/isis/analytics-and-reporting/page.tsx

Last walked. 2026-05-29 automated runtime walk (Playwright headless) — render, /v1 data (2xx), console/page-errors, expected content, screenshot verified; live screen-reader, touch, offline, and telemetry-delivery checks pending a manual AT pass. Evidence: WALKTHROUGH/results/runtime-sweep-2026-05-29.md; body re-derived 2026-06-03 from current source (lane-console architecture)

Purpose#

Admin lane console for generation-pipeline reliability analytics. It aggregates a set of retry attempts into success/failure counts, success rate, and average attempts-to-success, and previews the scheduled backoff delay for a given attempt under a chosen strategy. Reads and writes flow through /v1/admin/isis/analytics-reporting; admin-scoped and fail-closed.

Entry points#

  • Sibling quick-action from /studio/isis/cost-optimization-engine
  • Studio index (/studio)
  • Direct URL / bookmark

Layout regions#

page.tsx mounts <ShellLayout active="studio"> (no breadcrumb panel) and three panels: the workspace, the Route Map, and sibling quick-actions.

  • Header: shell header
  • Workspace panel (data-isis-analytics-and-reporting-workspace):
    • <h1> (WorkspaceHeading) "Isis Analytics and Reporting Workspace"
    • Summary paragraph (data-isis-analytics-and-reporting-summary)
    • Retry-stats form (data-isis-ar-stats-form) + stats result (data-isis-ar-stats-result with data-isis-ar-stat-total / -success / -rate / -avg)
    • Backoff-preview form (data-isis-ar-backoff-form) + result (data-isis-ar-backoff-result)
  • Route Map panel (data-isis-analytics-and-reporting-route-map): <h2>Route Map</h2> over the route map (5 entries)
  • Sibling quick-actions panel: /studio/isis/cost-optimization-engine, /studio

States#

  • Loadingoutcome === null; data-isis-ar-loading
  • Unauthorized — 401/403 admin-scope fail-closed; data-isis-ar-unauthorized
  • Error — non-OK / malformed catalog; data-isis-ar-error
  • Ready (forms) — both forms render
  • Result — stats result (data-isis-ar-stats-result) or backoff result (data-isis-ar-backoff-result); per-form errors data-isis-ar-stats-error / data-isis-ar-backoff-error

Interactions#

Retry-stats form (data-isis-ar-stats-form)#

  • Retry attempts (JSON) (data-isis-ar-field-attempts, textarea, aria-label="retry attempts json")
  • Aggregate retry stats (data-isis-ar-stats-submit, submit) — POST /v1/admin/isis/analytics-reporting/retry-stats

Backoff-preview form (data-isis-ar-backoff-form)#

  • Strategy (data-isis-ar-field-strategy, <select>)
  • Attempt (data-isis-ar-field-attempt, input)
  • Base ms (data-isis-ar-field-base, input)
  • Max ms (data-isis-ar-field-max, input)
  • Mult (data-isis-ar-field-multiplier, input)
  • Preview backoff (data-isis-ar-backoff-submit, submit) — POST /v1/admin/isis/analytics-reporting/backoff; shows scheduled delay (ms)

Route Map#

  • Route-map articles ×5

Sibling quick-actions#

  • Open Isis Cost Optimization Engine workspace/studio/isis/cost-optimization-engine
  • Back to Studio workspace index/studio

Data & contracts#

  • Reads: GET /v1/admin/isis/analytics-reporting (catalog probe)
  • Writes: POST /v1/admin/isis/analytics-reporting/retry-stats; POST /v1/admin/isis/analytics-reporting/backoff
  • Realtime: none
  • Caching: client fetch on mount, cache: 'no-store', buildBffAuthHeaders()
  • Auth/role check: admin-scoped, fail-closed (401/403); route signed-in + studio entitlement
  • Component sources:
    • apps/oshun/web/src/components/studio/StudioIsisAnalyticsAndReportingWorkspace.tsx
    • apps/oshun/web/src/components/studio/StudioIsisAnalyticsAndReportingRouteMap.ts

Cross-references#

Open questions / known gaps#

  • No breadcrumb on this route — navigation via sibling quick-actions
  • Route-map sub-paths (/scenes, /exports, /revisions, /governance) are declared but not yet implemented as separate pages