Skip to content

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

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/gomod-866bd204b7
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/gomod-866bd204b7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 25, 2026

Copy link
Copy Markdown
Contributor

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

Updates github.com/policylabs/collector from 0.4.1 to 0.4.2

Release notes

Sourced from github.com/policylabs/collector's releases.

v0.4.2

What's changed since v0.4.1

Fixes

  • Git notes: a note can be stored for any commit again (#254). 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 unpack index-pack failed. 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.

  • Repository type registry: safe for concurrent use (#252). RepositoryFromString 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.

  • Git notes: a note can be stored for any commit again (#254). 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 unpack index-pack failed. 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.

  • Repository type registry: safe for concurrent use (#252). RepositoryFromString 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.

  • Git notes: a rejected push is retried (#251). 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.

... (truncated)

Commits
  • f153571 Merge pull request #257 from puerco/cbn/tag-patch-20261122-031220
  • c39ec0f Cut patch release
  • f92509b Merge pull request #255 from puerco/cbn/tag-patch-20261122-030405
  • c8c2514 Cut patch release
  • acd4bd3 Bump deps
  • 9ba7118 Merge pull request #254 from puerco/notes-shard-tree
  • c12b265 Write a note into its shard, not beside it
  • cad76b6 Merge pull request #253 from puerco/gitsign-subject
  • 27d4352 Name and locate the commit in a signature attestation's subject
  • d612dd7 Merge pull request #252 from puerco/registry-race
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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

Bumps the gomod group with 1 update: [github.com/policylabs/collector](https://github.com/policylabs/collector).


Updates `github.com/policylabs/collector` from 0.4.1 to 0.4.2
- [Release notes](https://github.com/policylabs/collector/releases)
- [Commits](policylabs/collector@v0.4.1...v0.4.2)

---
updated-dependencies:
- dependency-name: github.com/policylabs/collector
  dependency-version: 0.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gomod
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Nov 25, 2026
@miniprow

miniprow Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dependabot[bot]
Once this PR has been reviewed and has the lgtm label, a repository administrator can /approve this pull request. For more information see the Code Review Process.

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

Details Needs approval from 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants