Thank you for helping improve PathCollapse.
git clone https://github.com/karthikarunapuram8-dot/pathcollapse
cd pathcollapse
go mod download
go build ./...
go test ./...Requirements: Go 1.22+
- Fork and create a feature branch from
main. - Write tests first (TDD) — see testing guidelines.
- Implement the change; keep functions ≤ 50 lines and files ≤ 800 lines.
- Ensure
go vet ./...andgo test -race ./...pass clean. - Open a pull request with a clear title and description.
All packages must maintain ≥ 80% test coverage.
# Run all tests
go test ./...
# Race detector
go test -race ./...
# Coverage report
go test -coverprofile=coverage.out ./...
go tool cover -html=coverage.outFollow Conventional Commits:
feat: add YAML ingestion for AWS IAM roles
fix: handle nil node in path traversal
docs: add query language examples
test: cover edge cases in drift detector
Types: feat, fix, refactor, docs, test, chore, perf, ci
-
go vet ./...passes -
go test -race ./...passes - New functionality has tests
- No hardcoded secrets or credentials
- Functions are focused (≤ 50 lines)
Open a GitHub Issue with:
- Go version (
go version) - OS and architecture
- Minimal reproducer
- Expected vs. actual behaviour
Do not open a public issue for security vulnerabilities. See SECURITY.md for responsible disclosure instructions.
Be respectful and constructive. Harassment of any kind is not tolerated.