Thanks for contributing to TOONDB.
- Go
1.22+ - Docker (recommended for runtime verification)
go test ./...Run service locally:
go run ./cmd/toondb-service -host 127.0.0.1 -port 6767 -tenant dev -data-dir ./data-goengine/core database operationsstorage/append store + WALindex/hash index persistenceparser/TOON/JSON parsing and serializationquery/filter matching and planningservice/HTTP service layercmd/toondb-service/service entrypointcmd/toondb-bridge/stdin/stdout bridge entrypoint
- Keep changes focused and minimal.
- Maintain backward compatibility for service API unless explicitly breaking.
- Add tests for behavioral changes.
- Preserve deterministic and clear error messages.
- Avoid introducing unnecessary dependencies.
Before opening a PR:
go test ./...If service-layer behavior changed, also validate:
- Local service health/auth works.
- CRUD endpoints still behave correctly.
- Bridge endpoint (
/v1/bridge) behavior is correct.
Detailed commands:
docker compose up -d --build
docker compose logs --tail 100Confirm:
- service starts cleanly
- health endpoint responds
- data volume permissions are correct
- Code compiles and tests pass
- New/changed behavior covered by tests
- README/docs updated where needed
- No unrelated refactors mixed in
- Breaking changes are clearly called out
Suggested prefixes:
feat:new functionalityfix:bug fixdocs:documentation updatestest:test changesrefactor:internal cleanup without behavior change
Please include:
- environment details (OS, Go version, Docker version if relevant)
- minimal reproduction steps
- expected vs actual behavior
- logs/error output