[CI] Move the static ratchets back to CPU unit tests (#34913)
This commit is contained in:
@@ -26,9 +26,8 @@ A new unit test case must fall into one of these categories:
|
||||
3. **Critical-path bookkeeping.** Defends conventions that are easy to break by
|
||||
forgetting to sync -- registry completeness, field lifecycle, serialization
|
||||
compatibility. Enumerating assertions are fine here; the guarded failure
|
||||
mode is "someone extended X without updating Y". Example: the namespace
|
||||
coverage tests (`test/registered/unit/test_server_args_namespaces.py`). Static
|
||||
source ratchets belong in `scripts/lint/` as checkers, not unit tests.
|
||||
mode is "someone extended X without updating Y". Example: the ratchet tests
|
||||
(`test/registered/unit/test_module_state_ratchet.py`).
|
||||
|
||||
Not admissible:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user