Add Runtime observability and lightweight PostgreSQL history - #30
Merged
Merged
Conversation
added 15 commits
September 22, 2026 14:47
…bility-microsandbox
…er' into codex/runtime-observability-microsandbox # Conflicts: # services/agents-api/cmd/server/main.go
…bility-docker # Conflicts: # packages/agents-client/src/client.ts
…bility-microsandbox # Conflicts: # packages/agents-client/src/client.ts
…er' into codex/runtime-observability-microsandbox
added 8 commits
September 23, 2026 02:05
added 4 commits
September 23, 2026 17:31
…bility-microsandbox # Conflicts: # apps/web/e2e/agents-lifecycle.spec.ts # apps/web/src/App.tsx # packages/agents-client/src/types.ts # services/agents-api/cmd/server/main.go # services/agents-api/internal/api/handler.go
…osandbox' into codex/runtime-observability-clickhouse # Conflicts: # apps/web/src/features/dashboard/RuntimeTrendCharts.tsx # contracts/agents-api/runtime-history-api.md # packages/agents-client/src/runtime-history-projection.ts # services/agents-api/internal/api/runtime_history_test.go # services/agents-api/internal/runtimehistory/clickhousereader/reader_test.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Core Web now restores recent Runtime CPU, memory and canonical Session token history after refresh or Core restart, using the existing Core PostgreSQL database. No ClickHouse or Collector deployment is required.
Validation:
make check, including real dedicated PostgreSQL, generated SQL consistency, Web/browser, native helper, Claude, MiniMax and Rust checks.History is best-effort operational telemetry, not execution, billing or Usage authority. Retention is seven days; queries span at most 24 hours. This batch qualifies Docker and microsandbox telemetry, not additional providers. A failed test namespace permission setup left a never-created allocation cleanup record; no compute remains and that existing lifecycle follow-up is recorded separately.
Closes #19.
Closes #27.
Closes #38.
Supersedes #15.