Skip to content

v0.5.1: Stability

Latest

Choose a tag to compare

@MYCL94 MYCL94 released this 23 Nov 05:07
d52c922

A stability release. No new features: it fixes what a Docker restart, parallel use, a fresh install and a real model exposed. No data migration.

Upgrading from 0.5.0

Pull the new images and start the stack as usual (docker compose pull && docker compose up -d). Two things to know:

  • ClickHouse, existing installs. The first start with this version renames each old ClickHouse system log table to <name>_0 and starts new ones that expire old rows. The old data stays and no longer grows. To get the space back, drop the _0 tables: the command is in docs/operations.md. New installs need nothing. On the stack this was found on, the system logs held 6.3 GB of a 6.9 GB volume after 13 days.
  • Audit without access. GET /replay/workflows now answers 403 with a reason for a user who has no audit access to any knowledge base, where it used to answer 200 with an empty list.

Existing .env files keep their values. .env.example now ships a rate limit of 600 requests a minute, and documents CORS_ORIGINS and NEXT_PUBLIC_BACKEND_URL.

Published with this release

Artifact Version
Containers: spaider-backend, spaider-worker, spaider-frontend (GHCR) 0.5.1

The Python packages are unchanged: spaider-cli 0.2.0, spaider-client 0.2.0, spaider-edge 0.1.0, spaider-ros2 0.1.0. The ClickHouse log fix is in the repository's compose file and reaches spaider-cli users with its next release.

Fixed

Restarts and start order

  • Kafka was reported as unavailable for as long as the API ran if it was not up in the first seconds. The API now connects in the background and /health asks the broker.
  • After a restart of Docker, Neo4j, Redis, ClickHouse and Postgres that were slower than the API stayed missing: no vector index (semantic search broken), no swarm listener, no analytics, no connector tables. Each is retried until it answers. Restarting the Docker daemon five times in a row left nothing broken, and every one of the ten services can be stopped and started on its own.
  • On a new database, the API and the worker could create the same schema at the same moment and the loser's error was swallowed, which left the vector index missing. It is retried.
  • The worker crashed in a loop while Kafka was not up, and it skipped semantic duplicate matching for every message.
  • Kong answered 502 for minutes after the backend container was recreated.

Audit and analytics

  • The audit log lost rows under parallel use (25 of 40 query rows and 27 of 80 workflows in a test), because one shared ClickHouse session refused parallel queries and a failed insert was logged only at debug level. Failed rows are now kept and written again, and failures are logged.
  • Filtering the audit log by knowledge base failed in ClickHouse and fell back to a seven-day Kafka scan. A fallback or an unavailable audit store is now reported as complete: false or 503, instead of an empty list with status 200.
  • The audit page asked for its list twice and the later answer won, so results appeared and vanished.
  • /analytics/overview and /analytics/top-agents always answered 503, and GET /graph/stats returned 0 for every type.
  • A reader without audit access to any knowledge base saw an empty audit log. The API answers 403 with the reason and the page shows it.
  • ClickHouse's own system logs were never deleted and grew by about 0.5 GB a day. They now expire after three days (the busy ones) or two weeks.

Fresh installs

  • A fresh install had a rate limit of 60 requests a minute and hit "API rate limit exceeded" within a minute.
  • The Studio called the API at a fixed localhost:8000 and the allowed origins were fixed in the code. CORS_ORIGINS and NEXT_PUBLIC_BACKEND_URL replace both.
  • The live feed stayed dead after the connection dropped because its single-use ticket was reused. It reconnects with a new one.

Studio

  • Three knowledge base pickers that did not know about each other are one, in the header, and a pick no longer loads a graph on pages that do not show one.
  • Cmd+K (Ctrl+K) did not open the command palette on the Studio and the Multiverse.
  • The Settings page listed services that do not exist and showed services that are switched off as failed. /health reports disabled for them, and spaider doctor no longer says "All clear" while a service is down.
  • Every page now passes the axe accessibility checks: low contrast text and the primary button, buttons and sliders without a name, and labels that were not tied to their fields. The memory and supersession switches say which side is on.
  • npm run lint did not work and CI did not run it.

Answers

  • An answer that cited its evidence as [Evidence: n4] or [n3, n5], as real models often do, came back with no citations. Both forms are read now.

Added

  • /health reports clickhouse and postgres, and a status of ok, degraded or down.
  • Audit list and event responses carry complete and source.
  • A test rig (backend/tests/rig) with a README: a throwaway full stack in Docker for browser, load and restart tests. 126 Playwright tests run on it, with a stub model and with a real local one. CI checks every API call the Studio makes against the OpenAPI file.

Changed

  • Docker images and CI use Node 24. Dependency updates include FastAPI 0.162, Uvicorn 0.54, the Neo4j driver 6.4, Next.js 16.4, React 19.3, framer-motion 14 and ESLint 10.
  • backend/uv.lock is regenerated, and Dependabot now updates the lock files of backend/ and benchmarks/ together with their manifests.

Full changelog: v0.5.0...v0.5.1