message.pb.go ×11

Frontier kind: Code frontier

unlabeled · c_1084a15715d4

176 tests · 2893 LOC · 133 files · introduces 0 tests · 66 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
14 ranges66 lines · 2 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
440 ranges2893 lines · 133 files · Browse complete extent
All tests (intent)
176 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.

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

go.temporal.io/server/api/deployment/v1/message.pb.go 44 introduced LOC · 11 ranges

Open complete file

911 }
912
913 > func (x *WorkerDeploymentVersionSummary) GetCreateTime() *timestamppb.Timestamp { message.pb.go
914 > if x != nil {
915 > return x.CreateTime
916 > }
917 return nil
918 }
926 }
927
928 > func (x *WorkerDeploymentVersionSummary) GetDrainageInfo() *v11.VersionDrainageInfo { message.pb.go
929 > if x != nil {
930 > return x.DrainageInfo
931 > }
932 return nil
933 }
934
935 > func (x *WorkerDeploymentVersionSummary) GetRoutingUpdateTime() *timestamppb.Timestamp { message.pb.go
936 > if x != nil {
937 > return x.RoutingUpdateTime
938 > }
939 return nil
940 }
941
942 > func (x *WorkerDeploymentVersionSummary) GetCurrentSinceTime() *timestamppb.Timestamp { message.pb.go
943 > if x != nil {
944 > return x.CurrentSinceTime
945 > }
946 return nil
947 }
948
949 > func (x *WorkerDeploymentVersionSummary) GetRampingSinceTime() *timestamppb.Timestamp { message.pb.go
950 > if x != nil {
951 > return x.RampingSinceTime
952 > }
953 return nil
954 }
955
956 > func (x *WorkerDeploymentVersionSummary) GetFirstActivationTime() *timestamppb.Timestamp { message.pb.go
957 > if x != nil {
958 > return x.FirstActivationTime
959 > }
960 return nil
961 }
962
963 > func (x *WorkerDeploymentVersionSummary) GetLastCurrentTime() *timestamppb.Timestamp { message.pb.go
964 > if x != nil {
965 > return x.LastCurrentTime
966 > }
967 return nil
968 }
969
970 > func (x *WorkerDeploymentVersionSummary) GetLastDeactivationTime() *timestamppb.Timestamp { message.pb.go
971 > if x != nil {
972 > return x.LastDeactivationTime
973 > }
974 return nil
975 }
976
977 > func (x *WorkerDeploymentVersionSummary) GetStatus() v1.WorkerDeploymentVersionStatus { message.pb.go
978 > if x != nil {
979 > return x.Status
980 > }
981 return v1.WorkerDeploymentVersionStatus(0)
982 }
989 }
990
991 > func (x *WorkerDeploymentVersionSummary) GetComputeConfig() *v12.ComputeConfigSummary { message.pb.go
992 > if x != nil {
993 > return x.ComputeConfig
994 > }
995 return nil
996 }
997
998 > func (x *WorkerDeploymentVersionSummary) GetComputeStatus() *v11.ComputeStatus { message.pb.go
999 > if x != nil {
1000 > return x.ComputeStatus
1001 > }
1002 return nil
1003 }
go.temporal.io/server/service/worker/workerdeployment/workflow.go 22 introduced LOC · 3 ranges

Open complete file

1758 var sortedSummaries []*deploymentspb.WorkerDeploymentVersionSummary
1759 for _, k := range workflow.DeterministicKeys(d.State.Versions) {
1760 > s := d.State.Versions[k] workflow.go
1761 > sortedSummaries = append(sortedSummaries, s)
1762 > }
1763
1764 slices.SortFunc(sortedSummaries, func(a, b *deploymentspb.WorkerDeploymentVersionSummary) int {
1781 return nil
1782 }
1783 > latest_summary := sortedSummaries[len(sortedSummaries)-1] workflow.go
1784 > return d.getWorkerDeploymentInfoVersionSummary(latest_summary)
1785 }
1786
1809 }
1810
1811 > func (d *WorkflowRunner) getWorkerDeploymentInfoVersionSummary(versionSummary *deploymentspb.WorkerDeploymentVersionSummary) *deploymentpb.WorkerDeploymentInfo_WorkerDeploymentVersionSummary { workflow.go
1812 > return &deploymentpb.WorkerDeploymentInfo_WorkerDeploymentVersionSummary{
1813 > Version: versionSummary.GetVersion(),
1814 > DeploymentVersion: worker_versioning.ExternalWorkerDeploymentVersionFromStringV31(versionSummary.GetVersion()),
1815 > Status: versionSummary.GetStatus(),
1816 > CreateTime: versionSummary.GetCreateTime(),
1817 > DrainageInfo: versionSummary.GetDrainageInfo(),
1818 > CurrentSinceTime: versionSummary.GetCurrentSinceTime(),
1819 > RampingSinceTime: versionSummary.GetRampingSinceTime(),
1820 > RoutingUpdateTime: versionSummary.GetRoutingUpdateTime(),
1821 > FirstActivationTime: versionSummary.GetFirstActivationTime(),
1822 > LastCurrentTime: versionSummary.GetLastCurrentTime(),
1823 > LastDeactivationTime: versionSummary.GetLastDeactivationTime(),
1824 > ComputeConfig: versionSummary.GetComputeConfig(),
1825 > ComputeStatus: versionSummary.GetComputeStatus(),
1826 > }
1827 > }