Skip to content

v1.20.0 — Deploy-status integrity and signup control

Choose a tag to compare

@solomon2773 solomon2773 released this 06 Sep 18:53

v1.19.0 closed the deploy-race class where cleanup could destroy an agent's durable state; this release closes the remaining half of that class — status writes that could still knock an agent out of its deploy lifecycle — and adds runtime signup control for self-hosted operators.

Highlights

  • SIGNUP_ENABLED runtime signup control. Set SIGNUP_ENABLED=false to block public password signup and new-OAuth account creation while existing users keep logging in. The backend's SIGNUP_DISABLED guard is the security boundary and runs before rate limiting; the marketing site hides signup entry points only on an explicit disabled flag (fail-open, so a transient API failure or an older backend never strips CTAs from the page), and setup.sh / setup.ps1 persist the choice. The backend warns at boot when signup is disabled on an empty database, so a fresh install can't lock itself out silently.
  • CLI monitoring-event filters. nora monitoring events accepts --search, --type, --from, and --to to narrow the event stream from the terminal. Contributed by @oldregime.
  • Admin Remote Hosts pages localized into Spanish, French, Simplified and Traditional Chinese, with an AST-based contract test that fails if untranslated copy is added to those pages later. Contributed by @be-student.

Fixes

  • Liveness writes no longer clobber a deploying agent. Every status write from the exec/log stream paths, agent routes, admin routes, and the gateway proxy is now compare-and-swap guarded on the observed status, with deploying and queued excluded, and the in-memory status mirror updates only when the database row actually changed. Previously, a health probe or stream event landing during a deployment could overwrite the lifecycle status, which made the provisioner's own guarded finalize see a foreign status and destroy the replacement runtime it had just built. Base fixes contributed by @MichaelAtram (#417, #418), remaining gaps closed in #424.
  • Status reconciliation refuses deploy-lifecycle states. A stale health snapshot arriving mid-deployment can no longer flip an agent out of deploying/queued.
  • setup.ps1 preserves the last environment assignment when rewriting .env on Windows.

Changed

  • Test and CI coverage: the frontend-marketing unit suite now runs in the compose pipeline; the OpenAPI drift test covers the hermes-skills routes in both directions; agentHubSafety and releaseInfo gained dedicated unit suites (the latter two contributed by @oldregime).

Operator notes

  • Nothing to migrate. No schema or API changes. SIGNUP_ENABLED defaults to true — existing installs are unaffected until you set it.
  • If you run with signup disabled, invited-workspace flows still require an existing account; there is no invite-time account creation yet.

Verification

Prep commit 8a7d4c9, all five required workflows green:

  • CI Quality — run 34052706161
  • CI Compose Pipeline — run 34052706194
  • CI Security — run 34052706138
  • Supply chain — run 34052706146
  • CodeQL — run 34052708251

Deploy-race guards verified by backend-api unit suites including new lost-CAS regression tests; #430 verified with the new Remote Hosts i18n contract test, tsc --noEmit, and full CI on the PR head.

Full Changelog: v1.19.0...v1.20.0