chore(dependabot): split docker config so /collector skips cooldown#245
Merged
Conversation
The collector's base image (otelcol-google) is a multi-arch OCI image index. dependabot's cooldown logic looks up publication dates by HEAD-ing the config-blob digest, which 404s for image indexes and crashes the whole docker job — taking out unrelated updates like the root Dockerfile's golang base. See dependabot/dependabot-core#14044. Drop cooldown for /collector only; / keeps it. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Updates Dependabot configuration to avoid a known Dependabot Docker cooldown bug affecting multi-arch OCI image indexes, ensuring Docker update jobs continue to run reliably across the repo.
Changes:
- Split the single Docker ecosystem entry (covering both
/and/collector) into two separate entries. - Keep
cooldownenabled for the root/Docker updates while omitting it for/collectorto bypass the crashing code path.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dockerecosystem block back into two entries (one per directory) so/collectorcan omitcooldownwhile/keeps it.us-docker.pkg.dev/cloud-ops-agents-artifacts/.../otelcol-google) is exactly that, so every weekly run was failing — and taking the rootgolangupdate down with it.Why this works
apply_cooldowncallsget_tag_publication_details, whichHEADs the config-blob digest. For an image index there's no flat config blob at that digest → 404 → exception bubbles up and aborts the whole job. Removingcooldownskips that code path. The root Dockerfile'sgolangis also a multi-arch image, but it only triggers the bug if a newer tag is found, so it's safe for now.Upstream fix PR (dependabot/dependabot-core#14149) is still in draft; revisit once it ships.
Test plan
/and/collectorjobs complete withoutDockerRegistry2::NotFound.🤖 Generated with Claude Code