-
Notifications
You must be signed in to change notification settings - Fork 204
Ignore elastic/sarama in Dependabot to prevent path mismatch errors #11643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
This pull request does not have a backport label. Could you fix it @Copilot? 🙏
|
Co-authored-by: v1v <[email protected]>
|
@copilot In this case, I want to keep the version as already defined, github.com/elastic/sarama v1.19.1-0.20250603175145-7672917f26b6 , instead of using the IBM/sarama one |
… requested Co-authored-by: v1v <[email protected]>
Reverted the replace directive in commit 69bbb1d. The elastic/sarama version v1.19.1-0.20250603175145-7672917f26b6 is now kept as originally defined, without any redirection to IBM/sarama. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: v1v <[email protected]>
|
buildkite test this |
💚 Build Succeeded
|
What does this PR do?
Adds
github.com/elastic/saramato the Dependabot ignore list in.github/dependabot.ymlto preventgo_module_path_mismatcherrors when Dependabot attempts to update this dependency.The elastic/sarama fork is maintained by Elastic with custom patches based on Shopify/sarama. The dependency is kept at version
v1.19.1-0.20250603175145-7672917f26b6and managed manually to avoid automated update issues.Why is it important?
Prevents Dependabot from encountering path mismatch errors when attempting to update the elastic/sarama fork, while allowing the dependency to be managed manually at the required version. This unblocks Dependabot operations for other dependencies.
See https://github.com/elastic/elastic-agent/network/updates/1175474681 and https://github.com/elastic/elastic-agent/actions/runs/19975897958/job/57291878855#step:3:11423
Checklist
I have commented my code, particularly in hard-to-understand areasI have made corresponding changes to the documentationI have made corresponding change to the default configuration filesI have added tests that prove my fix is effective or that my feature worksI have added an entry in./changelog/fragmentsusing the changelog toolI have added an integration test or an E2E testDisruptive User Impact
None. The change only affects Dependabot configuration and does not impact runtime behavior or dependency resolution.
How to test this PR locally
go mod verify go list -m github.com/elastic/sarama # Should show: v1.19.1-0.20250603175145-7672917f26b6Verify that Dependabot no longer attempts to update
github.com/elastic/saramain future automated runs.Related issues
Questions to ask yourself
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.