migration.go ×2
Frontier kind: Code frontier
unlabeled · c_61c7ec2e863c
12 tests · 2007 LOC · 83 files · introduces 0 tests · 4 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
2 ranges 4 lines · 1 files
Tests
0 tests
Contains — complete concept membership
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.
Focus concept
Ancestors (broader)
Descendants (narrower)
Introduced files
Introduced tests
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.
Introduced files, introduced tests, and structurally relevant concept specialization TestMigrateFailure · 0 introduced LOC TestMigrateFailure TestMigrateDynamicConfigFailure · 0 introduced LOC TestMigrateDynamicConfig… TestMigrateFailureThenRetrySuccess · 0 introduced LOC TestMigrateFailureThenRe… TestMigrateDynamicConfigFlipsMidRun · 0 introduced LOC TestMigrateDynamicConfig… TestMigrateFailureThenSignal · 0 introduced LOC TestMigrateFailureThenSi… TestMigrateSuccess · 0 introduced LOC TestMigrateSuccess workflow.go ×1 · 8 introduced LOC workflow.go ×1 workflow.go ×1 · 8 introduced LOC workflow.go ×1 TestMigrateDynamicConfig · 0 introduced LOC TestMigrateDynamicConfig workflow.go ×1 · 2 introduced LOC workflow.go ×1 workflow.go ×1 · 9 introduced LOC workflow.go ×1 message.pb.go ×7 · 57 introduced LOC message.pb.go ×7 user_SA_preserved,_system_SAs_stripped · 0 introduced LOC user_SA_preserved,_syste… only_user_SAs_—_all_preserved · 0 introduced LOC only_user_SAs_—_all_pres… only_system_SAs_—_all_stripped · 0 introduced LOC only_system_SAs_—_all_st… empty_IndexedFields, nil_search_attributes · 0 introduced LOC empty_IndexedFields, nil… migration.go ×2 · 4 introduced LOC migration.go ×2 migration.go ×8 · 84 introduced LOC migration.go ×8 migration.go ×1 · 2 introduced LOC migration.go ×1 message.pb.go ×2 · 113 introduced LOC message.pb.go ×2 extension.pb.go ×2 · 21 introduced LOC extension.pb.go ×2 noop_moving_window_average.go ×1 · 2 introduced LOC noop_moving_window_avera… search_attribute.go ×12 · 121 introduced LOC search_attribute.go ×12 key.go ×1 · 6 introduced LOC key.go ×1 priority.go ×1 · 3 introduced LOC priority.go ×1 setting_gen.go ×51 · 335 introduced LOC setting_gen.go ×51 grpc_resolver.go ×2 · 7 introduced LOC grpc_resolver.go ×2 util.go ×1 · 3 introduced LOC util.go ×1 predicates.pb.go ×21 · 54 introduced LOC predicates.pb.go ×21 service.pb.go ×2 · 342 introduced LOC service.pb.go ×2 message.pb.go ×2 · 20 introduced LOC message.pb.go ×2 constants.go ×1 · 6 introduced LOC constants.go ×1 task.pb.go ×1 · 3 introduced LOC task.pb.go ×1 message.pb.go ×2 · 442 introduced LOC message.pb.go ×2 defs.go ×5 · 91 introduced LOC defs.go ×5 tags.go ×9 · 37 introduced LOC tags.go ×9 message.pb.go ×2 · 49 introduced LOC message.pb.go ×2 cluster.pb.go ×2 · 200 introduced LOC cluster.pb.go ×2 wildcard.go ×1 · 2 introduced LOC wildcard.go ×1 wildcard.go ×4 · 14 introduced LOC wildcard.go ×4 retrypolicy.go ×3 · 19 introduced LOC retrypolicy.go ×3 message.pb.go ×2 · 20 introduced LOC message.pb.go ×2 payload.go ×1 · 3 introduced LOC payload.go ×1 TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOC TestOperatorServiceMetad… go.temporal.io/server/api/adminservice/v1/request_response.pb.go · 6661 LOC v1/request_response.pb.g… go.temporal.io/server/api/adminservice/v1/service.pb.go · 297 LOC v1/service.pb.go go.temporal.io/server/api/chasm/v1/message.pb.go · 230 LOC v1/message.pb.go go.temporal.io/server/api/clock/v1/message.pb.go · 217 LOC v1/message.pb.go go.temporal.io/server/api/cluster/v1/message.pb.go · 366 LOC v1/message.pb.go go.temporal.io/server/api/common/v1/api_category.pb.go · 230 LOC v1/api_category.pb.go go.temporal.io/server/api/common/v1/dlq.pb.go · 319 LOC v1/dlq.pb.go go.temporal.io/server/api/deployment/v1/message.pb.go · 4650 LOC v1/message.pb.go go.temporal.io/server/api/enums/v1/cluster.pb.go · 233 LOC v1/cluster.pb.go go.temporal.io/server/api/enums/v1/common.pb.go · 288 LOC v1/common.pb.go go.temporal.io/server/api/enums/v1/dlq.pb.go · 211 LOC v1/dlq.pb.go go.temporal.io/server/api/enums/v1/fairness_state.pb.go · 147 LOC v1/fairness_state.pb.go go.temporal.io/server/api/enums/v1/nexus.pb.go · 182 LOC v1/nexus.pb.go go.temporal.io/server/api/enums/v1/predicate.pb.go · 194 LOC v1/predicate.pb.go go.temporal.io/server/api/enums/v1/replication.pb.go · 338 LOC v1/replication.pb.go go.temporal.io/server/api/enums/v1/task.pb.go · 480 LOC v1/task.pb.go go.temporal.io/server/api/enums/v1/workflow.pb.go · 299 LOC v1/workflow.pb.go go.temporal.io/server/api/enums/v1/workflow_task_type.pb.go · 148 LOC v1/workflow_task_type.pb… go.temporal.io/server/api/errordetails/v1/message.pb.go · 649 LOC v1/message.pb.go go.temporal.io/server/api/health/v1/message.pb.go · 324 LOC v1/message.pb.go go.temporal.io/server/api/history/v1/message.pb.go · 522 LOC v1/message.pb.go go.temporal.io/server/api/historyservice/v1/request_response.pb.go · 12003 LOC v1/request_response.pb.g… go.temporal.io/server/api/historyservice/v1/service.pb.go · 452 LOC v1/service.pb.go go.temporal.io/server/api/matchingservice/v1/request_response.pb.go · 6878 LOC v1/request_response.pb.g… go.temporal.io/server/api/matchingservice/v1/service.pb.go · 274 LOC v1/service.pb.go go.temporal.io/server/api/metrics/v1/message.pb.go · 128 LOC v1/message.pb.go go.temporal.io/server/api/namespace/v1/message.pb.go · 138 LOC v1/message.pb.go go.temporal.io/server/api/persistence/v1/chasm.pb.go · 1215 LOC v1/chasm.pb.go go.temporal.io/server/api/persistence/v1/chasm_visibility.pb.go · 170 LOC v1/chasm_visibility.pb.g… go.temporal.io/server/api/persistence/v1/cluster_metadata.pb.go · 313 LOC v1/cluster_metadata.pb.g… go.temporal.io/server/api/persistence/v1/executions.pb.go · 5768 LOC v1/executions.pb.go go.temporal.io/server/api/persistence/v1/history_tree.pb.go · 298 LOC v1/history_tree.pb.go go.temporal.io/server/api/persistence/v1/hsm.pb.go · 929 LOC v1/hsm.pb.go go.temporal.io/server/api/persistence/v1/namespaces.pb.go · 560 LOC v1/namespaces.pb.go go.temporal.io/server/api/persistence/v1/nexus.pb.go · 509 LOC v1/nexus.pb.go go.temporal.io/server/api/persistence/v1/predicates.go-helpers.pb.go · 413 LOC v1/predicates.go-helpers… go.temporal.io/server/api/persistence/v1/predicates.pb.go · 864 LOC v1/predicates.pb.go go.temporal.io/server/api/persistence/v1/queue_metadata.pb.go · 129 LOC v1/queue_metadata.pb.go go.temporal.io/server/api/persistence/v1/queues.pb.go · 641 LOC v1/queues.pb.go go.temporal.io/server/api/persistence/v1/task_queues.pb.go · 924 LOC v1/task_queues.pb.go go.temporal.io/server/api/persistence/v1/tasks.pb.go · 870 LOC v1/tasks.pb.go go.temporal.io/server/api/persistence/v1/update.pb.go · 455 LOC v1/update.pb.go go.temporal.io/server/api/persistence/v1/workflow_mutable_state.pb.go · 560 LOC v1/workflow_mutable_stat… go.temporal.io/server/api/replication/v1/message.pb.go · 2481 LOC v1/message.pb.go go.temporal.io/server/api/routing/v1/extension.pb.go · 169 LOC v1/extension.pb.go go.temporal.io/server/api/schedule/v1/message.pb.go · 1252 LOC v1/message.pb.go go.temporal.io/server/api/taskqueue/v1/message.pb.go · 1363 LOC v1/message.pb.go go.temporal.io/server/api/token/v1/message.pb.go · 809 LOC v1/message.pb.go go.temporal.io/server/api/visibilityservice/v1/request_response.pb.go · 426 LOC v1/request_response.pb.g… go.temporal.io/server/api/workflow/v1/message.pb.go · 302 LOC v1/message.pb.go go.temporal.io/server/chasm/lib/scheduler/gen/schedulerpb/v1/message.pb.go · 871 LOC v1/message.pb.go go.temporal.io/server/chasm/lib/scheduler/gen/schedulerpb/v1/request_response.pb.go · 1046 LOC v1/request_response.pb.g… go.temporal.io/server/chasm/lib/scheduler/gen/schedulerpb/v1/service.pb.go · 110 LOC v1/service.pb.go go.temporal.io/server/chasm/lib/scheduler/gen/schedulerpb/v1/tasks.pb.go · 367 LOC v1/tasks.pb.go go.temporal.io/server/chasm/lib/scheduler/migration/migration.go · 510 LOC migration/migration.go go.temporal.io/server/chasm/library.go · 60 LOC chasm/library.go go.temporal.io/server/chasm/registrable_component.go · 233 LOC chasm/registrable_compon… go.temporal.io/server/chasm/search_attribute.go · 525 LOC chasm/search_attribute.g… go.temporal.io/server/common/aggregate/noop_moving_window_average.go · 13 LOC aggregate/noop_moving_wi… go.temporal.io/server/common/backoff/retrypolicy.go · 347 LOC backoff/retrypolicy.go go.temporal.io/server/common/build/build.go · 56 LOC build/build.go go.temporal.io/server/common/dynamicconfig/collection.go · 779 LOC dynamicconfig/collection… go.temporal.io/server/common/dynamicconfig/deepcopy.go · 78 LOC dynamicconfig/deepcopy.g… go.temporal.io/server/common/dynamicconfig/gradual_change.go · 196 LOC dynamicconfig/gradual_ch… go.temporal.io/server/common/dynamicconfig/key.go · 21 LOC dynamicconfig/key.go go.temporal.io/server/common/dynamicconfig/registry.go · 44 LOC dynamicconfig/registry.g… go.temporal.io/server/common/dynamicconfig/setting_gen.go · 1972 LOC dynamicconfig/setting_ge… go.temporal.io/server/common/dynamicconfig/shared_structure.go · 69 LOC dynamicconfig/shared_str… go.temporal.io/server/common/log/tag/tags.go · 1039 LOC tag/tags.go go.temporal.io/server/common/log/tag/zap_tag.go · 242 LOC tag/zap_tag.go go.temporal.io/server/common/membership/grpc_resolver.go · 169 LOC membership/grpc_resolver… go.temporal.io/server/common/metrics/defs.go · 76 LOC metrics/defs.go go.temporal.io/server/common/metrics/defs_base.go · 30 LOC metrics/defs_base.go go.temporal.io/server/common/metrics/noop_impl.go · 58 LOC metrics/noop_impl.go go.temporal.io/server/common/metrics/option.go · 21 LOC metrics/option.go go.temporal.io/server/common/metrics/registry.go · 75 LOC metrics/registry.go go.temporal.io/server/common/payload/payload.go · 127 LOC payload/payload.go go.temporal.io/server/common/persistence/noop_health_signal_aggregator.go · 31 LOC persistence/noop_health_… go.temporal.io/server/common/searchattribute/sadefs/constants.go · 396 LOC sadefs/constants.go go.temporal.io/server/common/tasks/priority.go · 81 LOC tasks/priority.go go.temporal.io/server/common/util.go · 791 LOC common/util.go go.temporal.io/server/common/util/wildcard.go · 50 LOC util/wildcard.go go.temporal.io/server/service/history/tasks/key.go · 144 LOC tasks/key.go go.temporal.io/server/service/worker/scheduler/workflow.go · 1752 LOC scheduler/workflow.go empty_IndexedFields · introduced test · go.temporal.io/server/chasm/lib/scheduler/migration/TestLegacyToCreateFromMigrationStateRequest_StripsSystemSearchAttributes/empty_IndexedFields empty_IndexedFields nil_search_attributes · introduced test · go.temporal.io/server/chasm/lib/scheduler/migration/TestLegacyToCreateFromMigrationStateRequest_StripsSystemSearchAttributes/nil_search_attributes nil_search_attributes only_system_SAs_—_all_stripped · introduced test · go.temporal.io/server/chasm/lib/scheduler/migration/TestLegacyToCreateFromMigrationStateRequest_StripsSystemSearchAttributes/only_system_SAs_—_all_stripped only_system_SAs_—_all_st… only_user_SAs_—_all_preserved · introduced test · go.temporal.io/server/chasm/lib/scheduler/migration/TestLegacyToCreateFromMigrationStateRequest_StripsSystemSearchAttributes/only_user_SAs_—_all_preserved only_user_SAs_—_all_pres… user_SA_preserved,_system_SAs_stripped · introduced test · go.temporal.io/server/chasm/lib/scheduler/migration/TestLegacyToCreateFromMigrationStateRequest_StripsSystemSearchAttributes/user_SA_preserved,_system_SAs_stripped user_SA_preserved,_syste… TestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadata TestOperatorServiceMetad… TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadata TestWorkflowServiceMetad… TestTSCBWithDynamicSettings · introduced test · go.temporal.io/server/common/circuitbreaker/TestTSCBWithDynamicSettings TestTSCBWithDynamicSetti… TestDeepCopy_OtherReferenceTypes_Nil · introduced test · go.temporal.io/server/common/dynamicconfig/TestDeepCopy_OtherReferenceTypes_Nil TestDeepCopy_OtherRefere… TestMutexMapBaggage · introduced test · go.temporal.io/server/common/metrics/TestBaggageBenchSuite/TestMutexMapBaggage TestMutexMapBaggage TestSyncMapBaggage · introduced test · go.temporal.io/server/common/metrics/TestBaggageBenchSuite/TestSyncMapBaggage TestSyncMapBaggage TestAPIPrioritiesOrdered · introduced test · go.temporal.io/server/service/matching/configs/TestQuotasSuite/TestAPIPrioritiesOrdered TestAPIPrioritiesOrdered TestAPIToPriorityMapping · introduced test · go.temporal.io/server/service/matching/configs/TestQuotasSuite/TestAPIToPriorityMapping TestAPIToPriorityMapping TestMigrateDynamicConfig · introduced test · go.temporal.io/server/service/worker/scheduler/TestWorkflow/TestMigrateDynamicConfig TestMigrateDynamicConfig TestMigrateDynamicConfigFailure · introduced test · go.temporal.io/server/service/worker/scheduler/TestWorkflow/TestMigrateDynamicConfigFailure TestMigrateDynamicConfig… TestMigrateDynamicConfigFlipsMidRun · introduced test · go.temporal.io/server/service/worker/scheduler/TestWorkflow/TestMigrateDynamicConfigFlipsMidRun TestMigrateDynamicConfig… TestMigrateFailure · introduced test · go.temporal.io/server/service/worker/scheduler/TestWorkflow/TestMigrateFailure TestMigrateFailure TestMigrateFailureThenRetrySuccess · introduced test · go.temporal.io/server/service/worker/scheduler/TestWorkflow/TestMigrateFailureThenRetrySuccess TestMigrateFailureThenRe… TestMigrateFailureThenSignal · introduced test · go.temporal.io/server/service/worker/scheduler/TestWorkflow/TestMigrateFailureThenSignal TestMigrateFailureThenSi… TestMigrateSuccess · introduced test · go.temporal.io/server/service/worker/scheduler/TestWorkflow/TestMigrateSuccess TestMigrateSuccess Focused concept · migration.go ×2 · 4 introduced LOC migration.go ×2
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.
JavaScript is disabled; use the native relationship evidence on this page to explore the same evidence.
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.
1 file ranked by introduced lines: 4 introduced LOC across 2 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
go.temporal.io/server/chasm/lib/scheduler/migration/migration.go 4 introduced LOC · 2 ranges
Open complete file
253
) [] * schedulespb . BufferedStart {
254
if len ( runningWorkflows ) == 0 {
256
>
}
257
258
bufferedStarts := make ([] * schedulespb . BufferedStart , len ( runningWorkflows ))
305
) [] * schedulespb . BufferedStart {
306
if len ( recentActions ) == 0 {
308
>
}
309
310
// Build a set of running workflow run IDs to exclude from recent actions,