execution_state_map.go ×18
Frontier kind: Code frontier
unlabeled · c_36305cceeb64
250 tests · 4305 LOC · 170 files · introduces 0 tests · 172 LOC · 3 files
Introduces — evidence that enters the hierarchy at this concept
- Code
- 34 ranges172 lines · 3 files
- Tests
- 0 tests
Contains — complete concept membership
- All code (extent)
- 797 ranges4305 lines · 170 files · Browse complete extent
- All tests (intent)
- 250 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.
- 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.
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.
- execution_state_map.go ×18 — Focused concept Introduced files:
-
handler.go ×25 — Ancestor (broader)
Introduced files:
- go.temporal.io/server/api/historyservice/v1/request_response.pb.go
- go.temporal.io/server/api/historyservice/v1/service_grpc.pb.go
- go.temporal.io/server/api/matchingservice/v1/request_response.pb.go
- go.temporal.io/server/api/matchingservice/v1/service_grpc.pb.go
- go.temporal.io/server/api/taskqueue/v1/message.pb.go
- go.temporal.io/server/chasm/lib/nexusoperation/gen/nexusoperationpb/v1/request_response.pb.go
- go.temporal.io/server/chasm/lib/tests/gen/testspb/v1/request_response.pb.go
- go.temporal.io/server/client/history/client.go
- go.temporal.io/server/client/history/client_gen.go
- go.temporal.io/server/client/history/metric_client.go
- go.temporal.io/server/client/history/metric_client_gen.go
- go.temporal.io/server/client/history/retryable_client_gen.go
- go.temporal.io/server/client/matching/client.go
- go.temporal.io/server/client/matching/loadbalancer.go
- go.temporal.io/server/client/matching/metric_client.go
- go.temporal.io/server/common/cluster/metadata.go
- go.temporal.io/server/common/membership/ringpop/service_resolver.go
- go.temporal.io/server/common/namespace/namespace.go
- go.temporal.io/server/common/namespace/nsregistry/registry.go
- go.temporal.io/server/common/persistence/client/quotas.go
- go.temporal.io/server/common/persistence/execution_manager.go
- go.temporal.io/server/common/persistence/persistence_metric_clients.go
- go.temporal.io/server/common/persistence/persistence_rate_limited_clients.go
- go.temporal.io/server/common/persistence/persistence_retryable_clients.go
- go.temporal.io/server/common/persistence/sql/execution.go
- go.temporal.io/server/common/rpc/interceptor/health_check.go
- go.temporal.io/server/common/rpc/interceptor/namespace_rate_limit.go
- go.temporal.io/server/common/rpc/interceptor/telemetry.go
- go.temporal.io/server/common/rpc/rpc.go
- go.temporal.io/server/common/tasks/fifo_scheduler.go
- go.temporal.io/server/common/util.go
- go.temporal.io/server/common/worker_versioning/worker_versioning.go
- go.temporal.io/server/service/frontend/workflow_handler.go
- go.temporal.io/server/service/history/api/get_history_util.go
- go.temporal.io/server/service/history/configs/quotas.go
- go.temporal.io/server/service/history/fx.go
- go.temporal.io/server/service/history/handler.go
- go.temporal.io/server/service/history/queues/executable.go
- go.temporal.io/server/service/history/queues/queue_base.go
- go.temporal.io/server/service/history/shard/controller_impl.go
- go.temporal.io/server/service/history/shard/ownership_based_quota_calculator.go
- go.temporal.io/server/service/history/workflow/cache/cache.go
- go.temporal.io/server/service/history/workflow/metrics.go
- go.temporal.io/server/service/history/workflow/mutable_state_impl.go
- go.temporal.io/server/service/matching/handler.go
- TestConflictResolve_SuppressCurrent_WithNew — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent_WithNew — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent_WithNew — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent_WithNew — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent — Ancestor (broader) Introduced tests:
- TestUpdate_NotZombie_WithNew — Ancestor (broader) Introduced tests:
- TestUpdate_Zombie_WithNew — Ancestor (broader) Introduced tests:
- TestUpdate_NotZombie — Ancestor (broader) Introduced tests:
- TestUpdate_ClosedWorkflow_IsNonCurrent — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent_Conflict_Case2 — Ancestor (broader) Introduced tests:
- TestUpdate_NotZombie_WithNew — Ancestor (broader) Introduced tests:
- TestUpdate_Zombie_WithNew — Ancestor (broader) Introduced tests:
- TestArchetypeSeparateIDSpace — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent_Conflict_Case2 — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent_WithNew — Ancestor (broader) Introduced tests:
- TestUpdate_NotZombie — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent_Conflict_Case2 — Ancestor (broader) Introduced tests:
- TestArchetypeSeparateIDSpace — Ancestor (broader) Introduced tests:
- TestUpdate_NotZombie — Ancestor (broader) Introduced tests:
- TestUpdate_Zombie_WithNew — Ancestor (broader) Introduced tests:
- TestUpdate_ClosedWorkflow_IsNonCurrent — Ancestor (broader) Introduced tests:
- TestUpdate_Zombie_WithNew — Ancestor (broader) Introduced tests:
- TestUpdate_Zombie — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent_Conflict_Case2 — Ancestor (broader) Introduced tests:
- TestUpdate_ClosedWorkflow_IsCurrent — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent — Ancestor (broader) Introduced tests:
- TestUpdate_ClosedWorkflow_IsNonCurrent — Ancestor (broader) Introduced tests:
- TestUpdate_NotZombie_Conflict — Ancestor (broader) Introduced tests:
- TestArchetypeSeparateIDSpace — Ancestor (broader) Introduced tests:
- TestUpdate_NotZombie_Conflict — Ancestor (broader) Introduced tests:
- TestUpdate_NotZombie_Conflict — Ancestor (broader) Introduced tests:
- TestUpdate_ClosedWorkflow_IsCurrent — Ancestor (broader) Introduced tests:
- TestUpdate_ClosedWorkflow_IsNonCurrent — Ancestor (broader) Introduced tests:
- TestUpdate_Zombie — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent_WithNew — Ancestor (broader) Introduced tests:
- TestArchetypeSeparateIDSpace — Ancestor (broader) Introduced tests:
- TestUpdate_ClosedWorkflow_IsCurrent — Ancestor (broader) Introduced tests:
- TestUpdate_ClosedWorkflow_IsCurrent — Ancestor (broader) Introduced tests:
- TestConflictResolve_ResetCurrent — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent — Ancestor (broader) Introduced tests:
- TestUpdate_NotZombie_Conflict — Ancestor (broader) Introduced tests:
- TestConflictResolve_ResetCurrent — Ancestor (broader) Introduced tests:
- TestConflictResolve_ResetCurrent — Ancestor (broader) Introduced tests:
- TestConflictResolve_ResetCurrent_Conflict — Ancestor (broader) Introduced tests:
- TestConflictResolve_Zombie_Conflict — Ancestor (broader) Introduced tests:
- TestConflictResolve_ResetCurrent_Conflict — Ancestor (broader) Introduced tests:
- TestConflictResolve_Zombie_Conflict — Ancestor (broader) Introduced tests:
- TestConflictResolve_Zombie_Conflict — Ancestor (broader) Introduced tests:
- TestConflictResolve_ResetCurrent — Ancestor (broader) Introduced tests:
- TestConflictResolve_ResetCurrent_Conflict — Ancestor (broader) Introduced tests:
- TestConflictResolve_Zombie_Conflict — Ancestor (broader) Introduced tests:
- TestUpdate_Zombie_WithNew — Ancestor (broader) Introduced tests:
- TestUpdate_NotZombie — Ancestor (broader) Introduced tests:
- TestUpdate_ClosedWorkflow_IsNonCurrent — Ancestor (broader) Introduced tests:
- TestUpdate_NotZombie_WithNew — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent_Conflict_Case2 — Ancestor (broader) Introduced tests:
- TestArchetypeSeparateIDSpace — Ancestor (broader) Introduced tests:
- TestUpdate_Zombie_WithNew — Ancestor (broader) Introduced tests:
- TestUpdate_Zombie — Ancestor (broader) Introduced tests:
- TestArchetypeSeparateIDSpace — Ancestor (broader) Introduced tests:
- TestUpdate_NotZombie — Ancestor (broader) Introduced tests:
- TestUpdate_ClosedWorkflow_IsCurrent — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent_WithNew_CHASM — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent_WithNew_CHASM — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent_WithNew_CHASM — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent_Conflict_Case2 — Ancestor (broader) Introduced tests:
- TestUpdate_NotZombie_Conflict — Ancestor (broader) Introduced tests:
- TestUpdate_ClosedWorkflow_IsNonCurrent — Ancestor (broader) Introduced tests:
- TestConflictResolve_ResetCurrent — Ancestor (broader) Introduced tests:
- TestUpdate_ClosedWorkflow_IsCurrent — Ancestor (broader) Introduced tests:
- TestUpdate_NotZombie_Conflict — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent_WithNew_CHASM — Ancestor (broader) Introduced tests:
- TestCreate_Reuse_CurrentConflict — Ancestor (broader) Introduced tests:
- TestSet_Conflict — Ancestor (broader) Introduced tests:
- TestConflictResolve_ResetCurrent — Ancestor (broader) Introduced tests:
- TestCreate_BrandNew_CurrentConflict — Ancestor (broader) Introduced tests:
- TestCreate_Reuse — Ancestor (broader) Introduced tests:
- TestCreate_Reuse_CurrentConflict — Ancestor (broader) Introduced tests:
- TestCreate_BrandNew_CurrentConflict — Ancestor (broader) Introduced tests:
- TestCreate_ClosedWorkflow_UpdateCurrent — Ancestor (broader) Introduced tests:
- TestConflictResolve_ResetCurrent_Conflict — Ancestor (broader) Introduced tests:
- TestConflictResolve_Zombie_Conflict — Ancestor (broader) Introduced tests:
- TestDeleteCurrent_IsCurrent — Ancestor (broader) Introduced tests:
- TestSet_Conflict — Ancestor (broader) Introduced tests:
- TestSet_Conflict — Ancestor (broader) Introduced tests:
- TestCreate_ClosedWorkflow_UpdateCurrent — Ancestor (broader) Introduced tests:
- TestCreate_Reuse — Ancestor (broader) Introduced tests:
- TestCreate_Reuse — Ancestor (broader) Introduced tests:
- TestCreate_Reuse_CurrentConflict — Ancestor (broader) Introduced tests:
- TestCreate_BrandNew_CurrentConflict — Ancestor (broader) Introduced tests:
- TestDeleteCurrent_IsCurrent — Ancestor (broader) Introduced tests:
- TestDeleteCurrent_NotCurrent — Ancestor (broader) Introduced tests:
- TestCreate_ClosedWorkflow_UpdateCurrent — Ancestor (broader) Introduced tests:
- TestConflictResolve_ResetCurrent_Conflict — Ancestor (broader) Introduced tests:
- TestDeleteCurrent_IsCurrent — Ancestor (broader) Introduced tests:
- TestSet_Conflict — Ancestor (broader) Introduced tests:
- TestCreate_BrandNew — Ancestor (broader) Introduced tests:
- TestCreate_Reuse — Ancestor (broader) Introduced tests:
- TestDeleteCurrent_NotCurrent — Ancestor (broader) Introduced tests:
- TestCreate_BrandNew_CurrentConflict — Ancestor (broader) Introduced tests:
- TestDeleteCurrent_NotCurrent — Ancestor (broader) Introduced tests:
- TestConflictResolve_Zombie_Conflict — Ancestor (broader) Introduced tests:
- TestCreate_ClosedWorkflow_UpdateCurrent — Ancestor (broader) Introduced tests:
- TestDeleteCurrent_NotCurrent — Ancestor (broader) Introduced tests:
- TestCreate_Reuse_CurrentConflict — Ancestor (broader) Introduced tests:
- TestCreate_ClosedWorkflow_BrandNew — Ancestor (broader) Introduced tests:
- TestDeleteCurrent_IsCurrent — Ancestor (broader) Introduced tests:
- TestCreate_BrandNew — Ancestor (broader) Introduced tests:
- TestCreate_BrandNew — Ancestor (broader) Introduced tests:
- TestCreate_ClosedWorkflow_BrandNew — Ancestor (broader) Introduced tests:
- TestCreate_ClosedWorkflow_BrandNew — Ancestor (broader) Introduced tests:
- TestCreate_BrandNew — Ancestor (broader) Introduced tests:
- TestCreate_ClosedWorkflow_BrandNew — Ancestor (broader) Introduced tests:
- TestUpdate_NotZombie_CHASM — Ancestor (broader) Introduced tests:
- TestUpdate_NotZombie_CHASM — Ancestor (broader) Introduced tests:
- TestUpdate_NotZombie_CHASM — Ancestor (broader) Introduced tests:
- TestUpdate_NotZombie_CHASM — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent_WithNew_CHASM — Ancestor (broader) Introduced tests:
- TestConflictResolve_SuppressCurrent_WithNew_CHASM — Ancestor (broader) Introduced tests:
- execution.go ×1 — Ancestor (broader) Introduced files:
- TestCreate_BrandNew_CurrentConflict — Ancestor (broader) Introduced tests:
- TestCreate_Reuse_CurrentConflict — Ancestor (broader) Introduced tests:
- TestDeleteCurrent_NotCurrent — Ancestor (broader) Introduced tests:
- TestCreate_Reuse — Ancestor (broader) Introduced tests:
- TestDeleteCurrent_IsCurrent — Ancestor (broader) Introduced tests:
- TestSet_Conflict — Ancestor (broader) Introduced tests:
- TestCreate_ClosedWorkflow_UpdateCurrent — Ancestor (broader) Introduced tests:
- TestCreate_BrandNew_CurrentConflict — Ancestor (broader) Introduced tests:
- TestCreate_Reuse_CurrentConflict — Ancestor (broader) Introduced tests:
- TestSet_Conflict — Ancestor (broader) Introduced tests:
- TestCreate_BrandNew — Ancestor (broader) Introduced tests:
- TestCreate_Reuse — Ancestor (broader) Introduced tests:
- TestDeleteCurrent_NotCurrent — Ancestor (broader) Introduced tests:
- TestDeleteCurrent_IsCurrent — Ancestor (broader) Introduced tests:
- TestCreate_ClosedWorkflow_UpdateCurrent — Ancestor (broader) Introduced tests:
- TestCreate_ClosedWorkflow_BrandNew — Ancestor (broader) Introduced tests:
- TestCreate_BrandNew — Ancestor (broader) Introduced tests:
- TestCreate_ClosedWorkflow_BrandNew — Ancestor (broader) Introduced tests:
- TestSet_CHASM — Ancestor (broader) Introduced tests:
- TestSet_CHASM — Ancestor (broader) Introduced tests:
- TestUpdate_NotZombie_CHASM — Ancestor (broader) Introduced tests:
- TestSet_CHASM — Ancestor (broader) Introduced tests:
- execution.go ×1 — Ancestor (broader) Introduced files:
- TestUpdate_NotZombie_CHASM — Ancestor (broader) Introduced tests:
- execution.go ×2 — Ancestor (broader) Introduced files:
- TestSet_CHASM — Ancestor (broader) Introduced tests:
- execution.go ×1 — Ancestor (broader) Introduced files:
- execution.go ×1 — Ancestor (broader) Introduced files:
- execution.go ×1 — Ancestor (broader) Introduced files:
- TestCreate_Reuse_CHASM — Ancestor (broader) Introduced tests:
- TestCreate_Reuse_CHASM — Ancestor (broader) Introduced tests:
- TestCreate_Reuse_CHASM — Ancestor (broader) Introduced tests:
- TestCreate_BrandNew_CHASM — Ancestor (broader) Introduced tests:
- TestCreate_Reuse_CHASM — Ancestor (broader) Introduced tests:
- execution_util.go ×1 — Ancestor (broader) Introduced files:
- execution.go ×1 — Ancestor (broader) Introduced files:
- TestCreate_BrandNew_CHASM — Ancestor (broader) Introduced tests:
- TestCreate_BrandNew_CHASM — Ancestor (broader) Introduced tests:
- TestSet_CHASM — Ancestor (broader) Introduced tests:
- TestCreate_BrandNew_CHASM — Ancestor (broader) Introduced tests:
- execution.go ×1 — Ancestor (broader) Introduced files:
- TestSet_CHASM — Ancestor (broader) Introduced tests:
- execution.go ×1 — Ancestor (broader) Introduced files:
- execution_state_non_map.go ×3 — Ancestor (broader) Introduced files:
- execution.go ×1 — Ancestor (broader) Introduced files:
- execution_util.go ×1 — Ancestor (broader) Introduced files:
- execution.go ×1 — Ancestor (broader) Introduced files:
- errors.go ×3 — Ancestor (broader) Introduced files:
- execution.go ×1 — Ancestor (broader) Introduced files:
- TestCreate_Reuse_CHASM — Ancestor (broader) Introduced tests:
- execution_util.go ×1 — Ancestor (broader) Introduced files:
- execution.go ×1 — Ancestor (broader) Introduced files:
- execution_util.go ×2 — Ancestor (broader) Introduced files:
- TestCreate_Reuse_CHASM — Ancestor (broader) Introduced tests:
- TestCreate_BrandNew_CHASM — Ancestor (broader) Introduced tests:
- execution.go ×1 — Ancestor (broader) Introduced files:
- TestCreate_BrandNew_CHASM — Ancestor (broader) Introduced tests:
- execution.go ×1 — Ancestor (broader) Introduced files:
- execution.go ×1 — Ancestor (broader) Introduced files:
- execution.go ×2 — Ancestor (broader) Introduced files:
- execution_state_map.go ×5 — Ancestor (broader) Introduced files:
- execution.go ×1 — Ancestor (broader) Introduced files:
- execution_util.go ×18 — Ancestor (broader) Introduced files:
- execution.go ×1 — Ancestor (broader) Introduced files:
- execution.go ×4 — Ancestor (broader) Introduced files:
- execution.go ×5 — Ancestor (broader) Introduced files:
- execution_state_non_map.go ×2 — Ancestor (broader) Introduced files:
- execution_util.go ×1 — Ancestor (broader) Introduced files:
- execution_util.go ×1 — Ancestor (broader) Introduced files:
-
execution_state_map.go ×6 — Ancestor (broader)
Introduced files:
- go.temporal.io/server/api/persistence/v1/chasm.pb.go
- go.temporal.io/server/common/persistence/execution_manager.go
- go.temporal.io/server/common/persistence/serialization/serializer.go
- go.temporal.io/server/common/persistence/sql/execution_state_map.go
- go.temporal.io/server/common/persistence/sql/execution_state_non_map.go
- execution_util.go ×12 — Ancestor (broader) Introduced files:
- execution.go ×1 — Ancestor (broader) Introduced files:
- execution_util.go ×3 — Ancestor (broader) Introduced files:
- execution_util.go ×2 — Ancestor (broader) Introduced files:
- execution_util.go ×6 — Ancestor (broader) Introduced files:
- execution_util.go ×3 — Ancestor (broader) Introduced files:
- execution_util.go ×26 — Descendant (narrower) Introduced files:
- execution_manager.go ×6 — Descendant (narrower) Introduced files:
- execution_manager.go ×15 — Descendant (narrower) Introduced files:
- execution_util.go ×2 — Descendant (narrower) Introduced files:
- execution_util.go ×2 — Descendant (narrower) Introduced files:
- execution_util.go ×2 — Descendant (narrower) Introduced files:
- execution_util.go ×2 — Descendant (narrower) Introduced files:
- execution_util.go ×2 — Descendant (narrower) Introduced files:
- execution_util.go ×3 — Descendant (narrower) Introduced files:
- execution.go ×2 — Descendant (narrower) Introduced files:
- execution.go ×1 — Descendant (narrower) Introduced files:
- shard.go ×5 — Descendant (narrower) Introduced files:
- shard.go ×2 — Descendant (narrower) Introduced files:
- shard.go ×4 — Descendant (narrower) Introduced files:
- execution_manager.go ×2 — Descendant (narrower) Introduced files:
- shard_manager.go ×2 — Descendant (narrower) Introduced files:
- serializer.go ×1 — Descendant (narrower) Introduced files:
- shard_manager.go ×5 — Descendant (narrower) Introduced files:
- factory.go ×2 — Descendant (narrower) Introduced files:
- factory.go ×2 — Descendant (narrower) Introduced files:
- common.go ×2 — Descendant (narrower) Introduced files:
- common.go ×2 — Descendant (narrower) Introduced files:
- factory.go ×4 — Descendant (narrower) Introduced files:
- common.go ×1 — Descendant (narrower) Introduced files:
- factory.go ×4 — Descendant (narrower) Introduced files:
- uuid.go ×3 — Descendant (narrower) Introduced files:
- convert.go ×2 — Descendant (narrower) Introduced files:
- uuid.go ×1 — Descendant (narrower) Introduced files:
- store.go ×1 — Descendant (narrower) Introduced files:
- shard_manager.go ×2 — Descendant (narrower) Introduced files:
- uuid.go ×2 — Descendant (narrower) Introduced files:
- uuid.go ×1 — Descendant (narrower) Introduced files:
- size_util.go ×4 — Descendant (narrower) Introduced files:
- execution_manager.go ×15 — Descendant (narrower) Introduced files:
- executions.pb.go ×1 — Descendant (narrower) Introduced files:
- executions.pb.go ×1 — Descendant (narrower) Introduced files:
- executions.pb.go ×1 — Descendant (narrower) Introduced files:
- util.go ×4 — Descendant (narrower) Introduced files:
- message.pb.go ×2 — Descendant (narrower) Introduced files:
- size.go ×3 — Descendant (narrower) Introduced files:
- TestAcceptStringSliceArgsWithCommas — Descendant (narrower) Introduced tests:
- task.go ×1 — Descendant (narrower) Introduced files:
- priority.go ×1 — Descendant (narrower) Introduced files:
- size_util.go ×7 — Descendant (narrower) Introduced files:
- execution_manager.go ×3 — Descendant (narrower) Introduced files:
- TestExecutionInfo_Marshal_Cloud — Descendant (narrower) Introduced tests:
- execution_manager.go ×3 — Descendant (narrower) Introduced files:
- state.pb.go ×2 — Descendant (narrower) Introduced files:
- util.go ×1 — Descendant (narrower) Introduced files:
- TestAPIPrioritiesOrdered, TestCallerTypeToPriorityMapping — Descendant (narrower) Introduced tests:
-
operation.pb.go ×2 — Descendant (narrower)
Introduced files:
- go.temporal.io/server/chasm/lib/nexusoperation/config.go
- go.temporal.io/server/chasm/lib/nexusoperation/gen/nexusoperationpb/v1/operation.pb.go
- go.temporal.io/server/chasm/lib/nexusoperation/gen/nexusoperationpb/v1/request_response.pb.go
- go.temporal.io/server/chasm/lib/nexusoperation/gen/nexusoperationpb/v1/service.pb.go
- go.temporal.io/server/chasm/lib/nexusoperation/gen/nexusoperationpb/v1/tasks.pb.go
- message.pb.go ×2 — Descendant (narrower) Introduced files:
- statemachine.go ×1 — Descendant (narrower) Introduced files:
- execution_manager.go ×3 — Descendant (narrower) Introduced files:
- store.go ×3 — Descendant (narrower) Introduced files:
- execution_manager.go ×2 — Descendant (narrower) Introduced files:
- noop_resolver.go ×1 — Descendant (narrower) Introduced files:
- execution_manager.go ×1 — Descendant (narrower) Introduced files:
- store.go ×2 — Descendant (narrower) Introduced files:
- query_converter_util_legacy.go ×3 — Descendant (narrower) Introduced files:
- query_util.go ×1 — Descendant (narrower) Introduced files:
- query_util.go ×2 — Descendant (narrower) Introduced files:
- execution_manager.go ×2 — Descendant (narrower) Introduced files:
- serializer.go ×1 — Descendant (narrower) Introduced files:
- serializer.go ×6 — Descendant (narrower) Introduced files:
- workflow_state_status_validator.go ×4 — Descendant (narrower) Introduced files:
- query_util.go ×2 — Descendant (narrower) Introduced files:
- serializer.go ×3 — Descendant (narrower) Introduced files:
- execution_manager.go ×1 — Descendant (narrower) Introduced files:
- operation_mode_validator.go ×2 — Descendant (narrower) Introduced files:
- version_histories.go ×1 — Descendant (narrower) Introduced files:
- workflow_state_status_validator.go ×4 — Descendant (narrower) Introduced files:
- query_util.go ×1 — Descendant (narrower) Introduced files:
- shard_manager.go ×1 — Descendant (narrower) Introduced files:
-
execution_maps.go ×6 — Descendant (narrower)
Introduced files:
- go.temporal.io/server/common/persistence/sql/sqlplugin/postgresql/execution_maps.go
- go.temporal.io/server/common/persistence/sql/sqlplugin/postgresql/plugin.go
- go.temporal.io/server/common/persistence/sql/sqlplugin/postgresql/typeconv.go
- go.temporal.io/server/common/persistence/sql/sqlplugin/postgresql/visibility.go
- operation_mode_validator.go ×2 — Descendant (narrower) Introduced files:
- query_util.go ×14 — Descendant (narrower) Introduced files:
- serializer.go ×1 — Descendant (narrower) Introduced files:
- execution_maps.go ×5 — Descendant (narrower) Introduced files:
-
execution_maps.go ×5 — Descendant (narrower)
Introduced files:
- go.temporal.io/server/common/persistence/sql/sqlplugin/sqlite/conn_pool.go
- go.temporal.io/server/common/persistence/sql/sqlplugin/sqlite/execution_maps.go
- go.temporal.io/server/common/persistence/sql/sqlplugin/sqlite/plugin.go
- go.temporal.io/server/common/persistence/sql/sqlplugin/sqlite/typeconv.go
- go.temporal.io/server/common/persistence/sql/sqlplugin/sqlite/visibility.go
- message.pb.go ×1 — Descendant (narrower) Introduced files:
-
fx.go ×1 — Descendant (narrower)
Introduced files:
- go.temporal.io/server/common/persistence/client/fx.go
- go.temporal.io/server/common/persistence/persistence_rate_limited_clients.go
- go.temporal.io/server/common/util.go
- go.temporal.io/server/service/history/tasks/category.go
go.temporal.io/server/common/persistence/client/TestQuotasSuite/TestAPITypeCallOriginPriorityOverrideMappinggo.temporal.io/server/common/persistence/client/TestQuotasSuite/TestBackgroundTypeAPIPriorityOverrideMappinggo.temporal.io/server/common/persistence/client/TestQuotasSuite/TestCallerTypeDefaultPriorityMappinggo.temporal.io/server/common/persistence/client/TestQuotasSuite/TestRequestPrioritiesOrdered
- testconstructors.go ×1 — Descendant (narrower) Introduced files:
-
TestHistoryAPIMetrics, TestFrontendAPIMetrics, +2 — Descendant (narrower)
Introduced tests:
go.temporal.io/server/common/rpc/interceptor/TestMethodToPatternMappinggo.temporal.io/server/common/rpc/interceptor/TestNamespaceSuite/TestFrontendAPIMetricsgo.temporal.io/server/common/rpc/interceptor/TestNamespaceSuite/TestHistoryAPIMetricsgo.temporal.io/server/common/rpc/interceptor/TestNamespaceSuite/TestMatchingAPIMetrics
- serializer.go ×1 — Descendant (narrower) Introduced files:
- executions.pb.go ×1 — Descendant (narrower) Introduced files:
- testconstructors.go ×1 — Descendant (narrower) Introduced files:
- executions.pb.go ×1 — Descendant (narrower) Introduced files:
- executions.pb.go ×1 — Descendant (narrower) Introduced files:
- executions.pb.go ×1 — Descendant (narrower) Introduced files:
-
activity_state.pb.go ×2 — Descendant (narrower)
Introduced files:
- go.temporal.io/server/chasm/lib/activity/gen/activitypb/v1/activity_state.pb.go
- go.temporal.io/server/chasm/lib/activity/gen/activitypb/v1/request_response.pb.go
- go.temporal.io/server/chasm/lib/activity/gen/activitypb/v1/service.pb.go
- go.temporal.io/server/chasm/lib/activity/gen/activitypb/v1/tasks.pb.go
- query_util.go ×3 — Descendant (narrower) Introduced files:
- testconstructors.go ×1 — Descendant (narrower) Introduced files:
- util.go ×2 — Descendant (narrower) Introduced files:
- testconstructors.go ×1 — Descendant (narrower) Introduced files:
- env.go ×2 — Descendant (narrower) Introduced files:
-
message.pb.go ×2 — Descendant (narrower)
Introduced files:
- go.temporal.io/server/api/schedule/v1/message.pb.go
- go.temporal.io/server/chasm/lib/scheduler/gen/schedulerpb/v1/message.pb.go
- go.temporal.io/server/chasm/lib/scheduler/gen/schedulerpb/v1/request_response.pb.go
- go.temporal.io/server/chasm/lib/scheduler/gen/schedulerpb/v1/service.pb.go
- go.temporal.io/server/chasm/lib/scheduler/gen/schedulerpb/v1/tasks.pb.go
- query_util.go ×1 — Descendant (narrower) Introduced files:
- visibility_store.go ×3 — Descendant (narrower) Introduced files:
- constants.go ×1 — Descendant (narrower) Introduced files:
- visibility.go ×2 — Descendant (narrower) Introduced files: Introduced tests:
- constants.go ×1 — Descendant (narrower) Introduced files:
- util.go ×1 — Descendant (narrower) Introduced files:
- message.pb.go ×2 — Descendant (narrower) Introduced files:
- util.go ×1 — Descendant (narrower) Introduced files:
- data_interfaces.go ×3 — Descendant (narrower) Introduced files:
- executions.pb.go ×1 — Descendant (narrower) Introduced files:
- message.pb.go ×2 — Descendant (narrower) Introduced files:
- category.go ×1 — Descendant (narrower) Introduced files:
- fixed_address_translator.go ×2 — Descendant (narrower) Introduced files:
- history_branch_util.go ×1 — Descendant (narrower) Introduced files:
- data_blob.go ×2 — Descendant (narrower) Introduced files:
- executions.pb.go ×1 — Descendant (narrower) Introduced files:
- executions.pb.go ×1 — Descendant (narrower) Introduced files:
- extension.pb.go ×2 — Descendant (narrower) Introduced files:
- softassert.go ×2 — Descendant (narrower) Introduced files:
- time.go ×1 — Descendant (narrower) Introduced files:
- uuid.go ×2 — Descendant (narrower) Introduced files:
- executions.pb.go ×1 — Descendant (narrower) Introduced files:
- search_attribute.go ×1 — Descendant (narrower) Introduced files:
- search_attribute.go ×1 — Descendant (narrower) Introduced files:
- search_attribute.go ×1 — Descendant (narrower) Introduced files:
- tags.go ×1 — Descendant (narrower) Introduced files:
- time.go ×1 — Descendant (narrower) Introduced files:
- noop_moving_window_average.go ×1 — Descendant (narrower) Introduced files:
- test_impl.go ×2 — Descendant (narrower) Introduced files:
- search_attribute.go ×12 — Descendant (narrower) Introduced files:
- codec.go ×1 — Descendant (narrower) Introduced files:
- codec.go ×1 — Descendant (narrower) Introduced files:
- codec.go ×1 — Descendant (narrower) Introduced files:
- codec.go ×2 — Descendant (narrower) Introduced files:
- codec.go ×1 — Descendant (narrower) Introduced files:
- serializer.go ×1 — Descendant (narrower) Introduced files:
- category.go ×1 — Descendant (narrower) Introduced files:
- codec.go ×1 — Descendant (narrower) Introduced files:
- codec.go ×1 — Descendant (narrower) Introduced files:
- workflow_key.go ×1 — Descendant (narrower) Introduced files:
- key.go ×1 — Descendant (narrower) Introduced files:
- priority.go ×1 — Descendant (narrower) Introduced files:
- setting_gen.go ×1 — Descendant (narrower) Introduced files:
-
setting_gen.go ×51 — Descendant (narrower)
Introduced files:
- go.temporal.io/server/common/dynamicconfig/collection.go
- go.temporal.io/server/common/dynamicconfig/deepcopy.go
- go.temporal.io/server/common/dynamicconfig/gradual_change.go
- go.temporal.io/server/common/dynamicconfig/key.go
- go.temporal.io/server/common/dynamicconfig/registry.go
- go.temporal.io/server/common/dynamicconfig/setting_gen.go
- go.temporal.io/server/common/dynamicconfig/shared_structure.go
- go.temporal.io/server/common/util/wildcard.go
go.temporal.io/server/common/circuitbreaker/TestTSCBWithDynamicSettingsgo.temporal.io/server/common/dynamicconfig/TestDeepCopy_OtherReferenceTypes_Nilgo.temporal.io/server/service/matching/configs/TestQuotasSuite/TestAPIPrioritiesOrderedgo.temporal.io/server/service/matching/configs/TestQuotasSuite/TestAPIToPriorityMapping
- executions.pb.go ×11 — Descendant (narrower) Introduced files:
- executions.pb.go ×3 — Descendant (narrower) Introduced files:
- executions.pb.go ×1 — Descendant (narrower) Introduced files:
- executions.pb.go ×1 — Descendant (narrower) Introduced files:
- executions.pb.go ×1 — Descendant (narrower) Introduced files:
-
hsm.pb.go ×8 — Descendant (narrower)
Introduced files:
- go.temporal.io/server/api/enums/v1/common.pb.go
- go.temporal.io/server/api/enums/v1/nexus.pb.go
- go.temporal.io/server/api/enums/v1/workflow.pb.go
- go.temporal.io/server/api/enums/v1/workflow_task_type.pb.go
- go.temporal.io/server/api/persistence/v1/chasm.pb.go
- go.temporal.io/server/api/persistence/v1/hsm.pb.go
- go.temporal.io/server/api/persistence/v1/queues.pb.go
- go.temporal.io/server/api/persistence/v1/update.pb.go
- workflow.pb.go ×1 — Descendant (narrower) Introduced files:
- testconstructors.go ×1 — Descendant (narrower) Introduced files:
- testconstructors.go ×1 — Descendant (narrower) Introduced files:
- testconstructors.go ×2 — Descendant (narrower) Introduced files:
- hsm.pb.go ×2 — Descendant (narrower) Introduced files:
- duration.go ×2 — Descendant (narrower) Introduced files:
- namespace.go ×1 — Descendant (narrower) Introduced files:
- mutate.go ×1 — Descendant (narrower) Introduced files:
- task.pb.go ×1 — Descendant (narrower) Introduced files:
- mutate.go ×1 — Descendant (narrower) Introduced files:
- namespace.go ×3 — Descendant (narrower) Introduced files:
- hostinfo.go ×1 — Descendant (narrower) Introduced files:
- message.pb.go ×2 — Descendant (narrower) Introduced files:
- version_history.go ×1 — Descendant (narrower) Introduced files:
- workflow_mutable_state.pb.go ×1 — Descendant (narrower) Introduced files:
- grpc_resolver.go ×2 — Descendant (narrower) Introduced files:
- hsm.pb.go ×1 — Descendant (narrower) Introduced files:
- message.pb.go ×1 — Descendant (narrower) Introduced files:
- message.pb.go ×1 — Descendant (narrower) Introduced files:
- message.pb.go ×1 — Descendant (narrower) Introduced files:
- queues.pb.go ×1 — Descendant (narrower) Introduced files:
- version_histories.go ×2 — Descendant (narrower) Introduced files:
- duration.go ×1 — Descendant (narrower) Introduced files:
- message.pb.go ×1 — Descendant (narrower) Introduced files:
- message.pb.go ×1 — Descendant (narrower) Introduced files:
- namespace.go ×1 — Descendant (narrower) Introduced files:
- namespace.go ×1 — Descendant (narrower) Introduced files:
- replication_resolver.go ×1 — Descendant (narrower) Introduced files:
- sm.go ×1 — Descendant (narrower) Introduced files:
- predicates.pb.go ×21 — Descendant (narrower) Introduced files:
-
service.pb.go ×2 — Descendant (narrower)
Introduced files:
- go.temporal.io/server/api/adminservice/v1/request_response.pb.go
- go.temporal.io/server/api/adminservice/v1/service.pb.go
- go.temporal.io/server/api/cluster/v1/message.pb.go
- go.temporal.io/server/api/common/v1/api_category.pb.go
- go.temporal.io/server/api/common/v1/dlq.pb.go
- go.temporal.io/server/api/health/v1/message.pb.go
- go.temporal.io/server/api/historyservice/v1/request_response.pb.go
- go.temporal.io/server/api/historyservice/v1/service.pb.go
- go.temporal.io/server/api/matchingservice/v1/request_response.pb.go
- go.temporal.io/server/api/matchingservice/v1/service.pb.go
- go.temporal.io/server/api/namespace/v1/message.pb.go
- go.temporal.io/server/api/replication/v1/message.pb.go
- go.temporal.io/server/api/token/v1/message.pb.go
- message.pb.go ×1 — Descendant (narrower) Introduced files:
- hsm.pb.go ×1 — Descendant (narrower) Introduced files:
- hsm.pb.go ×1 — Descendant (narrower) Introduced files:
- message.pb.go ×2 — Descendant (narrower) Introduced files:
- constants.go ×1 — Descendant (narrower) Introduced files:
- task.pb.go ×1 — Descendant (narrower) Introduced files:
-
message.pb.go ×2 — Descendant (narrower)
Introduced files:
- go.temporal.io/server/api/history/v1/message.pb.go
- go.temporal.io/server/api/persistence/v1/chasm.pb.go
- go.temporal.io/server/api/persistence/v1/chasm_visibility.pb.go
- go.temporal.io/server/api/persistence/v1/cluster_metadata.pb.go
- go.temporal.io/server/api/persistence/v1/executions.pb.go
- go.temporal.io/server/api/persistence/v1/history_tree.pb.go
- go.temporal.io/server/api/persistence/v1/hsm.pb.go
- go.temporal.io/server/api/persistence/v1/namespaces.pb.go
- go.temporal.io/server/api/persistence/v1/nexus.pb.go
- go.temporal.io/server/api/persistence/v1/predicates.pb.go
- go.temporal.io/server/api/persistence/v1/queue_metadata.pb.go
- go.temporal.io/server/api/persistence/v1/queues.pb.go
- go.temporal.io/server/api/persistence/v1/task_queues.pb.go
- go.temporal.io/server/api/persistence/v1/tasks.pb.go
- go.temporal.io/server/api/persistence/v1/update.pb.go
- go.temporal.io/server/api/persistence/v1/workflow_mutable_state.pb.go
- go.temporal.io/server/api/workflow/v1/message.pb.go
-
defs.go ×5 — Descendant (narrower)
Introduced files:
- go.temporal.io/server/api/metrics/v1/message.pb.go
- go.temporal.io/server/common/build/build.go
- go.temporal.io/server/common/metrics/defs.go
- go.temporal.io/server/common/metrics/defs_base.go
- go.temporal.io/server/common/metrics/noop_impl.go
- go.temporal.io/server/common/metrics/option.go
- go.temporal.io/server/common/metrics/registry.go
- noop_logger.go ×1 — Descendant (narrower) Introduced files:
- tags.go ×9 — Descendant (narrower) Introduced files:
- message.pb.go ×2 — Descendant (narrower) Introduced files:
-
cluster.pb.go ×2 — Descendant (narrower)
Introduced files:
- go.temporal.io/server/api/enums/v1/cluster.pb.go
- go.temporal.io/server/api/enums/v1/common.pb.go
- go.temporal.io/server/api/enums/v1/dlq.pb.go
- go.temporal.io/server/api/enums/v1/fairness_state.pb.go
- go.temporal.io/server/api/enums/v1/nexus.pb.go
- go.temporal.io/server/api/enums/v1/predicate.pb.go
- go.temporal.io/server/api/enums/v1/replication.pb.go
- go.temporal.io/server/api/enums/v1/task.pb.go
- go.temporal.io/server/api/enums/v1/workflow.pb.go
- go.temporal.io/server/api/enums/v1/workflow_task_type.pb.go
- retrypolicy.go ×1 — Descendant (narrower) Introduced files:
- retrypolicy.go ×2 — Descendant (narrower) Introduced files:
- wildcard.go ×1 — Descendant (narrower) Introduced files:
- retrypolicy.go ×1 — Descendant (narrower) Introduced files:
- wildcard.go ×4 — Descendant (narrower) Introduced files:
- env.go ×1 — Descendant (narrower) Introduced files: Introduced tests:
- retrypolicy.go ×3 — Descendant (narrower) Introduced files:
- message.pb.go ×2 — Descendant (narrower) Introduced files:
- payload.go ×1 — Descendant (narrower) Introduced files:
- TestOperatorServiceMetadata, TestWorkflowServiceMetadata — Descendant (narrower) Introduced tests:
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: 172 introduced LOC across 34 ranges. Expand a file to inspect source; the > gutter marks introduced lines.
go.temporal.io/server/common/persistence/sql/execution.go 77 introduced LOC · 10 ranges
}
ExecutionInfo: p.NewDataBlob(executionsRow.Data, executionsRow.DataEncoding),
ExecutionState: p.NewDataBlob(executionsRow.State, executionsRow.StateEncoding),
NextEventID: executionsRow.NextEventID,
DBRecordVersion: executionsRow.DBRecordVersion,
}
state.ActivityInfos, err = getActivityInfoMap(ctx,
m.DB,
request.ShardID,
namespaceID,
workflowID,
runID,
)
if err != nil {
return nil, serviceerror.NewUnavailablef("GetWorkflowExecution: failed to get activity info. Error: %v", err)
}
m.DB,
request.ShardID,
namespaceID,
workflowID,
runID,
)
if err != nil {
return nil, serviceerror.NewUnavailablef("GetWorkflowExecution: failed to get timer info. Error: %v", err)
}
m.DB,
request.ShardID,
namespaceID,
workflowID,
runID,
)
if err != nil {
return nil, serviceerror.NewUnavailablef("GetWorkflowExecution: failed to get child executionsRow info. Error: %v", err)
}
m.DB,
request.ShardID,
namespaceID,
workflowID,
runID,
)
if err != nil {
return nil, serviceerror.NewUnavailablef("GetWorkflowExecution: failed to get request cancel info. Error: %v", err)
}
m.DB,
request.ShardID,
namespaceID,
workflowID,
runID,
)
if err != nil {
return nil, serviceerror.NewUnavailablef("GetWorkflowExecution: failed to get signal info. Error: %v", err)
}
m.DB,
request.ShardID,
namespaceID,
workflowID,
runID,
)
if err != nil {
return nil, serviceerror.NewUnavailablef("GetWorkflowExecution: failed to get buffered events. Error: %v", err)
}
m.DB,
request.ShardID,
namespaceID,
workflowID,
runID,
)
if err != nil {
return nil, serviceerror.NewUnavailablef("GetWorkflowExecution: failed to get CHASM nodes. Error: %v", err)
}
m.DB,
request.ShardID,
namespaceID,
workflowID,
runID,
)
if err != nil {
return nil, serviceerror.NewUnavailablef("GetWorkflowExecution: failed to get signals requested. Error: %v", err)
}
State: state,
DBRecordVersion: executionsRow.DBRecordVersion,
}, nil
}
go.temporal.io/server/common/persistence/sql/execution_state_map.go 71 introduced LOC · 18 ranges
workflowID string,
runID primitives.UUID,
rows, err := db.SelectAllFromActivityInfoMaps(ctx, sqlplugin.ActivityInfoMapsAllFilter{
ShardID: shardID,
NamespaceID: namespaceID,
WorkflowID: workflowID,
RunID: runID,
})
if err != nil && err != sql.ErrNoRows {
return nil, serviceerror.NewUnavailablef("Failed to get activity info. Error: %v", err)
}
for _, row := range rows {
ret[row.ScheduleID] = persistence.NewDataBlob(row.Data, row.DataEncoding)
}
}
workflowID string,
runID primitives.UUID,
rows, err := db.SelectAllFromTimerInfoMaps(ctx, sqlplugin.TimerInfoMapsAllFilter{
ShardID: shardID,
NamespaceID: namespaceID,
WorkflowID: workflowID,
RunID: runID,
})
if err != nil && err != sql.ErrNoRows {
return nil, serviceerror.NewUnavailablef("Failed to get timer info. Error: %v", err)
}
for _, row := range rows {
ret[row.TimerID] = persistence.NewDataBlob(row.Data, row.DataEncoding)
}
}
workflowID string,
runID primitives.UUID,
rows, err := db.SelectAllFromChildExecutionInfoMaps(ctx, sqlplugin.ChildExecutionInfoMapsAllFilter{
ShardID: shardID,
NamespaceID: namespaceID,
WorkflowID: workflowID,
RunID: runID,
})
if err != nil && err != sql.ErrNoRows {
return nil, serviceerror.NewUnavailablef("Failed to get timer info. Error: %v", err)
}
for _, row := range rows {
ret[row.InitiatedID] = persistence.NewDataBlob(row.Data, row.DataEncoding)
}
}
workflowID string,
runID primitives.UUID,
rows, err := db.SelectAllFromRequestCancelInfoMaps(ctx, sqlplugin.RequestCancelInfoMapsAllFilter{
ShardID: shardID,
NamespaceID: namespaceID,
WorkflowID: workflowID,
RunID: runID,
})
if err != nil && err != sql.ErrNoRows {
return nil, serviceerror.NewUnavailablef("Failed to get request cancel info. Error: %v", err)
}
for _, row := range rows {
ret[row.InitiatedID] = persistence.NewDataBlob(row.Data, row.DataEncoding)
}
}
workflowID string,
runID primitives.UUID,
rows, err := db.SelectAllFromSignalInfoMaps(ctx, sqlplugin.SignalInfoMapsAllFilter{
ShardID: shardID,
NamespaceID: namespaceID,
WorkflowID: workflowID,
RunID: runID,
})
if err != nil && err != sql.ErrNoRows {
return nil, serviceerror.NewUnavailablef("Failed to get signal info. Error: %v", err)
}
for _, row := range rows {
ret[row.InitiatedID] = persistence.NewDataBlob(row.Data, row.DataEncoding)
}
}
workflowID string,
runID primitives.UUID,
rows, err := db.SelectAllFromChasmNodeMaps(ctx, sqlplugin.ChasmNodeMapsAllFilter{
ShardID: shardID,
NamespaceID: namespaceID,
WorkflowID: workflowID,
RunID: runID,
})
if err != nil && err != sql.ErrNoRows {
return nil, serviceerror.NewUnavailablef("Failed to get CHASM nodes. Error: %v", err)
}
for _, row := range rows {
ret[row.ChasmPath] = persistence.InternalChasmNode{
Metadata: persistence.NewDataBlob(row.Metadata, row.MetadataEncoding),
go.temporal.io/server/common/persistence/sql/execution_state_non_map.go 24 introduced LOC · 6 ranges
workflowID string,
runID primitives.UUID,
rows, err := db.SelectAllFromSignalsRequestedSets(ctx, sqlplugin.SignalsRequestedSetsAllFilter{
ShardID: shardID,
NamespaceID: namespaceID,
WorkflowID: workflowID,
RunID: runID,
})
if err != nil && err != sql.ErrNoRows {
return nil, serviceerror.NewUnavailablef("Failed to get signals requested. Error: %v", err)
}
for i, s := range rows {
ret[i] = s.SignalID
}
}
workflowID string,
runID primitives.UUID,
rows, err := db.SelectFromBufferedEvents(ctx, sqlplugin.BufferedEventsFilter{
ShardID: shardID,
NamespaceID: namespaceID,
WorkflowID: workflowID,
RunID: runID,
})
if err != nil && err != sql.ErrNoRows {
return nil, serviceerror.NewUnavailablef("getBufferedEvents operation failed. Select failed: %v", err)
}
for _, row := range rows {
result = append(result, p.NewDataBlob(row.Data, row.DataEncoding))
}
}