Skip to content

chore(github): add CODEOWNERS for PR review assignments#6636

Merged
kuny0707 merged 1 commit intotronprotocol:developfrom
Sunny6889:feature_code_owners
Apr 2, 2026
Merged

chore(github): add CODEOWNERS for PR review assignments#6636
kuny0707 merged 1 commit intotronprotocol:developfrom
Sunny6889:feature_code_owners

Conversation

@Sunny6889
Copy link
Copy Markdown
Contributor

Summary

This PR introduces a .github/CODEOWNERS file to enforce structured, module-level code review across the java-tron repository.

  • Reviewers are selected based on community activity — contributors with a sustained record of meaningful commits, reviews, and issue engagement in their respective areas
  • Each top-level Gradle module (framework, chainbase, actuator, consensus, protocol, common, crypto, plugins) has dedicated owners
  • Critical sub-packages (db, net, vm/tvm, jsonrpc, rpc, http, event, config, backup, metrics, rewards, lite) are further refined with domain experts
  • Test code mirrors the ownership of the corresponding production module
  • A default fallback owner is defined for any path not covered by a specific rule
  • Rules follow GitHub's last-match-wins precedence: more specific paths are placed further down the file

Motivation

As the codebase grows, ad-hoc reviewer selection leads to inconsistent review quality. By anchoring ownership to demonstrated community involvement, we ensure PRs are reviewed by contributors who are actively familiar with the affected code, improving review reliability and reducing the risk of subtle regressions.

Define per-module code owners covering all top-level Gradle modules,
CI/build config, key sub-packages (db, net, vm, jsonrpc, rpc, http,
event, config, backup, metrics, rewards, lite, test), and a default
fallback owner for unmatched paths.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kuny0707 kuny0707 merged commit 721b165 into tronprotocol:develop Apr 2, 2026
3 of 5 checks passed
@halibobo1205 halibobo1205 added this to the GreatVoyage-v4.8.2 milestone Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants