message.pb.go ×4

Frontier kind: Code frontier

unlabeled · c_00b6578c7027

24 tests · 1919 LOC · 82 files · introduces 0 tests · 38 LOC · 3 files

Introduces — evidence that enters the hierarchy at this concept

Code
8 ranges38 lines · 3 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
275 ranges1919 lines · 82 files · Browse complete extent
All tests (intent)
24 testsBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

3 files ranked by introduced lines: 38 introduced LOC across 8 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/api/archiver/v1/message.pb.go 16 introduced LOC · 4 ranges

Open complete file

254 }
255
256 > func (x *VisibilityRecord) GetNamespace() string { message.pb.go
257 > if x != nil {
258 > return x.Namespace
259 > }
260 return ""
261 }
275 }
276
277 > func (x *VisibilityRecord) GetWorkflowTypeName() string { message.pb.go
278 > if x != nil {
279 > return x.WorkflowTypeName
280 > }
281 return ""
282 }
296 }
297
298 > func (x *VisibilityRecord) GetCloseTime() *timestamppb.Timestamp { message.pb.go
299 > if x != nil {
300 > return x.CloseTime
301 > }
302 return nil
303 }
304
305 > func (x *VisibilityRecord) GetStatus() v11.WorkflowExecutionStatus { message.pb.go
306 > if x != nil {
307 > return x.Status
308 > }
309 return v11.WorkflowExecutionStatus(0)
310 }
go.temporal.io/server/common/archiver/util.go 13 introduced LOC · 1 range

Open complete file

37
38 // TagLoggerWithArchiveVisibilityRequestAndURI tags logger with fields in the archive visibility request and the URI
39 > func TagLoggerWithArchiveVisibilityRequestAndURI(logger log.Logger, request *archiverspb.VisibilityRecord, URI string) log.Logger { util.go
40 > return log.With(
41 > logger,
42 > tag.ArchivalRequestNamespaceID(request.GetNamespaceId()),
43 > tag.ArchivalRequestNamespace(request.GetNamespace()),
44 > tag.ArchivalRequestWorkflowID(request.GetWorkflowId()),
45 > tag.ArchivalRequestRunID(request.GetRunId()),
46 > tag.ArchvialRequestWorkflowType(request.GetWorkflowTypeName()),
47 > tag.ArchivalRequestCloseTimestamp(request.GetCloseTime()),
48 > tag.ArchivalRequestStatus(request.GetStatus().String()),
49 > tag.ArchivalURI(URI),
50 > )
51 > }
52
53 // ValidateHistoryArchiveRequest validates the archive history request
go.temporal.io/server/common/log/tag/tags.go 9 introduced LOC · 3 ranges

Open complete file

859
860 // ArchvialRequestWorkflowType returns tag for RequestWorkflowType
861 > func ArchvialRequestWorkflowType(requestWorkflowType string) ZapTag { tags.go
862 > return NewStringTag("archival-request-workflow-type", requestWorkflowType)
863 > }
864
865 // ArchivalRequestRunID returns tag for RequestRunID
884
885 // ArchivalRequestCloseTimestamp returns tag for RequestCloseTimestamp
886 > func ArchivalRequestCloseTimestamp(requestCloseTimeStamp *timestamppb.Timestamp) ZapTag { tags.go
887 > return NewTimeTag("archival-request-close-timestamp", requestCloseTimeStamp.AsTime())
888 > }
889
890 // ArchivalRequestStatus returns tag for RequestStatus
891 > func ArchivalRequestStatus(requestStatus string) ZapTag { tags.go
892 > return NewStringTag("archival-request-status", requestStatus)
893 > }
894
895 // ArchivalURI returns tag for Archival URI