version_workflow.go ×4

Frontier kind: Joint frontier

unlabeled · c_48a017a5adcf

17 tests · 3052 LOC · 136 files · introduces 2 tests · 19 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
5 ranges19 lines · 2 files
Tests
2 tests

Contains — complete concept membership

All code (extent)
508 ranges3052 lines · 136 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.

2 tests introduced at this concept.

Introduced code

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

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

go.temporal.io/server/service/worker/workerdeployment/version_workflow.go 11 introduced LOC · 4 ranges

Open complete file

333 //nolint:staticcheck // SA1019
334 if !d.VersionState.StartedDeploymentWorkflow {
335 > activityCtx := workflow.WithActivityOptions(ctx, defaultActivityOptions) version_workflow.go
336 > err := workflow.ExecuteActivity(activityCtx, d.a.StartWorkerDeploymentWorkflow, &deploymentspb.StartWorkerDeploymentRequest{
337 > DeploymentName: d.VersionState.Version.DeploymentName,
338 > RequestId: d.newUUID(ctx),
339 > }).Get(ctx, nil)
340 > if err != nil {
341 return err
342 }
343 //nolint:staticcheck // SA1019
344 > d.VersionState.StartedDeploymentWorkflow = true version_workflow.go
345 }
346 }
1043 }
1044
1045 > func (d *VersionWorkflowRunner) newUUID(ctx workflow.Context) string { version_workflow.go
1046 > var val string
1047 > _ = workflow.SideEffect(ctx, func(ctx workflow.Context) any {
1048 return uuid.NewString()
1049 }).Get(&val)
1050 > return val version_workflow.go
1051 }
1052
go.temporal.io/server/api/deployment/v1/message.pb.go 8 introduced LOC · 1 range

Open complete file

1769 func (*StartWorkerDeploymentRequest) ProtoMessage() {}
1770
1771 > func (x *StartWorkerDeploymentRequest) ProtoReflect() protoreflect.Message { message.pb.go
1772 > mi := &file_temporal_server_api_deployment_v1_message_proto_msgTypes[23]
1773 > if x != nil {
1774 > ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1775 > if ms.LoadMessageInfo() == nil {
1776 > ms.StoreMessageInfo(mi)
1777 > }
1778 > return ms
1779 }
1780 return mi.MessageOf(x)