<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>CodeInstances on SoftDevStudio.com</title>
    <link>https://softdevstudio.com/tags/codeinstances/</link>
    <description>Recent content in CodeInstances on SoftDevStudio.com</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 18 Oct 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://softdevstudio.com/tags/codeinstances/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>CodeInstances Adds a Self-Hosted Store, Push and Pull by ID, and Bug Reports</title>
      <link>https://softdevstudio.com/codeinstances-adds-a-self-hosted-store-push-and-pull-by-id-and-bug-reports/</link>
      <pubDate>Sun, 18 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://softdevstudio.com/codeinstances-adds-a-self-hosted-store-push-and-pull-by-id-and-bug-reports/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://softdevstudio.com/codeinstances-adds-group-fingerprinting-failing-runs-so-repeats-of-one-bug-collapse/&#34;&gt;CodeInstances&lt;/a&gt; 0.5 moves a run from where it failed to where it gets fixed. &lt;code&gt;codeinstances serve&lt;/code&gt; runs a small store of your own that keeps instances under their SHA-256 ids, &lt;code&gt;push&lt;/code&gt; and &lt;code&gt;pull&lt;/code&gt; move them by id or a 12-character prefix, and &lt;code&gt;report&lt;/code&gt; writes a Markdown bug report that ends with the two commands that bring the exact run back. A &lt;a href=&#34;https://github.com/codeinstances/codeinstances/blob/main/docs/ci.md&#34;&gt;GitHub Actions example&lt;/a&gt; pushes failing test runs and puts the report in the job summary. The &lt;a href=&#34;https://codeinstances.com/codeinstances-adds-a-self-hosted-store-push-and-pull-by-id-and-bug-reports-that-reproduce/&#34;&gt;release post&lt;/a&gt; has the details, and &lt;a href=&#34;https://github.com/codeinstances/codeinstances/releases/latest&#34;&gt;binaries&lt;/a&gt; are out for Linux, macOS and Windows.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CodeInstances Adds Diff, Comparing a Passing Run With a Failing One</title>
      <link>https://softdevstudio.com/codeinstances-adds-diff-comparing-a-passing-run-with-a-failing-one/</link>
      <pubDate>Sun, 18 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://softdevstudio.com/codeinstances-adds-diff-comparing-a-passing-run-with-a-failing-one/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://softdevstudio.com/codeinstances-launches-keeping-program-runs-as-files-and-replaying-them-offline/&#34;&gt;CodeInstances&lt;/a&gt; shipped its second release the same day as its first. Version 0.2 adds the third verb on its plan, compare: &lt;code&gt;codeinstances diff passing.instance failing.instance&lt;/code&gt; lines up two recorded runs and &lt;a href=&#34;https://codeinstances.com/codeinstances-now-compares-two-runs-and-shows-where-the-failing-one-went-wrong/&#34;&gt;shows where they part ways&lt;/a&gt;. &lt;a href=&#34;https://github.com/codeinstances/codeinstances/releases/latest&#34;&gt;Binaries&lt;/a&gt; are out for Linux, macOS and Windows.&lt;/p&gt;&#xA;&lt;p&gt;Calls are paired by method, URL and request body, then by method and URL alone, so a request sent with a different body shows as one changed call rather than one missing and one extra. Response bodies in JSON are compared member by member, down to a line like &amp;ldquo;at $.items: 12 items in a, 0 in b&amp;rdquo;. How each run ended and what it printed are compared too, and a fixed build run against the old one gets a note, not a difference. Each call now keeps how long it took, so the slowest changes show at a glance. That&amp;rsquo;s an addition to the open format, and older files still read.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CodeInstances Adds Group, Fingerprinting Failing Runs So Repeats of One Bug Collapse</title>
      <link>https://softdevstudio.com/codeinstances-adds-group-fingerprinting-failing-runs-so-repeats-of-one-bug-collapse/</link>
      <pubDate>Sun, 18 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://softdevstudio.com/codeinstances-adds-group-fingerprinting-failing-runs-so-repeats-of-one-bug-collapse/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://softdevstudio.com/codeinstances-adds-shrink-and-test-narrowing-a-failure-down-and-keeping-it-as-a-regression-test/&#34;&gt;CodeInstances&lt;/a&gt; 0.4 adds group, the next step on its plan. &lt;code&gt;codeinstances group failures/&lt;/code&gt; gives every failing run a fingerprint and puts the runs that fail the same way together, biggest group first, with when each was first and last seen. A pile of 40 red runs becomes the two or three bugs behind them. The &lt;a href=&#34;https://codeinstances.com/codeinstances-groups-failing-runs-by-fingerprint-so-repeats-of-one-bug-show-as-one/&#34;&gt;release post&lt;/a&gt; has the details, and &lt;a href=&#34;https://github.com/codeinstances/codeinstances/releases/latest&#34;&gt;binaries&lt;/a&gt; are out for Linux, macOS and Windows.&lt;/p&gt;&#xA;&lt;p&gt;A fingerprint is how the run ended, its error and the calls that failed. The error part reads Go panics and fatal errors, failed Go tests, Python tracebacks and Node.js and Java traces for their top frames. Then times, ids, numbers, ports and query values are blanked out so repeats match, while status codes stay. The ids carry a version, &lt;code&gt;fp1&lt;/code&gt;, so a later change to the rules can&amp;rsquo;t be mistaken for the same bug.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CodeInstances Adds Shrink and Test, Narrowing a Failure Down and Keeping It as a Regression Test</title>
      <link>https://softdevstudio.com/codeinstances-adds-shrink-and-test-narrowing-a-failure-down-and-keeping-it-as-a-regression-test/</link>
      <pubDate>Sun, 18 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://softdevstudio.com/codeinstances-adds-shrink-and-test-narrowing-a-failure-down-and-keeping-it-as-a-regression-test/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://softdevstudio.com/codeinstances-adds-diff-comparing-a-passing-run-with-a-failing-one/&#34;&gt;CodeInstances&lt;/a&gt; reached its third release on its first day. Version 0.3 adds two commands from the same step of its plan. &lt;code&gt;codeinstances shrink&lt;/code&gt; takes a failing run and a passing one and &lt;a href=&#34;https://codeinstances.com/codeinstances-shrinks-a-failing-run-to-the-answer-that-breaks-it-and-keeps-it-as-a-test/&#34;&gt;finds which of the failing answers cause the failure&lt;/a&gt;. &lt;code&gt;codeinstances test&lt;/code&gt; replays a folder of recorded runs as regression tests. &lt;a href=&#34;https://github.com/codeinstances/codeinstances/releases/latest&#34;&gt;Binaries&lt;/a&gt; are out for Linux, macOS and Windows.&lt;/p&gt;&#xA;&lt;p&gt;Shrink is delta debugging over recorded answers. It replays the program offline with the passing run&amp;rsquo;s answers swapped in for some of the failing ones, keeps narrowing, and stops when no single answer left can go without the failure going away. What&amp;rsquo;s left is written out as a small failing instance. Test then holds two rules: a run that passed must replay exactly, and a recorded failure must now exit 0 against the answers that broke it.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CodeInstances Forks a Run at Any Step</title>
      <link>https://softdevstudio.com/codeinstances-forks-a-run-at-any-step/</link>
      <pubDate>Sun, 18 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://softdevstudio.com/codeinstances-forks-a-run-at-any-step/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://softdevstudio.com/codeinstances-adds-a-self-hosted-store-push-and-pull-by-id-and-bug-reports/&#34;&gt;CodeInstances&lt;/a&gt; 0.6 adds fork. &lt;code&gt;codeinstances fork -at 9 run.instance&lt;/code&gt; answers a kept run&amp;rsquo;s first eight calls from the recording and then lets the program carry on live from call nine, so an agent or job that went wrong late doesn&amp;rsquo;t have to spend the time and the calls to get back there. With &lt;code&gt;-answer&lt;/code&gt; and &lt;code&gt;-offline&lt;/code&gt;, call nine gets an answer you write instead, a 503 say, and nothing goes out: a what-if on a real run rather than a mock. The &lt;a href=&#34;https://codeinstances.com/codeinstances-forks-a-run-at-any-step-to-run-on-live-or-try-a-what-if-answer/&#34;&gt;release post&lt;/a&gt; has the details, and &lt;a href=&#34;https://github.com/codeinstances/codeinstances/releases/latest&#34;&gt;binaries&lt;/a&gt; are out for Linux, macOS and Windows.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CodeInstances Launches, Keeping Program Runs as Files and Replaying Them Offline</title>
      <link>https://softdevstudio.com/codeinstances-launches-keeping-program-runs-as-files-and-replaying-them-offline/</link>
      <pubDate>Sun, 18 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://softdevstudio.com/codeinstances-launches-keeping-program-runs-as-files-and-replaying-them-offline/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://codeinstances.com/what-a-code-instance-is-and-why-program-runs-should-be-kept-like-code/&#34;&gt;CodeInstances&lt;/a&gt;, the studio&amp;rsquo;s fourteenth project, treats each run of a program as something you can keep. Code is versioned and reviewed; its runs are thrown away, so a CI test that fails once and passes on the rerun takes the bug with it. Version 0.1 &lt;a href=&#34;https://codeinstances.com/codeinstances-launches-as-an-open-source-tool-that-keeps-program-runs-and-replays-them/&#34;&gt;came out on 18 October&lt;/a&gt; with the first two verbs, keep and replay, and &lt;a href=&#34;https://github.com/codeinstances/codeinstances/releases/latest&#34;&gt;binaries&lt;/a&gt; for Linux, macOS and Windows. It&amp;rsquo;s pure Go with no dependencies outside the standard library, open source under Apache 2.0.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CodeInstances Runs Kept Instances on Demand</title>
      <link>https://softdevstudio.com/codeinstances-runs-kept-instances-on-demand/</link>
      <pubDate>Sun, 18 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://softdevstudio.com/codeinstances-runs-kept-instances-on-demand/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://softdevstudio.com/codeinstances-signs-runs-so-anyone-can-check-who-kept-them/&#34;&gt;CodeInstances&lt;/a&gt; 0.8 lets a store run what it keeps. Start it with &lt;code&gt;serve -run&lt;/code&gt;, and anyone with the store&amp;rsquo;s token can have it replay a signed run, or fork one at a step, with &lt;code&gt;codeinstances run&lt;/code&gt;, and get back how it went. A kept run works like a function in a function service: the request runs it, nobody sets the program up on a laptop, and every call is answered from the recording. The &lt;a href=&#34;https://codeinstances.com/codeinstances-runs-kept-instances-on-demand-from-a-store-you-control/&#34;&gt;release post&lt;/a&gt; has the details, and &lt;a href=&#34;https://github.com/codeinstances/codeinstances/releases/latest&#34;&gt;binaries&lt;/a&gt; are out for Linux, macOS and Windows.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CodeInstances Signs Runs So Anyone Can Check Who Kept Them</title>
      <link>https://softdevstudio.com/codeinstances-signs-runs-so-anyone-can-check-who-kept-them/</link>
      <pubDate>Sun, 18 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://softdevstudio.com/codeinstances-signs-runs-so-anyone-can-check-who-kept-them/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://softdevstudio.com/codeinstances-forks-a-run-at-any-step/&#34;&gt;CodeInstances&lt;/a&gt; 0.7 adds signing. Every kept run already carried a SHA-256 id that showed when a file had been edited, but not who made it, since anyone can edit a run and write a new id. Now &lt;code&gt;codeinstances keygen&lt;/code&gt; makes an Ed25519 key pair, &lt;code&gt;sign&lt;/code&gt; (or &lt;code&gt;record -sign&lt;/code&gt;) vouches for a run with it, and &lt;code&gt;verify -trust ci.pub&lt;/code&gt; exits 0 only when that key signed that exact run. The &lt;a href=&#34;https://codeinstances.com/codeinstances-signs-runs-so-you-can-check-who-kept-one-and-that-nothing-changed/&#34;&gt;release post&lt;/a&gt; has the details, and &lt;a href=&#34;https://github.com/codeinstances/codeinstances/releases/latest&#34;&gt;binaries&lt;/a&gt; are out for Linux, macOS and Windows.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
