Contributing
April 13, 2026 ยท View on GitHub
Thanks for your interest in contributing to swarm-rbac-proxy.
Getting started
go build .
go test -v -race ./...
gofmt -l .
go vet ./...
golangci-lint run
Integration tests require a PostgreSQL instance:
TEST_DATABASE_URL=postgres://user:pass@localhost:5432/testdb?sslmode=disable \
go test -race -tags=integration ./...
See CLAUDE.md for full architecture details and the pre-push checklist.
Submitting changes
- Fork the repository and create a feature branch.
- Make your changes. Keep diffs focused โ one concern per PR.
- Ensure all checks pass:
go build . && go test -race ./... && gofmt -l . && go vet ./... && golangci-lint run - If you add new environment variables, endpoints, or CLI commands, update the relevant docs (
docs/configuration.md,docs/api.md,CLAUDE.md). - Open a pull request with a clear description of what and why.
Reporting issues
Use the GitHub issue tracker.