<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Evelyn Caro</title>
    <description>The latest articles on DEV Community by Evelyn Caro (@qaevelyn).</description>
    <link>https://dev.to/qaevelyn</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4173308%2F2a16ef2d-97b9-4421-95d0-b6c9ed71b341.png</url>
      <title>DEV Community: Evelyn Caro</title>
      <link>https://dev.to/qaevelyn</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/qaevelyn"/>
    <language>en</language>
    <item>
      <title>My RAG pipeline died three nights in a row. So I rebuilt it to assume it would die.</title>
      <dc:creator>Evelyn Caro</dc:creator>
      <pubDate>Fri, 09 Oct 2026 16:09:41 +0000</pubDate>
      <link>https://dev.to/qaevelyn/my-rag-pipeline-died-three-nights-in-a-row-so-i-rebuilt-it-to-assume-it-would-die-33ik</link>
      <guid>https://dev.to/qaevelyn/my-rag-pipeline-died-three-nights-in-a-row-so-i-rebuilt-it-to-assume-it-would-die-33ik</guid>
      <description>&lt;p&gt;After my document-ingestion pipeline died three nights in a row, I stopped trusting "it should work" and rebuilt the ingestion layer around one assumption: &lt;strong&gt;it will die.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It has since survived 5 session kills and 19 watchdog restarts across a 127-conversation corpus (~8.2M characters, ~11,400 chunks) — &lt;strong&gt;zero conversations lost, zero duplicates.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What actually mattered, in order
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Idempotent writes (upserts)&lt;/strong&gt; — re-runs never duplicate, so crashes cost nothing&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Checkpoint written BEFORE the work it describes&lt;/strong&gt; — the sidecar resumes exactly where it stopped&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Each vector-store write in a subprocess&lt;/strong&gt; — a wedge poisons one conversation, never the whole run&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Per-chunk logging&lt;/strong&gt; — a watchdog that kills "quiet" processes kills working ones; the log must tell the truth&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A watchdog with a staleness timeout calibrated to the logging rate&lt;/strong&gt; — one known coupling, documented&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What did NOT matter
&lt;/h2&gt;

&lt;p&gt;The embedding model, the vector DB choice, the framework. All swappable. &lt;strong&gt;The resilience architecture is the actual product.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The stack
&lt;/h2&gt;

&lt;p&gt;Fully local: Ollama + nomic-embed-text + ChromaDB on an 8GB MacBook Air, no cloud, no API keys, no accounts. Airplane-mode safe.&lt;/p&gt;

&lt;p&gt;The suite is three tools, AGPL, published: &lt;a href="https://github.com/qaevelyn/a-mirror-of-my-becoming-suite-ingestion-tools" rel="noopener noreferrer"&gt;Scribe (ingest engine + sidecar checkpoint), Warden (watchdog), Hand (subprocess-isolated writes)&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The failure story, with receipts
&lt;/h2&gt;

&lt;p&gt;The full design rationale — including the night a three-day wedge was diagnosed as a &lt;em&gt;logging&lt;/em&gt; failure, not a systems failure, and my own records had to be corrected for counting restarts instead of completions — is published: &lt;a href="https://qaevelyn.github.io/white-papers/the-cache-is-not-the-corpus/" rel="noopener noreferrer"&gt;The Cache Is Not the Corpus&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A record that hides its own errors is publicity, not documentation.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Next in this series: what the watchdog-vs-heartbeat design teaches about building AI systems that survive their operators. Follow if that's your lane.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>python</category>
      <category>tutorial</category>
      <category>dataengineering</category>
    </item>
  </channel>
</rss>
