Skip to content

Contributing

The full contributing guide lives in CONTRIBUTING.md at the repository root. This page summarizes the essentials.

Setup

You need Go 1.25 or newer and, ideally, just.

git clone https://github.com/intentius/mudflaps
cd mudflaps
just build
just test

Before opening a pull request

Run the checks CI runs:

just fmt        # gofmt -w
just lint       # golangci-lint
just race       # go test -race ./...
just docs-build # mkdocs build --strict

Principles

  • The JSON tags in internal/flaps/types.go are the wire contract; keep them in step with github.com/superfly/fly-go and the OpenAPI document.
  • Route time-dependent behavior through internal/clock so tests stay deterministic.
  • New behavior needs a test.
  • Keep the build self-contained; prefer the standard library.

Conduct and security

Participation is governed by the Code of Conduct. Report vulnerabilities privately as described in SECURITY.md.