← Back to Pull requests

Bump github.com/policylabs/collector from 0.4.1 to 0.4.2 in the gomod group #201

Merged
dependabot[bot] merged 2 files (24 lines) on Nov 25, 2026 08:24 UTC
View on GitHub
dependabot[bot] dependabot[bot] commented on Nov 25, 2026 04:43 UTC
Author

Bumps the gomod group with 1 update: github.com/policylabs/collector.

Updates github.com/policylabs/collector from 0.4.1 to 0.4.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/policylabs/collector/releases">github.com/policylabs/collector's releases</a>.</em></p>
<blockquote>
<h2>v0.4.2</h2>
<h2>What's changed since v0.4.1</h2>
<h3>Fixes</h3>
<ul>
<li>
<p><strong>Git notes: a note can be stored for any commit again (<a href="https://redirect.github.com/policylabs/collector/issues/254">#254</a>).</strong>
Once a repository's notes are split into subdirectories, storing a note
for a commit whose subdirectory already existed wrote a tree with a
duplicate entry. Servers that check pushed objects, GitHub among them,
refused the push with <code>unpack index-pack failed</code>. A commit could only be
given a note if no other noted commit shared the first two digits of its
SHA, so the failure rate grew with every note stored. The note is now
written into the existing subdirectory, next to the notes already there.
The notes on the remote were never damaged: the bad pushes were rejected.</p>
</li>
<li>
<p><strong>Repository type registry: safe for concurrent use (<a href="https://redirect.github.com/policylabs/collector/issues/252">#252</a>).</strong>
<code>RepositoryFromString</code> read the registry of repository types without
taking its lock. A lookup that overlapped a registration, as when the
default types are loaded on first use while repositories are already
being built, was a concurrent map read and write, which ends the
process. Lookups now take a read lock, and registering checks for an
existing type under the same lock as the write.</p>
</li>
<li>
<p><strong>Git notes: a note can be stored for any commit again (<a href="https://redirect.github.com/policylabs/collector/issues/254">#254</a>).</strong>
Once a repository's notes are split into subdirectories, storing a note
for a commit whose subdirectory already existed wrote a tree with a
duplicate entry. Servers that check pushed objects, GitHub among them,
refused the push with <code>unpack index-pack failed</code>. A commit could only be
given a note if no other noted commit shared the first two digits of its
SHA, so the failure rate grew with every note stored. The note is now
written into the existing subdirectory, next to the notes already there.
The notes on the remote were never damaged: the bad pushes were rejected.</p>
</li>
<li>
<p><strong>Repository type registry: safe for concurrent use (<a href="https://redirect.github.com/policylabs/collector/issues/252">#252</a>).</strong>
<code>RepositoryFromString</code> read the registry of repository types without
taking its lock. A lookup that overlapped a registration, as when the
default types are loaded on first use while repositories are already
being built, was a concurrent map read and write, which ends the
process. Lookups now take a read lock, and registering checks for an
existing type under the same lock as the write.</p>
</li>
<li>
<p><strong>Git notes: a rejected push is retried (<a href="https://redirect.github.com/policylabs/collector/issues/251">#251</a>).</strong>
Every note of a repository lives under one ref, so a writer that read the
notes before another writer pushed had its own push rejected and the
attestation was lost. For a cloned repository the push is now tried up to
three times, each time on top of the remote's current notes. Existing
notes are kept and the attestation is written once. A local repository's
notes are never reset, and a push refused for lack of access is not
retried.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/policylabs/collector/commit/f1535714f4ebecbd6049c46612845ebe13291a68"><code>f153571</code></a> Merge pull request <a href="https://redirect.github.com/policylabs/collector/issues/257">#257</a> from puerco/cbn/tag-patch-20261122-031220</li>
<li><a href="https://github.com/policylabs/collector/commit/c39ec0f20bc1ca4553dd4e6f439e875b49d0dcd8"><code>c39ec0f</code></a> Cut patch release</li>
<li><a href="https://github.com/policylabs/collector/commit/f92509b10f425f0a7f9728406109f169fcc535b3"><code>f92509b</code></a> Merge pull request <a href="https://redirect.github.com/policylabs/collector/issues/255">#255</a> from puerco/cbn/tag-patch-20261122-030405</li>
<li><a href="https://github.com/policylabs/collector/commit/c8c2514903a5d5048405222b8f1879e65e06c69b"><code>c8c2514</code></a> Cut patch release</li>
<li><a href="https://github.com/policylabs/collector/commit/acd4bd3bd359c87253230d9389f3469bbcd5420d"><code>acd4bd3</code></a> Bump deps</li>
<li><a href="https://github.com/policylabs/collector/commit/9ba7118d2063ca73da9f0df02bb9775b7a2f701d"><code>9ba7118</code></a> Merge pull request <a href="https://redirect.github.com/policylabs/collector/issues/254">#254</a> from puerco/notes-shard-tree</li>
<li><a href="https://github.com/policylabs/collector/commit/c12b2656c00e4e21d8bb5ffa910dd66923e40b3b"><code>c12b265</code></a> Write a note into its shard, not beside it</li>
<li><a href="https://github.com/policylabs/collector/commit/cad76b6e23d2717fad37a3f5a1da5feb7bfa518d"><code>cad76b6</code></a> Merge pull request <a href="https://redirect.github.com/policylabs/collector/issues/253">#253</a> from puerco/gitsign-subject</li>
<li><a href="https://github.com/policylabs/collector/commit/27d435217bcffa77862502957aee89bff1adca4f"><code>27d4352</code></a> Name and locate the commit in a signature attestation's subject</li>
<li><a href="https://github.com/policylabs/collector/commit/d612dd70cc738bd3cba2d4cc20f04c63c456a9c7"><code>d612dd7</code></a> Merge pull request <a href="https://redirect.github.com/policylabs/collector/issues/252">#252</a> from puerco/registry-race</li>
<li>Additional commits viewable in <a href="https://github.com/policylabs/collector/compare/v0.4.1...v0.4.2">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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)

  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)

  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)

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

  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
  • </details>

    Diff: 24 lines (+12 / -12) across 2 files Reviewer: cpanato Review duration: 220m
    All Vouch review confidence checks passed
    Residual risk 0.07 = Change Risk (0.24) × (1 − Review Confidence (0.70)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.24 · 24 lines diff across 2 files
    0.24
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.54 · 1 substantive comment(s)
    0.54
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    70%
    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.193
    Real PR Conversation Timeline
    3 items
    miniprow[bot] miniprow[bot] commented on Nov 25, 2026 04:43 UTC
    Bot

    [APPROVALNOTIFIER] This PR is APPROVED

    This pull-request has been approved by: <a href="https://github.com/carabiner-dev/bnd/pull/201#pullrequestreview-6054083169" title="Approved">cpanato</a>, <a href="https://github.com/carabiner-dev/bnd/pull/201#" title="Author self-approved">dependabot[bot]</a>

    The full list of commands accepted by this bot can be found here.

    <details>
    Approved by a repository administrator.

    Approvers can indicate their approval by writing /approve in a comment
    Approvers can cancel approval by writing /approve cancel in a comment
    </details>
    <!-- META={"approvers":[]} -->

    cpanato cpanato approved these changes on Nov 25, 2026 08:24 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    dependabot[bot] dependabot[bot]
    Labels
    risk: low confidence: 70.1% 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: 23.7% (LOW) · Higher = larger blast radius
    23.7%
    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: 70.1% · Lower = rushed or shallow review
    70.1%
    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: 7.1% · Safe to merge
    7.1%