Skip to content

Update github.com/hectane/go-acl digest to ca0b05c - autoclosed#49574

Closed
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-hectane-go-acl-digest
Closed

Update github.com/hectane/go-acl digest to ca0b05c - autoclosed#49574
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-hectane-go-acl-digest

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 20, 2026

This PR contains the following updates:

Package Type Update Change
github.com/hectane/go-acl require digest cdfc9e3ca0b05c

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added changelog/no-changelog No changelog entry needed dependencies PRs that bump a dependency dependencies-go PRs that bump a go dependency qa/no-code-change No code change in Agent code requiring validation labels Apr 20, 2026
@dd-octo-sts dd-octo-sts Bot added the internal Identify a non-fork PR label Apr 20, 2026
@github-actions github-actions Bot added the short review PR is simple enough to be reviewed quickly label Apr 20, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f467247f1a

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread go.mod
github.com/hashicorp/go-version v1.9.0
github.com/hashicorp/golang-lru/v2 v2.0.7
github.com/hectane/go-acl v0.0.0-20230225031251-cdfc9e3acf94
github.com/hectane/go-acl ca0b05cb1adb
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Use a canonical version string in root go.mod

The new require entry pins github.com/hectane/go-acl to a raw commit hash (ca0b05cb1adb) instead of a valid Go module version, which makes the root module unparsable. In this repo, GOTOOLCHAIN=local go mod edit -json fails with version "ca0b05cb1adb" invalid: must be of the form v1.2.3, so any root-module build/test/tidy path that reads go.mod will fail until this is converted to a canonical pseudo-version (as done in pkg/util/filesystem/go.mod).

Useful? React with 👍 / 👎.

@renovate renovate Bot force-pushed the renovate/github.com-hectane-go-acl-digest branch from f467247 to f8f9cf7 Compare April 23, 2026 16:30
@renovate renovate Bot changed the title Update github.com/hectane/go-acl digest to ca0b05c Update github.com/hectane/go-acl digest to ca0b05c - autoclosed Apr 23, 2026
@renovate renovate Bot closed this Apr 23, 2026
@renovate renovate Bot deleted the renovate/github.com-hectane-go-acl-digest branch April 23, 2026 21:47
@renovate renovate Bot changed the title Update github.com/hectane/go-acl digest to ca0b05c - autoclosed Update github.com/hectane/go-acl digest to ca0b05c Apr 24, 2026
@renovate renovate Bot reopened this Apr 24, 2026
@renovate renovate Bot force-pushed the renovate/github.com-hectane-go-acl-digest branch 2 times, most recently from f8f9cf7 to b55fa59 Compare April 24, 2026 12:18
@dd-prapprover
Copy link
Copy Markdown

dd-prapprover Bot commented Apr 24, 2026

PRApprover will approve and merge this PR, FAQ, #dx-source-code-management

🛠️ PRApproval Status

  • ✅ PR is eligible for auto-approval by rule datadog-agent-renovate - 2026-04-24T12:18:33Z
  • ⬜ CI tests passed
  • ⬜ Approved
  • ⬜ Merge Started
  • ⬜ Merged

➡️ Current phase: CI tests failed. Please fix the failing tests to continue.

@datadog-datadog-prod-us1
Copy link
Copy Markdown
Contributor

datadog-datadog-prod-us1 Bot commented Apr 24, 2026

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 50.20% (-0.00%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: b55fa59 | Docs | Datadog PR Page | Give us feedback!

gh-worker-dd-mergequeue-cf854d Bot pushed a commit that referenced this pull request Apr 27, 2026
## Summary

- Adds a `packageRules` entry that disables `digest`-type updates under the `gomod` manager.
- Only tagged (semver) gomod updates will be accepted from now on.

## Context

When a Go dependency does not publish semver tags, Renovate's `gomod` manager has nothing to do and falls back to the `digest` datasource, which tracks the HEAD of the upstream default branch. Two problems come out of this:

1. **Malformed `go.mod` entries.** The digest manager does not always round-trip a proper `v0.0.0-<timestamp>-<commit>` pseudo-version — it can leave a bare short hash in the root `go.mod`, breaking the build. Example: #49574 rewrote the root entry to `github.com/hectane/go-acl ca0b05cb1adb`.
2. **"Updates" that go backwards in time.** The digest datasource has no time or semver ordering. If the upstream default branch is reset, renamed, or never had the commit we currently pin, Renovate will happily "update" to an older commit. Example from the same PR: the subpackage `go.mod` was bumped from a Feb 2023 commit to a Jan 2023 commit.

Disabling digest updates for `gomod` is a guardrail so this class of regression cannot slip in again for any tag-less Go dependency.

## Test plan

- [ ] Renovate dashboard/dry-run confirms no new `gomod` digest PRs are opened.
- [ ] Existing tagged gomod update PRs continue to open normally.

Co-authored-by: nicolas.schweitzer <nicolas.schweitzer@datadoghq.com>
@renovate renovate Bot changed the title Update github.com/hectane/go-acl digest to ca0b05c Update github.com/hectane/go-acl digest to ca0b05c - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
chouetz added a commit that referenced this pull request Apr 29, 2026
Replaces the direct dependency on github.com/hectane/go-acl
(v0.0.0-20230225031251-cdfc9e3acf94, the head of upstream's unmerged
PR #19) with github.com/DataDog/go-acl v1.0.0, a tagged release of a
DataDog-owned fork that contains the same code (upstream master HEAD
plus the golang.org/x/sys 0.1.0 bump from PR #19).

Why:
- Upstream hectane/go-acl is inactive, has no semver tags, and the
  commit we depended on lives on an unmerged PR branch — fragile
  ground for Renovate, which fell back to digest updates that produced
  malformed go.mod entries and time-regressing "updates"
  (see #49574).
- Owning a tagged fork lets Renovate resolve real semver versions and
  guarantees the source we depend on cannot vanish or be force-pushed.

Scope:
- Two Go imports rewritten (pkg/util/filesystem/permission_windows.go
  and pkg/security/probe/probe_auditing_windows_test.go).
- All affected go.mod/go.sum updated via dda inv tidy.
- Bazel manifest updated (deps/go.MODULE.bazel,
  pkg/util/filesystem/BUILD.bazel).
- LICENSE-3rdparty.csv regenerated.

The hectane/go-acl // indirect entries that remain come from old
datadog-agent submodule versions pinned by opentelemetry-collector-
contrib. They will disappear once OTel bumps its datadog-agent pin
past this PR.
chouetz added a commit that referenced this pull request Apr 29, 2026
Replaces the direct dependency on github.com/hectane/go-acl
(v0.0.0-20230225031251-cdfc9e3acf94, the head of upstream's unmerged
PR #19) with github.com/DataDog/go-acl v1.0.0, a tagged release of a
DataDog-owned fork that contains the same code (upstream master HEAD
plus the golang.org/x/sys 0.1.0 bump from PR #19).

Why:
- Upstream hectane/go-acl is inactive, has no semver tags, and the
  commit we depended on lives on an unmerged PR branch — fragile
  ground for Renovate, which fell back to digest updates that produced
  malformed go.mod entries and time-regressing "updates"
  (see #49574).
- Owning a tagged fork lets Renovate resolve real semver versions and
  guarantees the source we depend on cannot vanish or be force-pushed.

Scope:
- Two Go imports rewritten (pkg/util/filesystem/permission_windows.go
  and pkg/security/probe/probe_auditing_windows_test.go).
- All affected go.mod/go.sum updated via dda inv tidy.
- Bazel manifest updated (deps/go.MODULE.bazel,
  pkg/util/filesystem/BUILD.bazel).
- LICENSE-3rdparty.csv regenerated.

The hectane/go-acl // indirect entries that remain come from old
datadog-agent submodule versions pinned by opentelemetry-collector-
contrib. They will disappear once OTel bumps its datadog-agent pin
past this PR.
chouetz added a commit that referenced this pull request Apr 30, 2026
Replaces the direct dependency on github.com/hectane/go-acl
(v0.0.0-20230225031251-cdfc9e3acf94, the head of upstream's unmerged
PR #19) with github.com/DataDog/go-acl v1.0.0, a tagged release of a
DataDog-owned fork that contains the same code (upstream master HEAD
plus the golang.org/x/sys 0.1.0 bump from PR #19).

Why:
- Upstream hectane/go-acl is inactive, has no semver tags, and the
  commit we depended on lives on an unmerged PR branch — fragile
  ground for Renovate, which fell back to digest updates that produced
  malformed go.mod entries and time-regressing "updates"
  (see #49574).
- Owning a tagged fork lets Renovate resolve real semver versions and
  guarantees the source we depend on cannot vanish or be force-pushed.

Scope:
- Two Go imports rewritten (pkg/util/filesystem/permission_windows.go
  and pkg/security/probe/probe_auditing_windows_test.go).
- All affected go.mod/go.sum updated via dda inv tidy.
- Bazel manifest updated (deps/go.MODULE.bazel,
  pkg/util/filesystem/BUILD.bazel).
- LICENSE-3rdparty.csv regenerated.

The hectane/go-acl // indirect entries that remain come from old
datadog-agent submodule versions pinned by opentelemetry-collector-
contrib. They will disappear once OTel bumps its datadog-agent pin
past this PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog No changelog entry needed dependencies PRs that bump a dependency dependencies-go PRs that bump a go dependency internal Identify a non-fork PR qa/no-code-change No code change in Agent code requiring validation short review PR is simple enough to be reviewed quickly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants