build(tenant-image): #1812 remove memory-backfill binary post-A3 #1814
Reference in New Issue
Block a user
Delete Branch "chore/issue-1812-remove-backfill-from-image"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Closes #1812. Removes the memory-backfill CLI build + bundle from
Dockerfile.tenant.Bundled in #1796 to support the Phase A2 backfill. After Phase A3 (#1809) dropped the source table, the binary became permanently inert — running it now errors with
pq: relation "agent_memories" does not exist.Source still lives in
cmd/memory-backfill/for history. Safe to delete entirely in a future cleanup PR.Impact: ~7MB smaller tenant image, no foot-gun for operators trying to run a tool that can't possibly work.
SOP Checklist (RFC #351)
1. Comprehensive testing performed
2. Local-postgres E2E run
N/A. Docker layer change.
3. Staging-smoke verified or pending
Post-merge + tenant recycle:
docker exec molecule-tenant ls /memory-backfillshould return "No such file or directory".4. Root-cause not symptom
Yes. The binary was useful for one specific operation (Phase A2 backfill). That operation completed. Continuing to bundle it ships dead code.
5. Five-Axis review walked
Walked solo. Trivial change.
6. No backwards-compat shim / dead code added
Net -16 LOC, +8 LOC (the +8 is the explanatory comment about why the build was removed). The dead code is what's being deleted.
7. Memory/saved-feedback consulted
Approving PR #1814: trivial post-A3 cleanup, mirrors #1796 in reverse. CTO-bypass 2026-05-24.
Approving PR #1814: trivial post-A3 cleanup, mirrors #1796 in reverse. CTO-bypass 2026-05-24.
Cross-author LGTM — clean implementation.