feat: Dagger module for local development#20
Open
MChorfa wants to merge 2 commits intoanthropics:mainfrom
Open
feat: Dagger module for local development#20MChorfa wants to merge 2 commits intoanthropics:mainfrom
MChorfa wants to merge 2 commits intoanthropics:mainfrom
Conversation
This was referenced Apr 9, 2026
971f055 to
054d293
Compare
Author
Major Improvements to Dagger ModuleThis PR has been significantly enhanced from the original basic implementation: What is new:Caching & Performance:
Artifact Outputs (not just stdout):
Cross-Platform Builds:
Security & Supply Chain:
Linting:
Complete Pipeline:
Technical Updates:
Ready for review! 🚀 |
added 2 commits
May 1, 2026 19:13
Adds dagger functions for local dev (not CI replacement): - Build: Run go build in clean container - Test: Run test suite with proper env setup - Lint: Run lint script in containerized environment This complements the existing GitHub Actions CI/CD by providing reproducible local development workflows.
Major enhancements to the Dagger module: - Updated to Dagger SDK v0.18.2 with proper go.mod alignment - Added Go module and build cache for faster incremental builds - Functions now return artifacts (Directory/File) instead of stdout strings - BuildForPlatform: Cross-platform builds (linux/darwin/windows, amd64/arm64) - Test: Returns test results with coverage reports - Lint: Uses golangci-lint with JSON output - VulnScan: govulncheck for vulnerability scanning - SBOM: CycloneDX/SPDX SBOM generation with syft - Provenance: SHA256 checksums for supply chain verification - All: Complete CI pipeline combining all checks and artifacts These changes align with SLSA Level 4+ posture and evidence-native engineering principles.
054d293 to
5e74f83
Compare
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.
Adds minimal Dagger functions for local dev (build, test, lint). Complements existing CI without replacing it.