The meter read 1.1M commands and 133,421 connections, against 17,000 writes.
The queue cannot produce that: an idle worker asks once every fifteen seconds
and a run publishes a progress line at a time.
It was CrewAI's lock. With REDIS_URL set, CrewAI uses `portalocker.RedisLock` -
a pub/sub lock: `pubsub_numsub`, `client_setname`, `subscribe`, a second
`pubsub_numsub` and an `unsubscribe`, on a pubsub connection opened and closed
around them, with a thread polling every 100ms while it is held. One is taken
per `Crew(...)` built and another per task output stored, and this platform
builds a crew per model call.
What it guards is a SQLite file in the container's own storage directory, so a
distributed lock has nothing to coordinate. The file backend existed but was
installed only when a probe found Redis unreachable - covering the laptop and
never the server. It is installed always now.
Also: the event stream wrapped a `get_message()` that defaults to timeout=0 in
`wait_for(..., 2.0)`…
«Did the deploy land?» had no answer on this API, so it was answered by
picking a marker and polling for it - and the marker picked was the static
pipeline's step order, which had shipped in the *previous* commit and was
already true. The Space was still building; a run was resumed against the old
code and failed with the exact error the deploy was meant to fix.
`/health` now returns `build`, read from `app/BUILD.txt`, which the deploy
writes the SHA into. One curl, no guessing.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The planner no longer receives the evidence it never reads, the quality
pass is off on its own measurements, the outline is held to the number of
مواضيع the page count pays for, a محور is written in one call instead of
one per موضوع, and the writer's model comes from settings.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
ContiAI platform: API and queue worker in one container