ci: keep registry classifications stable across line-only rebases (#996)

Merge note (pull_request_target spec-trace workflow has a startup_failure on every branch since 2026-12-02 22:45Z, so its checks run locally):
- Test run 47143803892 succeeded (go test (linux), process-level tests (real binaries)) on head d7e51484 against main fefd83d0, the current main head.
- spec-trace-check.sh and public-text-check.sh, run with the main branch's scripts against this head and body: both exit 0.
- Code review ACCEPT on 1682bcba: 271 bound classifications, citations and notes and 289 trace bindings compared unchanged; source lines are diagnostic only, while a renamed or moved function still changes its key and needs a classification; the union merge keeps concurrent additions and the checker keeps rows sorted and unique.
This commit is contained in:
pingqiu-cpu authored and GitHub committed 2026-12-03 08:25:32 -08:00
1 parent c273e07beb
commit 41de8a137e
8 files changed
+557 -464

No files matched your search

+11
View File
@@ -8,6 +8,17 @@ path and `Module.Action`. Repeat a path to list alternative actions that
cover it. Paths are case-sensitive; directories and glob patterns are not
expanded. Missing, empty or malformed mappings refuse the check.
Source line numbers are not part of this file-wide mapping. Moving a function
or test within its file does not change its model obligations or rewrite the
table. The time-bound registry separately keys individual bounds by file,
function, bound kind and occurrence; CI scans current source locations for
diagnostics rather than committing those locations.
Git uses its built-in union merge for this table so concurrent row additions
are retained. After a merge, sort and deduplicate the non-comment rows; the
checker refuses unsorted or duplicate rows. Review removals explicitly: a
union merge does not decide whether an old mapping should be removed.
The reviewed map uses the neutral public module names: `SnapshotRemoval`,
`RestoreTarget`, `HolderInterface`, `EngineAdapter`, `StopAndRestart`,
`MoveAdmission`, `Promotion`, `ProbeRound`, `FencingRound`, `VolumeCreate`,