Skip to content

Add Kustomize resolver preprocessor core#115

Draft
whitemerch wants to merge 5 commits into
chakib.hamie/kustomize_support_foundationfrom
chakib.hamie/kustomize_support_preprocessor_pr1
Draft

Add Kustomize resolver preprocessor core#115
whitemerch wants to merge 5 commits into
chakib.hamie/kustomize_support_foundationfrom
chakib.hamie/kustomize_support_preprocessor_pr1

Conversation

@whitemerch
Copy link
Copy Markdown
Contributor

@whitemerch whitemerch commented Apr 24, 2026

Tip

This PR is best reviewed commit by commit.

Summary

  • add the Kustomize resolver core, including local-tree discovery, precheck diagnostics, helm prepass, and render orchestration
  • add internal helper subprocess wiring (internal kustomize-render) and startup hook so kustomize builds run with timeout control
  • add root-scoped file utilities and apply them in resolver paths to keep file access bounded while satisfying lint checks

Full design context and architecture details: #113

Test plan

  • go test ./pkg/resolver/kustomize/... ./pkg/rootfile/... -count=1
  • $(go env GOPATH)/bin/golangci-lint run ./pkg/resolver/kustomize/... ./pkg/rootfile/...

Notes

  • this PR only includes preprocessor/resolver core changes
  • detector mapping, scan activation, and fixtures are split into follow-up PRs

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

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

🎯 Code Coverage (details)
Patch Coverage: 63.58%
Overall Coverage: 47.02% (+1.49%)

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

@whitemerch whitemerch changed the base branch from main to chakib.hamie/kustomize_support_foundation April 24, 2026 15:32
@whitemerch whitemerch force-pushed the chakib.hamie/kustomize_support_preprocessor_pr1 branch from 437f310 to 7de9c87 Compare April 24, 2026 15:46
@whitemerch whitemerch marked this pull request as ready for review April 24, 2026 15:59
@whitemerch whitemerch requested a review from a team as a code owner April 24, 2026 15:59
@whitemerch whitemerch marked this pull request as draft April 24, 2026 15:59
chatgpt-codex-connector[bot]

This comment was marked as resolved.

@whitemerch whitemerch marked this pull request as ready for review April 29, 2026 08:56
@whitemerch whitemerch force-pushed the chakib.hamie/kustomize_support_preprocessor_pr1 branch from 7de9c87 to 3f3fd44 Compare April 29, 2026 09:01
chatgpt-codex-connector[bot]

This comment was marked as resolved.

chatgpt-codex-connector[bot]

This comment was marked as resolved.

@whitemerch whitemerch force-pushed the chakib.hamie/kustomize_support_preprocessor_pr1 branch 2 times, most recently from fe355ab to 0a92c0f Compare April 29, 2026 11:48
@whitemerch whitemerch force-pushed the chakib.hamie/kustomize_support_foundation branch 3 times, most recently from a58d6bf to 79096eb Compare April 30, 2026 16:12
@whitemerch whitemerch marked this pull request as draft April 30, 2026 16:15
@whitemerch whitemerch force-pushed the chakib.hamie/kustomize_support_preprocessor_pr1 branch from 0a92c0f to 601f8f4 Compare April 30, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant