feat: do not collect VCS information when loading code#6349
Merged
ldez merged 2 commits intogolangci:mainfrom Feb 9, 2026
Merged
feat: do not collect VCS information when loading code#6349ldez merged 2 commits intogolangci:mainfrom
ldez merged 2 commits intogolangci:mainfrom
Conversation
|
Hey, thank you for opening your first Pull Request ! |
Contributor
Author
|
@ldez sorry for the delay I had to wait for my company to approve the CLA, it's done ! |
Member
|
To avoid any kind of regression, I added an option to remove this flag if needed. |
d8ca5ee to
0e5c8e1
Compare
Contributor
Author
|
Fair enough 👍 |
Member
|
I take the opportunity to ask if you can suggest your company to sponsor this project. My only source of income is from donations. |
Contributor
Author
|
I'll forward ! (but can't guarantee anything) |
ldez
approved these changes
Feb 9, 2026
gh-worker-dd-mergequeue-cf854d bot
pushed a commit
to DataDog/datadog-agent
that referenced
this pull request
Feb 16, 2026
### What does this PR do? Bump golangci-lint to benefit from golangci/golangci-lint#6349. ### Motivation The fix significantly reduces linting duration in CI: - Linux: 11min -> 5min - Windows: 25min -> 17min (once it's merged we'll have more pipelines and we'll have a more stable estimate of the impact, those numbers are from a few pipelines on this branch) Locally, it removes around 2min from the lint (from 4-5min to 2-3). ### Describe how you validated your changes CI ### Additional Notes Co-authored-by: pierre.gimalac <pierre.gimalac@datadoghq.com>
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.
Fixes #6348.
Explicitly disables collecting VCS information when loading packages, since it is not needed and can take a significant time.