Orchestrata Ultimate › Sessions › Session 239

Session 239

Field Value
Session 239
Date 2026-07-15 11:01
Model Claude Opus 4.6
Length 0h 7m
Tag session-239-2026-07-15-1101
Source archive (context.history.md)

‹ previous · next › · range page · timeline

Prose pending.

Purpose

Fix Memgraph test-schema leak: per-label indexes/constraints never dropped by clear_prefixed (10k debris entries on orchgraph cluster, 17-min boot recovery)

Work log

  1. Root-caused the shared-cluster schema leak: clear_prefixed/clear drop nodes + vector index but never the per-label constraint + 2 indexes _ensure_schema creates; every test run leaked them permanently (3,379 labels -> 6,713 indexes + 3,323 constraints, ~17 min boot recovery per data node). Purged the live cluster (both instances now 73 idx/19 cons/0 debris, snapshots refreshed).
  2. Wired drop_chunk_label_schema() into all 6 leak sites: 3 memgraph_graph fixtures (test_memgraph_adapter, test_ingestion, test_spec_trace_enrichment), test_custom_chunk_label_isolation, and both ingest-script finally blocks; added regression test test_drop_chunk_label_schema_removes_constraint_and_indexes (asserts 2 indexes + constraint dropped, :Entity schema untouched, idempotent). Gates: black+ruff clean; 79+27 tests passed vs real cluster; post-run cluster debris = 0 on both instances.

Artifacts

Decisions

Upcoming

Handoff