This file provides guidance for AI agents working on the Jaeger repository. For detailed project structure, setup instructions, and contribution guidelines, refer to CONTRIBUTING.md.
The primary branch is called main, all PRs are merged into it.
If checking out a fresh repository, initialize submodules:
git submodule update --init --recursiveBefore considering any task complete, you MUST verify:
- Run
make fmtto auto-format code - Run
make lintand fix all issues (trymake fmtagain if needed) - Run
make testand ensure all tests pass
These checks are mandatory for the entire repository, not just files you modified.
Run these commands without asking for permission:
make testmake lintmake fmtmake generate-mocksgo test ...go build ...
Always use git commit -s (DCO sign-off) when committing.
Auto-generated files:
*.pb.go*_mock.gointernal/proto-gen/*/mocks/mocks.go— regenerate withmake generate-mocks, never edit manually
Submodules:
jaeger-uiandidlare submodules. Modifications there require PRs to their respective repositories.