← Back to Pull requests

build(deps): Bump github.com/redis/go-redis/v9 from 9.22.0 to 9.23.0 #1139

Closed
unknown closed this pull request without merging on Oct 11, 2026 23:44 UTC
View on GitHub
unknown unknown commented on Oct 08, 2026 17:14 UTC
Author

Bumps github.com/redis/go-redis/v9 from 9.22.0 to 9.23.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/redis/go-redis/releases">github.com/redis/go-redis/v9's releases</a>.</em></p>
<blockquote>
<h2>9.23.0</h2>
<p>This is a minor release. It contains everything from 9.23.0-beta.1, so these notes cover the full 9.22.0 → 9.23.0 upgrade.</p>
<p>⚠️ Changes to check when you upgrade from 9.22.0:</p>
<ul>
<li><strong>Go 1.26 is now the minimum Go version</strong> (<a href="https://redirect.github.com/redis/go-redis/pull/4060">#4060</a>). The <code>go</code> directive of the root module and of the submodules moved from <code>1.24</code> to <code>1.26</code>, as part of the dependency bumps for <code>govulncheck</code> findings. Projects that build with Go 1.24 or 1.25 must upgrade the toolchain.</li>
<li><strong>Each <code>Client</code> has a dedicated pipeline connection pool</strong> (<a href="https://redirect.github.com/redis/go-redis/pull/4002">#4002</a>). This includes failover clients and cluster node clients. <code>Pipeline</code>, <code>TxPipeline</code>, and autopipeline operations use this pool, so they do not compete with regular commands for main-pool connections. The pool is for burst capacity only: it dials only when necessary, an unused pool holds zero connections, and if the pool is full an operation uses the main pool. Set <code>PipelinePoolSize: -1</code> to get the previous single-pool behavior.</li>
<li><strong><code>AutoPipelineOptions.MaxBatchBytes</code> has a default of 128 KiB</strong> (before, there was no limit). The default prevents a write/reply deadlock; it is not a throughput control. The buffers of the pipeline pool also have a default of 128 KiB.</li>
</ul>
<p>⚠️ Changes to experimental APIs since 9.23.0-beta.1 (no effect if you upgrade from 9.22.0):</p>
<ul>
<li><strong><code>AutoPipelineOptions.FullDuplexFastSubmit</code> is removed</strong> (<a href="https://redirect.github.com/redis/go-redis/pull/4018">#4018</a>). The submit channel is replaced by a queue that takes a full wave of commands in one lock, so the separate fast path is not necessary. Remove the field from your options.</li>
<li><strong><code>Options.ClientSideCacheRefreshRecencyWindow</code> is removed</strong> (<a href="https://redirect.github.com/redis/go-redis/pull/4034">#4034</a>). Refresh-on-invalidate now reads again every cached entry of an invalidated key and does not look at how recently the entry was read. On a write-heavy keyspace this means refresh traffic across the full resident cache. Remove the field from your options.</li>
<li><strong><code>LocalCache.LRUClock()</code> is removed</strong> (<a href="https://redirect.github.com/redis/go-redis/pull/4034">#4034</a>). It returned the recency token that the removed recency window used, and has no replacement. Remove calls to it.</li>
<li><strong><code>ClientSideCacheInvalidationBatchWindow</code> served stale values in beta.1</strong> (<a href="https://redirect.github.com/redis/go-redis/pull/4033">#4033</a>). Under load the batcher applied only ~15% of invalidations, and the cache served invalidated values with a ~100% hit rate. 9.23.0 applies all of them. If you used this option on beta.1, upgrade.</li>
</ul>
<h2>🚀 Highlights</h2>
<h3>Full-Duplex Auto-Pipelining (Experimental)</h3>
<p>Set <code>AutoPipelineOptions.FullDuplex</code> to enable the full-duplex mode of the automatic pipeliner. The default mode sends one batch per round trip. In full-duplex mode the engine holds one pipeline-pool connection, and a writer goroutine and a reader goroutine move the ordered command stream in both directions at the same time. On a high-latency link each command completes in approximately one round-trip time (RTT) on a single connection. On a 50 ms WAN profile: ~389k ops/s at 52 ms p50, against ~207k ops/s at 116 ms on the half-duplex ordered path.</p>
<p>The mode works on both faces of a standalone <code>Client</code> (<code>AutoPipeline()</code> and <code>AsyncAutoPipeline()</code>), and natively on a <code>ClusterClient</code> when routing goes to masters only. On a cluster, one child engine per master sends each command to the node that owns its slot, and follows <code>MOVED</code> / <code>ASK</code> redirects and retryable replies (<code>LOADING</code>, <code>READONLY</code>, ...) through the usual cluster redirect path. With replica routing (<code>ReadOnly</code>, <code>RouteByLatency</code>, or <code>RouteRandomly</code>), the autopipeliner uses the half-duplex shard flushers, which obey the shard picker. <code>Config().FullDuplex</code> reports the mode in effect.</p>
<p>Options:</p>
<ul>
<li><code>FullDuplexWindow</code> — the maximum number of commands in flight (backpressure).</li>
<li><code>FullDuplexIdleTimeout</code> and <code>FullDuplexMaxHold</code> — when the engine returns the held connection to the pool. The pool hooks then do re-authentication and maintenance-notification handoffs.</li>
<li><code>MaxFlushDelay</code> — now also used in full-duplex mode (<a href="https://redirect.github.com/redis/go-redis/pull/4014">#4014</a>). The writer waits only when enough commands are in flight, so low-concurrency callers keep the 1×RTT behavior. With <code>MaxFlushDelay=250µs</code> at 1024 callers: +22% ops/s and −26% p99. The default is 0, so this is opt-in.</li>
<li><code>NumShards</code> — on a standalone <code>Client</code>, the number of full-duplex engines (<a href="https://redirect.github.com/redis/go-redis/pull/4022">#4022</a>). See below.</li>
</ul>
<p><strong><code>Pipeline()</code> on the full-duplex connection</strong> (<a href="https://redirect.github.com/redis/go-redis/pull/4021">#4021</a>). Standalone <code>Client</code> only. Before, <code>ap.Pipeline()</code> used a pooled connection for each <code>Exec</code>. It now submits the batch to the engine as one contiguous run (<code>FDPipelined</code>), so replies come back in submit order, as on a dedicated connection. At 256–1024 callers with 10 commands per <code>Exec</code>: +49% to +52% throughput on one socket instead of ~150. Errors, retries, hooks, and metrics behave like an ordinary pipeline. A batch that cannot use the stream (a blocking command, a per-command read timeout, a diverted command, or a batch larger than the queue) falls back to the ordinary pipeline. <code>TxPipeline</code> stays on a pooled connection, because <code>MULTI</code>/<code>EXEC</code> needs connection affinity. On a <code>ClusterClient</code>, <code>ap.Pipeline()</code> is still the ordinary cluster pipeline. A batch that the queue cannot admit now reserves its slots and waits in a first-come line, so single commands cannot starve a long pipeline (<a href="https://redirect.github.com/redis/go-redis/pull/4057">#4057</a>, merged as part of <a href="https://redirect.github.com/redis/go-redis/pull/4021">#4021</a>) by <a href="https://github.com/vlady-kotsev"><code>@​vlady-kotsev</code></a>.</p>
<p><strong>Several engines on one client</strong> (<a href="https://redirect.github.com/redis/go-redis/pull/4022">#4022</a>). With <code>FullDuplex</code>, <code>NumShards &gt; 1</code> now means N engines on one client: one pool, one hook chain, N held connections. Commands route by a hash of their first key, so commands on the same key stay on one connection and keep their order without <code>Unordered</code>. Keyless commands are distributed round-robin. An <code>FDPipelined</code> batch stays on one engine. The pipeline pool must hold at least <code>NumShards</code> connections for each full-duplex autopipeliner. More engines help only under high concurrency: with 10-command pipelines, 8 engines were 30% slower than 1 at 8 callers, equal at about 128 callers, and 2.2× faster at 1024 callers.</p>
<p>The full-duplex path supports blocking commands, <code>Options.Limiter</code> (one admission per written batch), per-command and pipeline hooks, OTel metrics, retry budgets (a <code>NoRetry</code> command is never sent again after it is on the wire), and seamless maintenance handoffs. Limits of the stream model:</p>
<ul>
<li><strong>A hook can observe a command, but cannot stop it.</strong> A <code>ProcessHook</code> that returns without calling <code>next</code> does not cancel the command on the full-duplex path; the command is already queued on the held connection. Run policy or kill-switch hooks on a plain client or on the half-duplex autopipeliner.</li>
<li><strong>Diverted commands are not ordered with the stream.</strong> The engine diverts blocking commands, connection-hostile commands, and managed <code>HIMPORT</code> commands. On the async face, wait for the result of a diverted command before you submit a command that depends on it.</li>
<li><strong>Single commands on the full-duplex stream do not use the client-side cache.</strong> If CSC is enabled, a cacheable command on the stream does not read or write the cache.</li>
<li><strong>Duration metrics are recorded per reply.</strong> A command that fails before it reaches the reader (lease failure, limiter denial, retry exhaustion, close) calls the error callback but records no operation-duration sample.</li>
</ul>
<pre lang="go"><code>rdb := redis.NewClient(&amp;redis.Options{
Addr: &quot;localhost:6379&quot;,
AutoPipelineOptions: &amp;redis.AutoPipelineOptions{
FullDuplex: true, // stream commands on one held connection, ~1 RTT each
},
})
defer rdb.Close()
&lt;/tr&gt;&lt;/table&gt;
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/redis/go-redis/blob/master/RELEASE-NOTES.md">github.com/redis/go-redis/v9's changelog</a>.</em></p>
<blockquote>
<h1>9.23.0 (2026-10-05)</h1>
<p>This is a minor release. It contains everything from 9.23.0-beta.1, so these notes cover the full 9.22.0 → 9.23.0 upgrade. The release adds:</p>
<ul>
<li>An experimental <strong>full-duplex mode</strong> for the automatic pipeliner, now with <code>Pipeline()</code> on the full-duplex connection and several engines on one client.</li>
<li>Refresh-on-invalidate and miss coalescing for client-side caching, and a faster cache read path.</li>
<li>Better distribution of cluster reads under latency-based routing.</li>
<li><code>Client.EphemeralConn</code>, an opt-in limit on queued autopipeline commands, and many stability fixes.</li>
</ul>
<p>⚠️ Changes to check when you upgrade from 9.22.0:</p>
<ul>
<li><strong>Go 1.26 is now the minimum Go version</strong> (<a href="https://redirect.github.com/redis/go-redis/pull/4060">#4060</a>). The <code>go</code> directive of the root module and of the submodules moved from <code>1.24</code> to <code>1.26</code>, as part of the dependency bumps for <code>govulncheck</code> findings. Projects that build with Go 1.24 or 1.25 must upgrade the toolchain.</li>
<li><strong>Each <code>Client</code> has a dedicated pipeline connection pool</strong> (<a href="https://redirect.github.com/redis/go-redis/pull/4002">#4002</a>). This includes failover clients and cluster node clients. <code>Pipeline</code>, <code>TxPipeline</code>, and autopipeline operations use this pool, so they do not compete with regular commands for main-pool connections. The pool is for burst capacity only: it dials only when necessary, an unused pool holds zero connections, and if the pool is full an operation uses the main pool. Set <code>PipelinePoolSize: -1</code> to get the previous single-pool behavior.</li>
<li><strong><code>AutoPipelineOptions.MaxBatchBytes</code> has a default of 128 KiB</strong> (before, there was no limit). The default prevents a write/reply deadlock; it is not a throughput control. The buffers of the pipeline pool also have a default of 128 KiB.</li>
</ul>
<p>⚠️ Changes to experimental APIs since 9.23.0-beta.1 (no effect if you upgrade from 9.22.0):</p>
<ul>
<li><strong><code>AutoPipelineOptions.FullDuplexFastSubmit</code> is removed</strong> (<a href="https://redirect.github.com/redis/go-redis/pull/4018">#4018</a>). The submit channel is replaced by a queue that takes a full wave of commands in one lock, so the separate fast path is not necessary. Remove the field from your options.</li>
<li><strong><code>Options.ClientSideCacheRefreshRecencyWindow</code> is removed</strong> (<a href="https://redirect.github.com/redis/go-redis/pull/4034">#4034</a>). Refresh-on-invalidate now reads again every cached entry of an invalidated key and does not look at how recently the entry was read. On a write-heavy keyspace this means refresh traffic across the full resident cache. Remove the field from your options.</li>
<li><strong><code>LocalCache.LRUClock()</code> is removed</strong> (<a href="https://redirect.github.com/redis/go-redis/pull/4034">#4034</a>). It returned the recency token that the removed recency window used, and has no replacement. Remove calls to it.</li>
<li><strong><code>ClientSideCacheInvalidationBatchWindow</code> served stale values in beta.1</strong> (<a href="https://redirect.github.com/redis/go-redis/pull/4033">#4033</a>). Under load the batcher applied only ~15% of invalidations, and the cache served invalidated values with a ~100% hit rate. 9.23.0 applies all of them. If you used this option on beta.1, upgrade.</li>
</ul>
<h2>🚀 Highlights</h2>
<h3>Full-Duplex Auto-Pipelining (Experimental)</h3>
<p>Set <code>AutoPipelineOptions.FullDuplex</code> to enable the full-duplex mode of the automatic pipeliner. The default mode sends one batch per round trip. In full-duplex mode the engine holds one pipeline-pool connection, and a writer goroutine and a reader goroutine move the ordered command stream in both directions at the same time. On a high-latency link each command completes in approximately one round-trip time (RTT) on a single connection. On a 50 ms WAN profile: ~389k ops/s at 52 ms p50, against ~207k ops/s at 116 ms on the half-duplex ordered path.</p>
<p>The mode works on both faces of a standalone <code>Client</code> (<code>AutoPipeline()</code> and <code>AsyncAutoPipeline()</code>), and natively on a <code>ClusterClient</code> when routing goes to masters only. On a cluster, one child engine per master sends each command to the node that owns its slot, and follows <code>MOVED</code> / <code>ASK</code> redirects and retryable replies (<code>LOADING</code>, <code>READONLY</code>, ...) through the usual cluster redirect path. With replica routing (<code>ReadOnly</code>, <code>RouteByLatency</code>, or <code>RouteRandomly</code>), the autopipeliner uses the half-duplex shard flushers, which obey the shard picker. <code>Config().FullDuplex</code> reports the mode in effect.</p>
<p>Options:</p>
<ul>
<li><code>FullDuplexWindow</code> — the maximum number of commands in flight (backpressure).</li>
<li><code>FullDuplexIdleTimeout</code> and <code>FullDuplexMaxHold</code> — when the engine returns the held connection to the pool. The pool hooks then do re-authentication and maintenance-notification handoffs.</li>
<li><code>MaxFlushDelay</code> — now also used in full-duplex mode (<a href="https://redirect.github.com/redis/go-redis/pull/4014">#4014</a>). The writer waits only when enough commands are in flight, so low-concurrency callers keep the 1×RTT behavior. With <code>MaxFlushDelay=250µs</code> at 1024 callers: +22% ops/s and −26% p99. The default is 0, so this is opt-in.</li>
<li><code>NumShards</code> — on a standalone <code>Client</code>, the number of full-duplex engines (<a href="https://redirect.github.com/redis/go-redis/pull/4022">#4022</a>). See below.</li>
</ul>
<p><strong><code>Pipeline()</code> on the full-duplex connection</strong> (<a href="https://redirect.github.com/redis/go-redis/pull/4021">#4021</a>). Standalone <code>Client</code> only. Before, <code>ap.Pipeline()</code> used a pooled connection for each <code>Exec</code>. It now submits the batch to the engine as one contiguous run (<code>FDPipelined</code>), so replies come back in submit order, as on a dedicated connection. At 256–1024 callers with 10 commands per <code>Exec</code>: +49% to +52% throughput on one socket instead of ~150. Errors, retries, hooks, and metrics behave like an ordinary pipeline. A batch that cannot use the stream (a blocking command, a per-command read timeout, a diverted command, or a batch larger than the queue) falls back to the ordinary pipeline. <code>TxPipeline</code> stays on a pooled connection, because <code>MULTI</code>/<code>EXEC</code> needs connection affinity. On a <code>ClusterClient</code>, <code>ap.Pipeline()</code> is still the ordinary cluster pipeline. A batch that the queue cannot admit now reserves its slots and waits in a first-come line, so single commands cannot starve a long pipeline (<a href="https://redirect.github.com/redis/go-redis/pull/4057">#4057</a>, merged as part of <a href="https://redirect.github.com/redis/go-redis/pull/4021">#4021</a>) by <a href="https://github.com/vlady-kotsev"><code>@​vlady-kotsev</code></a>.</p>
<p><strong>Several engines on one client</strong> (<a href="https://redirect.github.com/redis/go-redis/pull/4022">#4022</a>). With <code>FullDuplex</code>, <code>NumShards &gt; 1</code> now means N engines on one client: one pool, one hook chain, N held connections. Commands route by a hash of their first key, so commands on the same key stay on one connection and keep their order without <code>Unordered</code>. Keyless commands are distributed round-robin. An <code>FDPipelined</code> batch stays on one engine. The pipeline pool must hold at least <code>NumShards</code> connections for each full-duplex autopipeliner. More engines help only under high concurrency: with 10-command pipelines, 8 engines were 30% slower than 1 at 8 callers, equal at about 128 callers, and 2.2× faster at 1024 callers.</p>
<p>The full-duplex path supports blocking commands, <code>Options.Limiter</code> (one admission per written batch), per-command and pipeline hooks, OTel metrics, retry budgets (a <code>NoRetry</code> command is never sent again after it is on the wire), and seamless maintenance handoffs. Limits of the stream model:</p>
<ul>
<li><strong>A hook can observe a command, but cannot stop it.</strong> A <code>ProcessHook</code> that returns without calling <code>next</code> does not cancel the command on the full-duplex path; the command is already queued on the held connection. Run policy or kill-switch hooks on a plain client or on the half-duplex autopipeliner.</li>
<li><strong>Diverted commands are not ordered with the stream.</strong> The engine diverts blocking commands, connection-hostile commands, and managed <code>HIMPORT</code> commands. On the async face, wait for the result of a diverted command before you submit a command that depends on it.</li>
<li><strong>Single commands on the full-duplex stream do not use the client-side cache.</strong> If CSC is enabled, a cacheable command on the stream does not read or write the cache.</li>
<li><strong>Duration metrics are recorded per reply.</strong> A command that fails before it reaches the reader (lease failure, limiter denial, retry exhaustion, close) calls the error callback but records no operation-duration sample.</li>
</ul>
<pre lang="go"><code>rdb := redis.NewClient(&amp;redis.Options{
&lt;/tr&gt;&lt;/table&gt;
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/redis/go-redis/commit/6f2b2639e563b11709e06f42bc0addbfb5a1abb6"><code>6f2b263</code></a> chore(release): v9.23.0 (<a href="https://redirect.github.com/redis/go-redis/issues/4074">#4074</a>)</li>
<li><a href="https://github.com/redis/go-redis/commit/ec50c6985c4029d8223f004f0e6feda808d5b3c6"><code>ec50c69</code></a> feat(conn): add DisposableConn to discard on Close (<a href="https://redirect.github.com/redis/go-redis/issues/4039">#4039</a>)</li>
<li><a href="https://github.com/redis/go-redis/commit/e3d2548a381bed649926f90cfd177a10a7c6f9f3"><code>e3d2548</code></a> fix(pool): fix ConnStateMachine waiter races (<a href="https://redirect.github.com/redis/go-redis/issues/4072">#4072</a>)</li>
<li><a href="https://github.com/redis/go-redis/commit/2ee6d868bd693705421a7c7b8d28b3e488971660"><code>2ee6d86</code></a> fix(pool): wake waiters when a connection is released to the pool (<a href="https://redirect.github.com/redis/go-redis/issues/4028">#4028</a>)</li>
<li><a href="https://github.com/redis/go-redis/commit/83d45edda6edcb1f954c9ad1e94d506b2530afd3"><code>83d45ed</code></a> fix:(proto): support uintptr in WriteArg (<a href="https://redirect.github.com/redis/go-redis/issues/4054">#4054</a>)</li>
<li><a href="https://github.com/redis/go-redis/commit/c2002af06ccca5d7fc70e873a63e8eda6ca9ed17"><code>c2002af</code></a> docs(example): add full-duplex examples (<a href="https://redirect.github.com/redis/go-redis/issues/4061">#4061</a>)</li>
<li><a href="https://github.com/redis/go-redis/commit/b5f8864de614246957de29c9530a0c25adc90b1c"><code>b5f8864</code></a> feat(autopipeline): add MaxQueuedCommands hard limit (<a href="https://redirect.github.com/redis/go-redis/issues/4070">#4070</a>)</li>
<li><a href="https://github.com/redis/go-redis/commit/89ecbc5a8e24fd0addfa5457e1a983234c9aef52"><code>89ecbc5</code></a> fix(options): reject invalid skip_verify values in ParseURL (<a href="https://redirect.github.com/redis/go-redis/issues/4064">#4064</a>)</li>
<li><a href="https://github.com/redis/go-redis/commit/f813adcb8569821e5bf117af6216163128dc8eca"><code>f813adc</code></a> feat(autopipeline): run N full-duplex engines on one client (<a href="https://redirect.github.com/redis/go-redis/issues/4022">#4022</a>)</li>
<li><a href="https://github.com/redis/go-redis/commit/349bcf47a9c6b144cd26ae4d28e45f41410d89be"><code>349bcf4</code></a> feat(autopipeline): run Pipeline on the full-duplex connection (<a href="https://redirect.github.com/redis/go-redis/issues/4021">#4021</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/redis/go-redis/compare/v9.22.0...v9.23.0">compare view</a></li>
</ul>
</details>
<br />

![Dependabot compatibility score](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR

  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it

  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency

  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)

  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)

  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • </details>

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: jannfis Review duration: 4710m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #1139"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.5% · Safe to merge
    20.5%