Skip to content

[K9VULN-13445] Rename lockfile directory#156

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
mainfrom
divya.vithiyatharan/rename-lockfile-dir
May 26, 2026
Merged

[K9VULN-13445] Rename lockfile directory#156
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
mainfrom
divya.vithiyatharan/rename-lockfile-dir

Conversation

@divyav-datadog

@divyav-datadog divyav-datadog commented May 26, 2026

Copy link
Copy Markdown
Contributor

What problem are you trying to solve?

The pkg/lockfile directory name is misleading since it handles both lockfiles and source/manifest file matchers, so roughly half its contents are not lockfiles at all.

What is your solution?

  • Rename lockfile to extractor, which better reflects the package's purpose as the core extraction layer.
  • Updated all import paths, package declarations, and call sites across the codebase accordingly.

Alternatives considered

Name options: extractor, depfile, parsers, lockfile (keep it)

What the reviewer should know

This is a pure rename, no logic changes.

@divyav-datadog
divyav-datadog requested a review from a team as a code owner May 26, 2026 17:52
@divyav-datadog divyav-datadog self-assigned this May 26, 2026
@datadog-datadog-prod-us1-2

Copy link
Copy Markdown

🎯 Code Coverage (details)
Patch Coverage: -1.00%
Overall Coverage: 85.21%

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

@dastrong dastrong left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot merged commit aab0cf4 into main May 26, 2026
12 checks passed
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot deleted the divya.vithiyatharan/rename-lockfile-dir branch May 26, 2026 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants