message.pb.go ×7

Frontier kind: Code frontier

unlabeled · c_1faf8803d44e

7 tests · 3031 LOC · 122 files · introduces 0 tests · 57 LOC · 3 files

Introduces — evidence that enters the hierarchy at this concept

Code
11 ranges57 lines · 3 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
528 ranges3031 lines · 122 files · Browse complete extent
All tests (intent)
7 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.

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

go.temporal.io/server/service/worker/scheduler/workflow.go 35 introduced LOC · 2 ranges

Open complete file

340 }
341 if s.State.PendingMigration {
342 > err := s.executeMigration() workflow.go
343 > if err == nil {
344 s.logger.Info("schedule migration to CHASM succeeded",
345 "namespace", s.State.Namespace,
1052 }
1053
1054 > func (s *scheduler) executeMigration() error { workflow.go
1055 > s.logger.Info("schedule migration to CHASM started",
1056 > "namespace", s.State.Namespace,
1057 > "schedule-id", s.State.ScheduleId,
1058 > )
1059 > s.metrics.WithTags(map[string]string{
1060 > metrics.ScheduleMigrationDirectionTag: metrics.ScheduleMigrationDirectionToChasm,
1061 > }).Counter(metrics.ScheduleMigrationStarted.Name()).Inc(1)
1062 >
1063 > workflowInfo := workflow.GetInfo(s.ctx)
1064 >
1065 > //nolint:staticcheck // SA1019 Migration needs raw proto format, not typed search attributes.
1066 > req := migration.LegacyToCreateFromMigrationStateRequest(
1067 > s.Schedule,
1068 > s.Info,
1069 > s.State,
1070 > workflowInfo.SearchAttributes,
1071 > workflowInfo.Memo,
1072 > s.now(),
1073 > )
1074 > migrateOptions := workflow.LocalActivityOptions{
1075 > ScheduleToCloseTimeout: 10 * time.Minute,
1076 > StartToCloseTimeout: 5 * time.Second,
1077 > RetryPolicy: &temporal.RetryPolicy{
1078 > MaximumAttempts: 1,
1079 > },
1080 > }
1081 > return workflow.ExecuteLocalActivity(
1082 > workflow.WithLocalActivityOptions(s.ctx, migrateOptions),
1083 > s.a.MigrateScheduleToChasm,
1084 > req).
1085 > Get(s.ctx, nil)
1086 > }
1087
1088 func (s *scheduler) processSignals() bool {
go.temporal.io/server/chasm/lib/scheduler/gen/schedulerpb/v1/message.pb.go 14 introduced LOC · 7 ranges

Open complete file

81 return ms
82 }
83 > return mi.MessageOf(x) message.pb.go
84 }
85
248 return ms
249 }
250 > return mi.MessageOf(x) message.pb.go
251 }
252
311 return ms
312 }
313 > return mi.MessageOf(x) message.pb.go
314 }
315
390 return ms
391 }
392 > return mi.MessageOf(x) message.pb.go
393 }
394
493 return ms
494 }
495 > return mi.MessageOf(x) message.pb.go
496 }
497
544 func (*SchedulerMigrationState) ProtoMessage() {}
545
546 > func (x *SchedulerMigrationState) ProtoReflect() protoreflect.Message { message.pb.go
547 > mi := &file_temporal_server_chasm_lib_scheduler_proto_v1_message_proto_msgTypes[6]
548 > if x != nil {
549 > ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
550 > if ms.LoadMessageInfo() == nil {
551 > ms.StoreMessageInfo(mi)
552 > }
553 > return ms
554 }
555 > return mi.MessageOf(x) message.pb.go
556 }
557
go.temporal.io/server/chasm/lib/scheduler/gen/schedulerpb/v1/request_response.pb.go 8 introduced LOC · 2 ranges

Open complete file

622 }
623
624 > func (x *CreateFromMigrationStateRequest) String() string { request_response.pb.go
625 > return protoimpl.X.MessageStringOf(x)
626 > }
627
628 func (*CreateFromMigrationStateRequest) ProtoMessage() {}
631 mi := &file_temporal_server_chasm_lib_scheduler_proto_v1_request_response_proto_msgTypes[12]
632 if x != nil {
633 > ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) request_response.pb.go
634 > if ms.LoadMessageInfo() == nil {
635 > ms.StoreMessageInfo(mi)
636 > }
637 > return ms
638 }
639 return mi.MessageOf(x)