ndc_standby_task_util.go ×2

Frontier kind: Code frontier

unlabeled · c_3b718696bdda

17 tests · 4544 LOC · 195 files · introduces 0 tests · 23 LOC · 4 files

Introduces — evidence that enters the hierarchy at this concept

Code
5 ranges23 lines · 4 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
681 ranges4544 lines · 195 files · Browse complete extent
All tests (intent)
17 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.

4 files ranked by introduced lines: 23 introduced LOC across 5 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/history/ndc_standby_task_util.go 13 introduced LOC · 2 ranges

Open complete file

89 registry namespace.Registry,
90 chasmRegistry *chasm.Registry,
91 > ) bool { ndc_standby_task_util.go
92 > namespaceEntry, err := registry.GetNamespaceByID(namespace.ID(workflowKey.NamespaceID))
93 > if err != nil {
94 return true
95 }
96
97 > archetype, ok := chasmRegistry.ComponentFqnByID(archetypeID) ndc_standby_task_util.go
98 > if !ok {
99 > logger.Error("Unknown archetype ID.",
100 > tag.ArchetypeID(archetypeID),
101 > tag.WorkflowNamespaceID(workflowKey.NamespaceID),
102 > tag.WorkflowID(workflowKey.WorkflowID),
103 > tag.WorkflowRunID(workflowKey.RunID),
104 > )
105 > return true
106 > }
107
108 remoteClusterName, err := getSourceClusterName(
go.temporal.io/server/common/log/tag/zap_tag.go 5 introduced LOC · 1 range

Open complete file

100 }
101
102 > func NewUInt32(key string, value uint32) ZapTag { zap_tag.go
103 > return ZapTag{
104 > field: zap.Uint32(key, value),
105 > }
106 > }
107
108 func NewUInt64(key string, value uint64) ZapTag {
go.temporal.io/server/common/log/tag/tags.go 3 introduced LOC · 1 range

Open complete file

87
88 // ArchetypeID returns tag for Archetype
89 > func ArchetypeID(archetype uint32) ZapTag { tags.go
90 > return NewUInt32("archetype-id", archetype)
91 > }
92
93 // WorkflowTimeoutType returns tag for WorkflowTimeoutType
go.temporal.io/server/chasm/registry.go 2 introduced LOC · 1 range

Open complete file

115 rc, ok := r.rcByID[id]
116 if !ok {
117 > return "", false registry.go
118 > }
119 return rc.fqType(), true
120 }