Skip to content

Incompatible redact_safe.md generated on mac #50146

@miretskiy

Description

@miretskiy

The automatically generated on mac "docs/generated/redact_safe.md" seems to trigger
CI lint failure:

Ensure generated code is up-to-date
HEAD detached at 5472ca313f
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
  modified:   docs/generated/redact_safe.md
no changes added to commit (use "git add" and/or "git commit -a")
diff --git a/docs/generated/redact_safe.md b/docs/generated/redact_safe.md
index c6f3d48a8c..956cabe1be 100644
--- a/docs/generated/redact_safe.md
+++ b/docs/generated/redact_safe.md
@@ -2,14 +2,14 @@ The following types are considered always safe for reporting:
 File | Type
 --|--
-pkg/kv/kvserver/raft.go:298:func (SnapshotRequest_Type) SafeValue() {}
-pkg/roachpb/data.go:2281:func (ReplicaChangeType) SafeValue() {}
-pkg/roachpb/metadata.go:36:func (n NodeID) SafeValue() {}
-pkg/roachpb/metadata.go:55:func (n StoreID) SafeValue() {}
-pkg/roachpb/metadata.go:66:func (r RangeID) SafeValue() {}
-pkg/roachpb/metadata.go:84:func (r ReplicaID) SafeValue() {}
-pkg/roachpb/metadata.go:375:func (r ReplicaType) SafeValue() {}
-pkg/util/hlc/timestamp.go:96:func (Timestamp) SafeValue() {}
+pkg/kv/kvserver/raft.go | `SnapshotRequest_Type`
+pkg/roachpb/data.go | `ReplicaChangeType`
+pkg/roachpb/metadata.go | `NodeID`
+pkg/roachpb/metadata.go | `StoreID`
+pkg/roachpb/metadata.go | `RangeID`
+pkg/roachpb/metadata.go | `ReplicaID`
+pkg/roachpb/metadata.go | `ReplicaType`
+pkg/util/hlc/timestamp.go | `Timestamp`
 pkg/util/log/redact.go | `reflect.TypeOf(true)`
 pkg/util/log/redact.go | `reflect.TypeOf(123)`
 pkg/util/log/redact.go | `reflect.TypeOf(int8(0))`
Process exited with code 1
Show more linesOpen in build log

Metadata

Metadata

Assignees

Labels

A-build-systemB-os-macosIssues specific to macOS.C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions