Skip to content

v1.23.0 — Logging and tracing control plane

Latest

Choose a tag to compare

@solomon2773 solomon2773 released this 21 Nov 16:41

Highlights

  • Logging and tracing control plane. Agent output is collected (opt-in), encrypted, and stored in S3/R2-compatible object storage with retention sweeping, search, export, deletion, and recovery — and agents can emit OTLP traces into the same plane. The operator dashboard's Logs page gains Runtime and Traces lenses (including a trace waterfall), workspaces control retention, and the admin dashboard gains Log Collection, Log Storage, and Log Recovery surfaces. Collection is off until an admin turns it on; setup.sh/setup.ps1 ask during install and upgrade, and Kubernetes installs get full Helm parity with chart guards. See the logging guide.
  • Community bug-fix batch — six externally reported issues fixed (#450–#453, #455, #456; see Fixes below). Thanks to @rileydev for six unusually complete diagnoses and to @abhiishek-sharma for a first contribution.
  • Security dependency sweep clearing every open critical and high advisory (#499, #500): Next.js 16.4.6 across all three frontends, nodemailer 10.6, MCP SDK 1.32 (+ @hono/node-server 2.x), undici 7.30, and the full transitive set (handlebars, proxy-addr, source-map-js, sharp, @grpc/grpc-js, follow-redirects, ip-address, js-yaml, fast-uri, zod, brace-expansion). npm audit --omit=dev --audit-level=high is clean in every workspace; repository alerts went from 129 (13 critical / 30 high) to 10 moderate, all under documented holds or dev-only.

Fixes

  • Advisory-lock sessions work through pooled Postgres endpoints: lock waits are bounded with a session-scoped set_config after connect instead of a -c lock_timeout= startup parameter that transaction poolers reject — previously provider writes and deploy finalization failed silently against a pooled DATABASE_URL (#453, PR #494).
  • Remote-docker Hermes agents return the connect block (runtime API URL + key, dashboard URL + basic-auth) from the persisted agent row, with an explicit apiKeyIssue reason when the key cannot be resolved (#456, PR #497).
  • Remote Hermes deploys publish the runtime port correctly — HERMES_RUNTIME_PORT is exported from the shared contracts module instead of resolving to "undefined/tcp" (#450, PR #495).
  • The deploy picker offers registered remote Docker hosts for every runtime family the backend catalog supports, Hermes included (#455, PR #496).
  • Compose-network detection fails closed on ambiguity instead of picking the first *_default match, with the new NORA_COMPOSE_NETWORK override consulted before any heuristic (#452, PR #498).
  • A mixed-case DEFAULT_ADMIN_EMAIL no longer seeds an admin account the login lookup can never match — contributed by @abhiishek-sharma (#451, PR #492).

Upgrade notes

  • An agent now belongs to at most one workspace. On first start after upgrading, an agent linked to more than one workspace keeps its oldest link; the others are removed (audited in the events table) and the removal cannot be undone. Check before upgrading:
    SELECT agent_id, count(*) AS workspaces FROM workspace_agents GROUP BY agent_id HAVING count(*) > 1;
  • Two new required secrets: NORA_LOG_ENCRYPTION_KEY and NORA_OTLP_INGEST_SECRET. setup.sh, setup.ps1, and one-click upgrades generate them; manual upgraders must add them to .env first.
  • Log collection stays off after an upgrade until you enable it (Settings → Log Collection, or NORA_LOG_ENABLED=true). Helm installs that enable it must use s3/r2 log storage and keep workerProvisioner.replicas at 1.
  • The full upgrade notes are in the CHANGELOG.

Verification

  • Release prep commit CI: CI Quality (44923906234), CI Compose Pipeline (44923906349), CI Security (44923906223), Supply chain (44923906256), CodeQL (44923904814) — all green, including the Playwright E2E suite.
  • Every constituent PR (#488, #492–#500, #502, and the #454 logging sprint) landed with the full CI matrix green; #493 also repaired the worker suite's clock-sensitive test so the matrix is trustworthy again.
  • Local validation on the release tree: backend-api 2,766 tests; workers/provisioner 265; agent-runtime 91; frontend-dashboard 104 + typecheck; admin-dashboard 15 + typecheck; frontend-marketing 16; mcp-server 12.
  • Dependency audit workflow dispatched post-sweep and green (run 44880768301); the Community Response SLA audit is green with every external report answered.
  • This release includes database schema additions for log segments, spans, and settings, plus the one-way workspace-link migration described in the upgrade notes.