Skip to main content

Contribution workflow

Work moves through small, issue-driven pull requests.

Ticket workflow​

  1. Select an issue (start with the backlog priorities).
  2. Inspect the relevant code, documentation and ADRs.
  3. Plan the smallest change that meets the acceptance criteria. Record a new ADR if it changes an architectural decision.
  4. Implement with tests.
  5. Verify: format, clippy, tests, cargo deny, docs build.
  6. Measure if it touches a hot path or memory (see benchmarking).
  7. Document: update the canonical page; never describe planned behaviour as implemented.
  8. Open a focused pull request using the template that fits.
  9. Review and merge through the normal process. Only maintainers merge.

Branches and versions​

  • main is always releasable: CI green, documentation accurate.
  • Work happens on short-lived branches named feat/…, fix/…, docs/…, perf/… or chore/….
  • Do not push to main directly, force-push shared branches or rewrite others' history.
  • Versions follow semver once releases start. Until 1.0, minor versions may break APIs; breaking changes are listed in the pull request and release notes. The extension API is versioned separately (EXTENSION_API_VERSION).

Pull request expectations​

Every pull request links its issue and states: summary, scope, tests run, performance and security impact, documentation updated, relevant ADRs and breaking changes. Templates live in .github/PULL_REQUEST_TEMPLATE/ (feature, bug fix, documentation/maintenance, performance, architecture). Small fixes may answer "n/a" quickly; nothing more is expected for trivial changes.

Reviewers check correctness first, then boundaries (does the code sit in the crate that owns it?), responsiveness, tests and docs.

Issue lifecycle​

StateMeaning
NewFiled with a template; needs triage.
TriagedPriority (P0–P3) and component labels set; acceptance criteria clear.
ReadySmall enough for one pull request; dependencies done.
In progressSomeone is assigned; a draft PR is welcome.
In reviewPR open and linked.
DoneMerged; documentation updated. Closed by the PR.

Issue templates cover bug reports, feature proposals, performance regressions and architecture/RFC discussions.

Contribution rights​

Read CONTRIBUTING.md and the draft CLA.md. The CLA is a draft pending legal review and owner approval; it is not enforced and no signatures are collected yet. The intended process: once approved, contributors sign through a CLA assistant (individual or corporate), the signature is recorded with the agreement version, and a required check verifies it on each pull request. Until then, maintainers should not merge external contributions intended for dual licensing.