docs: Add ticket templates for RPC methods and state format upgrades #7738
Labels
A-docs
Area: Documentation
A-rpc
Area: Remote Procedure Call interfaces
A-state
Area: State / database changes
C-trivial
Category: A trivial change that is not worth mentioning in the CHANGELOG
extra-reviews
This PR needs at least 2 reviews to merge
S-needs-triage
Status: A bug report needs triage
Motivation
Motivation
We have learnt a lot about reliably implementing RPCs and in-place state format upgrades over the past few years. We have a well-defined process for RPCs, and we need a well-defined process for state upgrades.
It might also help to upgrade the PR template to add a checklist for the PR author, because we often forget tests or doc updates in PRs.
Rough Plan
Checklist:
optional: unit tests on a fake state
integration tests: either gRPC tests or tests on a populated state (not a fake state)
snapshot tests
manual diff tests
State Format Upgrade template:
integration tests for RPCs or validation that uses new format
add these implementation and testing checklists:
PR template:
Author:
Reviewer:
Review
We should get multiple developers to read and review these templates, to make sure we can all understand and use them.
Related Work
The state upgrade template might reference the docs in #7737.
The text was updated successfully, but these errors were encountered: