message.pb.go ×3

Frontier kind: Joint frontier

unlabeled · c_6396aa744101

4 tests · 3149 LOC · 137 files · introduces 2 tests · 37 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
6 ranges37 lines · 2 files
Tests
2 tests

Contains — complete concept membership

All code (extent)
512 ranges3149 lines · 137 files · Browse complete extent
All tests (intent)
4 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: 37 introduced LOC across 6 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/worker/workerdeployment/workflow.go 20 introduced LOC · 3 ranges

Open complete file

580
581 // Start the version workflow via activity.
582 > activityCtx := workflow.WithActivityOptions(ctx, defaultActivityOptions) workflow.go
583 > err = workflow.ExecuteActivity(activityCtx, d.a.StartWorkerDeploymentVersionWorkflow, &deploymentspb.StartWorkerDeploymentVersionRequest{
584 > DeploymentName: versionObj.DeploymentName,
585 > BuildId: versionObj.BuildId,
586 > RequestId: args.GetRequestId(),
587 > Identity: args.GetIdentity(),
588 > ComputeConfig: computeConfigSummary,
589 > }).Get(ctx, nil)
590 > if err != nil {
591 if computeConfig != nil {
592 deleteCtx := workflow.WithActivityOptions(ctx, defaultActivityOptions)
603
604 // Add version to local state.
605 > d.State.Versions[args.GetVersion()] = &deploymentspb.WorkerDeploymentVersionSummary{ workflow.go
606 > Version: args.GetVersion(),
607 > CreateTime: timestamppb.New(workflow.Now(ctx)),
608 > Status: enumspb.WORKER_DEPLOYMENT_VERSION_STATUS_CREATED,
609 > CreateRequestId: args.GetRequestId(),
610 > ComputeConfig: computeConfigSummary,
611 > }
612 > d.metrics.Counter(metrics.WorkerDeploymentVersionCreated.Name()).Inc(1)
613 >
614 > if err := d.updateMemo(ctx); err != nil {
615 return nil, err
616 }
617 > return &deploymentspb.CreateWorkerDeploymentVersionResponse{}, nil workflow.go
618 }
619
go.temporal.io/server/api/deployment/v1/message.pb.go 17 introduced LOC · 3 ranges

Open complete file

1812 }
1813
1814 > func (x *StartWorkerDeploymentVersionRequest) Reset() { message.pb.go
1815 > *x = StartWorkerDeploymentVersionRequest{}
1816 > mi := &file_temporal_server_api_deployment_v1_message_proto_msgTypes[24]
1817 > ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1818 > ms.StoreMessageInfo(mi)
1819 > }
1820
1821 > func (x *StartWorkerDeploymentVersionRequest) String() string { message.pb.go
1822 > return protoimpl.X.MessageStringOf(x)
1823 > }
1824
1825 func (*StartWorkerDeploymentVersionRequest) ProtoMessage() {}
1826
1827 > func (x *StartWorkerDeploymentVersionRequest) ProtoReflect() protoreflect.Message { message.pb.go
1828 > mi := &file_temporal_server_api_deployment_v1_message_proto_msgTypes[24]
1829 > if x != nil {
1830 > ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1831 > if ms.LoadMessageInfo() == nil {
1832 > ms.StoreMessageInfo(mi)
1833 > }
1834 > return ms
1835 }
1836 return mi.MessageOf(x)