tags.go ×1

Frontier kind: Joint frontier

unlabeled · c_42aaf83e5225

2 tests · 2182 LOC · 96 files · introduces 1 test · 13 LOC · 3 files

Introduces — evidence that enters the hierarchy at this concept

Code
3 ranges13 lines · 3 files
Tests
1 test

Contains — complete concept membership

All code (extent)
348 ranges2182 lines · 96 files · Browse complete extent
All tests (intent)
2 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.

1 test introduced at this concept.

Introduced code

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

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

go.temporal.io/server/service/worker/scanner/history/scavenger.go 8 introduced LOC · 1 range

Open complete file

219 namespaceID, workflowID, runID, err := persistence.SplitHistoryGarbageCleanupInfo(branch.Info)
220 if err != nil {
221 > s.logger.Error("unable to parse the history cleanup info", tag.DetailInfo(branch.Info), tag.Error(err)) scavenger.go
222 > metrics.HistoryScavengerErrorCount.With(s.metricsHandler).Record(1)
223 >
224 > s.Lock()
225 > defer s.Unlock()
226 > s.hbd.ErrorCount++
227 > return nil
228 > }
229 shardID := common.WorkflowIDToHistoryShard(namespaceID, workflowID, s.numShards)
230
go.temporal.io/server/common/log/tag/tags.go 3 introduced LOC · 1 range

Open complete file

504
505 // DetailInfo returns tag for DetailInfo
506 > func DetailInfo(i string) ZapTag { tags.go
507 > return NewStringTag("detail-info", i)
508 > }
509
510 // Counter returns tag for Counter
go.temporal.io/server/common/persistence/data_interfaces.go 2 introduced LOC · 1 range

Open complete file

1434 last := strings.LastIndexByte(info, ':')
1435 if first < 0 || first == last { // need at least two ':' to have 3 parts
1436 > return "", "", "", fmt.Errorf("not able to split info for %s", info) data_interfaces.go
1437 > }
1438 namespaceID = info[:first]
1439 workflowID = info[first+1 : last]