Commit 6e227619 authored by Ramon Nou's avatar Ramon Nou
Browse files

ci: add RPC consistency checker CLI

parent 57cf4c17
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -404,13 +404,16 @@ comment, and round-trip/versioned hostfiles.
**Validation:** Client, daemon, proxy, and tools now consume the same parsed
topology model. Full unit suite passes: 82 test cases and 3,464,810 assertions.

### 21. Generate RPC registration and consistency checks

Run the existing RPC consistency checker in CI and fail on orphaned, missing,
or mismatched tags, structs, registrations, and handlers. Consider a declarative
RPC description to generate tags and registration glue. Add protocol versioning,
rolling-upgrade checks, unknown-tag tests, malformed-payload tests, and
incompatible-version tests.
### 21. Generate RPC registration and consistency checks — in progress

Added a stable `scripts/check_rpc_consistency.py` CLI around the existing
checker, centralized project scanning, and made `ORPHAN`, `MISSING`, and
CLI help, and critical-severity policy.
CLI help, and critical-severity policy. Added the checker as a CI lint job.
Remaining work: CI integration, declarative RPC descriptions or generated registration glue,
Remaining work: declarative RPC descriptions or generated registration glue,
protocol versioning, rolling-upgrade checks, unknown-tag tests,
malformed-payload tests, and incompatible-version tests.

### 22. Consolidate error handling and result types

+585 −0

File added.

Preview size limit exceeded, changes collapsed.

+228 −0

File added.

Preview size limit exceeded, changes collapsed.

+53 −0

File added.

Preview size limit exceeded, changes collapsed.

+40 −0

File added.

Preview size limit exceeded, changes collapsed.