endpoint_registry.go ×2

Frontier kind: Joint frontier

unlabeled · c_820c97b21bc7

1 test · 22274 LOC · 603 files · introduces 1 test · 26 LOC · 7 files

Introduces — evidence that enters the hierarchy at this concept

Code
10 ranges26 lines · 7 files
Tests
1 test

Contains — complete concept membership

All code (extent)
4421 ranges22274 lines · 603 files · Browse complete extent
All tests (intent)
1 testBrowse 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.

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

go.temporal.io/server/service/worker/service.go 10 introduced LOC · 2 ranges

Open complete file

321 processor := parentclosepolicy.New(params)
322 if err := processor.Start(); err != nil {
323 > s.logger.Fatal( service.go
324 > "error starting parentclosepolicy processor",
325 > tag.Error(err),
326 > )
327 > }
328 }
329
356 func (s *Service) startScanner() {
357 if err := s.scanner.Start(); err != nil {
358 > s.logger.Fatal( service.go
359 > "error starting scanner",
360 > tag.Error(err),
361 > )
362 > }
363 }
364
go.temporal.io/server/service/worker/scanner/scanner.go 4 introduced LOC · 2 ranges

Open complete file

283 // TODO: Nothing is gracefully stopping these workers or listening for fatal errors.
284 if err := work.Start(); err != nil {
285 > return err scanner.go
286 > }
287 }
288
317 // if the scanner shuts down before the workflow is started, then the error will be context canceled
318 if err != nil && !common.IsContextCanceledErr(err) {
319 > s.context.logger.Fatal("unable to start scanner", tag.WorkflowType(workflowType), tag.Error(err)) scanner.go
320 > }
321 }
322
go.temporal.io/server/temporaltest/options.go 4 introduced LOC · 1 range

Open complete file

46
47 // WithBaseServerOptions enables configuring additional server options not directly exposed via temporaltest.
48 > func WithBaseServerOptions(options ...temporal.ServerOption) TestServerOption { options.go
49 > return applyFunc(func(server *TestServer) {
50 > server.serverOptions = append(server.serverOptions, options...)
51 > })
52 }
go.temporal.io/server/common/nexus/endpoint_registry.go 3 introduced LOC · 2 ranges

Open complete file

273 tableVersion, endpoints, err := r.getAllEndpointsMatchingWithPersistenceFallback(ctx)
274 if err != nil {
275 > return err endpoint_registry.go
276 > }
277 endpointsByID := make(map[string]*persistencespb.NexusEndpointEntry, len(endpoints))
278 endpointsByName := make(map[string]*persistencespb.NexusEndpointEntry, len(endpoints))
go.temporal.io/server/common/authorization/default_authorizer.go 2 introduced LOC · 1 range

Open complete file

40 }
41 if claims == nil {
42 > return resultDeny, nil default_authorizer.go
43 > }
44
45 metadata := api.GetMethodMetadata(target.APIName)
go.temporal.io/server/service/worker/worker.go 2 introduced LOC · 1 range

Open complete file

94 for _, w := range wm.workers {
95 if err := w.Start(); err != nil {
96 > wm.logger.Fatal("Unable to start worker", tag.Error(err)) worker.go
97 > }
98 }
99
go.temporal.io/server/common/log/noop_logger.go 1 introduced LOC · 1 range

Open complete file

20 func (n *noopLogger) DPanic(string, ...tag.Tag) {}
21 func (n *noopLogger) Panic(string, ...tag.Tag) {}
22 > func (n *noopLogger) Fatal(string, ...tag.Tag) {} noop_logger.go
23 func (n *noopLogger) With(...tag.Tag) Logger {
24 return n