<?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: Mikheil Galoian</title>
    <description>The latest articles on DEV Community by Mikheil Galoian (@mikheil_galoian_da78478f9).</description>
    <link>https://dev.to/mikheil_galoian_da78478f9</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%2F3992100%2Fa6f1dbb8-a854-415c-81b7-0dba8edeccf2.jpg</url>
      <title>DEV Community: Mikheil Galoian</title>
      <link>https://dev.to/mikheil_galoian_da78478f9</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mikheil_galoian_da78478f9"/>
    <language>en</language>
    <item>
      <title>Green CI proves nothing failed. Here's a deterministic check that proves nothing regressed.</title>
      <dc:creator>Mikheil Galoian</dc:creator>
      <pubDate>Fri, 19 Jun 2026 08:11:00 +0000</pubDate>
      <link>https://dev.to/mikheil_galoian_da78478f9/green-ci-proves-nothing-failed-heres-a-deterministic-check-that-proves-nothing-regressed-14g3</link>
      <guid>https://dev.to/mikheil_galoian_da78478f9/green-ci-proves-nothing-failed-heres-a-deterministic-check-that-proves-nothing-regressed-14g3</guid>
      <description>&lt;p&gt;Your CI is green. The PR merges. Prod breaks anyway.&lt;/p&gt;

&lt;p&gt;A passing test suite proves exactly one thing: &lt;strong&gt;no test that exists, failed.&lt;/strong&gt; It&lt;br&gt;
does not prove that nothing &lt;em&gt;regressed&lt;/em&gt;. The two are different, and the gap is&lt;br&gt;
where real incidents live — especially now that AI agents open PRs faster than&lt;br&gt;
anyone can review them, and "that test is just flaky" has become a reflex.&lt;/p&gt;

&lt;p&gt;When something that worked before breaks after a green merge, there is usually no&lt;br&gt;
machine-checkable record of &lt;strong&gt;what&lt;/strong&gt; regressed or &lt;strong&gt;why the merge was allowed&lt;/strong&gt;.&lt;br&gt;
Someone reconstructs it by hand, after the incident.&lt;/p&gt;
&lt;h2&gt;
  
  
  The idea: gate on &lt;em&gt;introduced&lt;/em&gt; failures, deterministically
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/tc7kxsszs5-cloud/avera" rel="noopener noreferrer"&gt;AVERA&lt;/a&gt; is a small, local, deterministic&lt;br&gt;
gate. It compares a &lt;strong&gt;baseline&lt;/strong&gt; test run (known-good, e.g. &lt;code&gt;main&lt;/code&gt;) against the&lt;br&gt;
&lt;strong&gt;current&lt;/strong&gt; one (the PR), and flags only the failures that are &lt;em&gt;newly introduced&lt;/em&gt;&lt;br&gt;
— a test that &lt;strong&gt;passed before and fails now&lt;/strong&gt;. That's the difference between "a&lt;br&gt;
test is red" and "this change broke something."&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;avera check &lt;span class="nt"&gt;--baseline&lt;/span&gt; main.xml &lt;span class="nt"&gt;--current&lt;/span&gt; pr.xml
&lt;span class="c"&gt;# Verdict:  confirmed_regression&lt;/span&gt;
&lt;span class="c"&gt;# Introduced failures (1): pkg.tests.test_thing&lt;/span&gt;
&lt;span class="c"&gt;# Gate [general.v1]: block        (exit 1 — fails the CI step)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Input is plain JUnit/xUnit XML (pytest, jest, go test, JUnit…), so it drops into&lt;br&gt;
existing CI with no toolchain change. No LLM is involved in the decision; nothing&lt;br&gt;
leaves your machine.&lt;/p&gt;
&lt;h2&gt;
  
  
  Don't trust me — reproduce it
&lt;/h2&gt;

&lt;p&gt;Claims about determinism are cheap. So there's a public &lt;strong&gt;blind-replay benchmark&lt;/strong&gt;:&lt;br&gt;
take a &lt;em&gt;real&lt;/em&gt; reverted commit from an open-source project, give AVERA only the&lt;br&gt;
before/after test results — &lt;strong&gt;no hint where the bug is&lt;/strong&gt; — and see if it catches it.&lt;/p&gt;

&lt;p&gt;The seed case is commit &lt;code&gt;f0831e7&lt;/code&gt; in &lt;a href="https://github.com/pytoolz/toolz" rel="noopener noreferrer"&gt;&lt;code&gt;pytoolz/toolz&lt;/code&gt;&lt;/a&gt;&lt;br&gt;
(later reverted in PR #551). One command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/tc7kxsszs5-cloud/avera &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;cd &lt;/span&gt;avera
pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-e&lt;/span&gt; &lt;span class="nb"&gt;.&lt;/span&gt;
./benchmark/reproduce.sh
&lt;span class="c"&gt;# PASS  toolz-f0831e7  -&amp;gt; confirmed_regression / block&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Given only the result diff, AVERA independently identifies the introduced failure&lt;br&gt;
(&lt;code&gt;test_isiterable&lt;/code&gt;, pass→fail), rules &lt;code&gt;confirmed_regression&lt;/code&gt;, and blocks under&lt;br&gt;
every domain policy. You can run it yourself — that &lt;em&gt;is&lt;/em&gt; the credibility mechanism.&lt;/p&gt;

&lt;h2&gt;
  
  
  What makes the verdict trustworthy
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A proven-total decision table.&lt;/strong&gt; "Is this a regression?" is a deterministic
function over a small set of predicates, enumerated over its entire input space
in tests — not an accreting pile of &lt;code&gt;if&lt;/code&gt;s where edge cases hide.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fail-closed.&lt;/strong&gt; An unknown or malformed status is treated as a failure, never
silently passed. A gate must never green-light on ambiguous evidence.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A tamper-evident trail.&lt;/strong&gt; Behind the verdict: a content-addressed evidence
manifest, a hash-chained audit log, and a sign-off bound to that manifest. Same
inputs → same verdict → same integrity hash, on any machine.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;(That trail is why AVERA also ships domain policies for ISO 26262, DO-178C, IEC&lt;br&gt;
62304, EN 50128, and NASA NPR 7150.2 — but the everyday wedge is plain CI.)&lt;/p&gt;

&lt;h2&gt;
  
  
  What it deliberately does &lt;em&gt;not&lt;/em&gt; do
&lt;/h2&gt;

&lt;p&gt;Stated plainly, because overclaiming is the failure mode here:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It does &lt;strong&gt;not&lt;/strong&gt; catch a regression that &lt;strong&gt;no test exercises&lt;/strong&gt; — that needs
fault-injection / mutation analysis, not the gate. (Same blind spot as your own
suite.)&lt;/li&gt;
&lt;li&gt;It does &lt;strong&gt;not&lt;/strong&gt; adjudicate &lt;strong&gt;flaky vs real&lt;/strong&gt; — that stays a human call.&lt;/li&gt;
&lt;li&gt;It does &lt;strong&gt;not&lt;/strong&gt; decide your release. It produces auditable evidence; a human
signs off. No model in the decision path.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it / break it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/tc7kxsszs5-cloud/avera &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;cd &lt;/span&gt;avera
pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-e&lt;/span&gt; &lt;span class="nb"&gt;.&lt;/span&gt;
avera check &lt;span class="nt"&gt;--baseline&lt;/span&gt; your-main.xml &lt;span class="nt"&gt;--current&lt;/span&gt; your-pr.xml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The most useful thing you can send back is a case where it &lt;strong&gt;misses&lt;/strong&gt; a real&lt;br&gt;
regression — that's a finding, and the benchmark is built to grow on exactly those.&lt;/p&gt;

&lt;p&gt;Repo + benchmark: &lt;a href="https://github.com/tc7kxsszs5-cloud/avera" rel="noopener noreferrer"&gt;https://github.com/tc7kxsszs5-cloud/avera&lt;/a&gt;&lt;/p&gt;

</description>
      <category>testing</category>
      <category>devops</category>
      <category>ci</category>
      <category>python</category>
    </item>
  </channel>
</rss>
