Skip to content

Add Sandbox lifecycle and Runtime activity metrics - #62

Merged
sam2tom merged 10 commits into
mainfrom
codex/runtime-lifecycle-metrics
Sep 24, 2026
Merged

sam2tom merged 10 commits into
mainfrom
codex/runtime-lifecycle-metrics

Conversation

@sam2tom

@sam2tom sam2tom commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • expose provider-neutral managed Runtime lifecycle state in the public observation contract and strict client projection
  • show current Sandbox active, sleeping, transitioning/pending, and total counts on Dashboard
  • replace Compute uptime charts with Session-level Runtime active 0/1 stepped series for live and durable views
  • aggregate durable activity across allocations and project missing or unavailable buckets as inactive
  • preserve the latest main branch Session metrics cache and no-flicker tab behavior

Validation

  • make openapi
  • Core Web: 70 files / 690 tests passed; typecheck and production build passed
  • agents-client: 9 files / 380 tests passed; typecheck passed
  • focused Runtime Observation Go tests passed
  • Agents API contract Go tests passed
  • two affected Playwright Dashboard acceptance tests passed
  • independent blind review completed with no remaining blockers or material nonblockers
  • make check was started and passed its console, installer, manifest, shell, and console-build stages, then stopped because PARSAR_AGENTS_API_TEST_DATABASE_URL is not configured on this host

Scope

  • no database migration or ClickHouse dependency
  • no provider-native identifiers exposed
  • no lifecycle mutations
  • historical sleeping versus collection failure is intentionally not distinguished yet; both project to 0

sam added 9 commits September 23, 2026 20:57
…bility-active-sandboxes

# Conflicts:
#	apps/web/src/features/dashboard/RuntimeTrendCharts.tsx
…le-metrics

# Conflicts:
#	apps/web/src/features/dashboard/DashboardView.test.tsx
#	apps/web/src/features/dashboard/RuntimeTrendCharts.tsx
#	apps/web/src/features/sessions/SessionsView.tsx
…bility-active-sandboxes

# Conflicts:
#	apps/web/src/features/dashboard/DashboardView.test.tsx
#	apps/web/src/features/dashboard/RuntimeTrendCharts.tsx
#	apps/web/src/features/sessions/SessionsView.tsx
# Conflicts:
#	apps/web/e2e/agents-lifecycle.spec.ts
#	apps/web/src/features/dashboard/DashboardView.test.tsx
#	apps/web/src/features/dashboard/RuntimeTrendCharts.test.tsx
#	apps/web/src/features/dashboard/RuntimeTrendCharts.tsx
#	apps/web/src/features/dashboard/runtime-history.test.ts
#	apps/web/src/features/dashboard/runtime-trends.ts
#	contracts/agents-api/runtime-observability-design.md
@sam2tom
sam2tom merged commit df021f1 into main Sep 24, 2026
2 of 3 checks passed
@SaladDay
SaladDay deleted the codex/runtime-lifecycle-metrics branch October 7, 2026 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant