{"slug": "shrinking-the-footprint-and-cleaning-the-pipes", "title": "Shrinking the Footprint and Cleaning the Pipes", "summary": "Poindexter shipped several improvements on June 24, 2026, including wrapping DeployCheckoutSync in a VBS helper to suppress flashing terminal windows on Windows. The team folded embedding hygiene jobs into a declarative retention_policies framework, deleting 2,550 lines of legacy code and adding a min_interval_hours column for weekly collapse jobs. A minimal Docker Compose profile targeting 8-16GB VRAM hardware reduced idle RAM usage from over 20 GB to about 4-6 GB by stripping out heavy observability stacks.", "body_md": "*What we shipped on 2026-06-24*\n\nWe finally stopped the flashing terminal windows on our desktop by wrapping `DeployCheckoutSync`\n\nin a VBS helper (`run-hidden.vbs`\n\n) to force `SW_HIDE`\n\nat the process level (PR #1917). It's a classic Windows quirk--`-WindowStyle Hidden`\n\nisn't enough when child processes like `git.exe`\n\nor `python.exe`\n\ndecide to call `SetConsoleTitle`\n\nand wake up the console API.\n\nThe biggest architectural win today was folding our embedding hygiene jobs into the declarative `retention_policies`\n\nframework (PR #1909). We were carrying around 2,550 lines of legacy job code that we just deleted. Now, tasks like `embeddings_orphan_prune`\n\nand `embeddings_collapse`\n\nare handled by a unified runner. We added a `min_interval_hours`\n\ncolumn to the policies so these heavy collapse jobs run weekly instead of every 6 hours, which is much more sane for our resource budget. To make this usable without raw SQL, we shipped a new CLI subcommand `poindexter retention config`\n\nto patch the JSONB configs (PR #1911), paired with five new Grafana panels in `integrations-admin`\n\nto track orphan pruning and collapse rates.\n\nWe also spent some time lowering the barrier for entry with a minimal Docker Compose profile targeting 8-16GB VRAM hardware (PR #1924). By stripping out the heavy operator observability stack--specifically Langfuse, GlitchTip, and the Loki/Tempo/Pyroscope trio--we dropped idle RAM usage from over 20 GB down to about 4-6 GB. We downgraded Langfuse variables to optional and forced `LANGFUSE_TRACING_ENABLED: \"false\"`\n\nso the SDK stays quiet when keys are missing.\n\nOn the bug front, we found a few leaks in our featured image flow. The `replace_image`\n\nservice was updating `pipeline_versions.featured_image_url`\n\nbut forgetting to sync `posts.featured_image_url`\n\n, meaning live sites never actually updated (PR #1918). While fixing that, we caught a silly mistake where the Pexels API key was being read via `.get()`\n\ninstead of `.get_secret()`\n\n, which returned `None`\n\nbecause secrets are excluded from the in-memory cache.\n\nA few other tight fixes:\n\n`format=json`\n\nto `ChatOllama`\n\n(PR #1914) because `phi4:14b`\n\nwas wrapping JSON responses in markdown code fences, which crashed the Ragas output parser.`UndefinedColumnError`\n\nin `poindexter pipeline list-paused`\n\nby replacing a direct table query with a correlated subquery into `pipeline_versions`\n\nto correctly fetch `task_metadata`\n\n(PR #1916).`_citation_match.py`\n\nwhere an inner loop variable `src`\n\nwas clashing with the outer source list (PR #1923).We're also making progress on the video front, shipping both the infra half (PR #1902) and the generative source logic (PR #1895) for the Wan 2.2 TI2V-5B hero renderer.\n\nThe system feels leaner today. Between the RAM reductions and the retirement of thousands of lines of job code, Poindexter is becoming less of a monolith and more of a tool.\n\n*Auto-compiled by Poindexter from today's commits and PRs. See the work: github.com/Glad-Labs/poindexter.*", "url": "https://wpnews.pro/news/shrinking-the-footprint-and-cleaning-the-pipes", "canonical_source": "https://dev.to/glad_labs/shrinking-the-footprint-and-cleaning-the-pipes-48if", "published_at": "2026-06-25 17:03:51+00:00", "updated_at": "2026-06-25 17:12:58.683090+00:00", "lang": "en", "topics": ["developer-tools", "machine-learning", "artificial-intelligence"], "entities": ["Poindexter", "Glad Labs", "Langfuse", "GlitchTip", "Loki", "Tempo", "Pyroscope", "Pexels"], "alternates": {"html": "https://wpnews.pro/news/shrinking-the-footprint-and-cleaning-the-pipes", "markdown": "https://wpnews.pro/news/shrinking-the-footprint-and-cleaning-the-pipes.md", "text": "https://wpnews.pro/news/shrinking-the-footprint-and-cleaning-the-pipes.txt", "jsonld": "https://wpnews.pro/news/shrinking-the-footprint-and-cleaning-the-pipes.jsonld"}}