build: regenerate and verify all generated outputs

Expand the generated-file gate beyond *_gen.go and go.sum to cover generated tests, msgp output, stringer files, go.mod, and untracked generated artifacts.

Regenerate the 19 stale stringer outputs with the go.mod-pinned x/tools version. Runtime String output is unchanged, and a repeated generation pass now leaves the tree byte-identical.

Co-authored-by: ChatGPT <noreply@openai.com>
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Feng Ruohang
2026-08-04 22:44:59 +08:00
parent 632ade111b
commit 1814ae52f4
20 changed files with 74 additions and 46 deletions
+4 -4
View File
@@ -32,9 +32,9 @@ const _Op_name = "ConnectConnectResponsePingPongConnectMuxMuxConnectErrorDisconn
var _Op_index = [...]uint8{0, 7, 22, 26, 30, 40, 55, 74, 93, 105, 117, 130, 142, 148, 155, 163, 173, 179}
func (i Op) String() string {
i -= 1
if i >= Op(len(_Op_index)-1) {
return "Op(" + strconv.FormatInt(int64(i+1), 10) + ")"
idx := int(i) - 1
if i < 1 || idx >= len(_Op_index)-1 {
return "Op(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Op_name[_Op_index[i]:_Op_index[i+1]]
return _Op_name[_Op_index[idx]:_Op_index[idx+1]]
}