Skip to content

chore(hanzo-memory): drop orphaned Redis service from compose - #34

Merged
zeekay merged 1 commit into
mainfrom
feat/drop-redis-compose
Jun 16, 2026
Merged

chore(hanzo-memory): drop orphaned Redis service from compose#34
zeekay merged 1 commit into
mainfrom
feat/drop-redis-compose

Conversation

@zeekay

@zeekay zeekay commented Jun 16, 2026

Copy link
Copy Markdown
Member

What

Removes the orphaned redis: service (and its redis_data volume) from
pkg/hanzo-memory/compose.yml.

Files modified

  • pkg/hanzo-memory/compose.yml

Why this is a clean drop (no consumer migration)

The memory service in this compose never referenced Redis:

  • It sets no REDIS_URL env var.
  • It has no depends_on: redis.

Runtime confirms Redis was always optional and unconfigured:

  • src/hanzo_memory/config.py defaults redis_url=None.
  • The redis: block was gated behind the with-cache profile with no
    service ever joining it.

This is an orphaned declaration — nothing consumed it, so there is no
base migration to perform. Per the "no redis / no kv" policy the dead block
is simply deleted.

Tested

$ docker compose -f pkg/hanzo-memory/compose.yml config
# exit 0 (compose validates structurally; redis block gone)

The `memory` service never set REDIS_URL and never wired itself to the
Redis container. Runtime config (src/hanzo_memory/config.py) defaults
redis_url=None — caching via Redis is optional and unconfigured. The
`redis:` block was a dead, profile-gated (with-cache) declaration with
no consumer.

Per "no redis, no kv" policy: remove the orphaned block and its volume.
No consumer migration needed (nothing consumed it).
@zeekay
zeekay merged commit 28bc75d into main Jun 16, 2026
8 of 17 checks passed
@zeekay
zeekay deleted the feat/drop-redis-compose branch June 16, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant