mutable_state_evaluator.go ×2

Frontier kind: Code frontier

unlabeled · c_6f0dd12c74df

40 tests · 1257 LOC · 60 files · introduces 0 tests · 13 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
3 ranges13 lines · 2 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
119 ranges1257 lines · 60 files · Browse complete extent
All tests (intent)
40 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.

Introduced files, introduced tests, and structurally relevant concept specializationmutable_state_evaluator.go ×1 · 1 introduced LOCmutable_state_evaluator.…mutable_state_evaluator.go ×1 · 1 introduced LOCmutable_state_evaluator.…mutable_state_evaluator.go ×1 · 2 introduced LOCmutable_state_evaluator.…mutable_state_evaluator.go ×1 · 2 introduced LOCmutable_state_evaluator.…mutable_state_evaluator.go ×3 · 5 introduced LOCmutable_state_evaluator.…mutable_state_evaluator.go ×3 · 5 introduced LOCmutable_state_evaluator.…evaluator.go ×1 · 2 introduced LOCevaluator.go ×1mutable_state_evaluator.go ×3 · 8 introduced LOCmutable_state_evaluator.…workflow_id, acceptance_-_positive · 0 introduced LOCworkflow_id, acceptance_…workflow_id_-_not_starts_with · 0 introduced LOCworkflow_id_-_not_starts…workflow_id_-_starts_with · 0 introduced LOCworkflow_id_-_starts_wit…mutable_state_evaluator.go ×3 · 8 introduced LOCmutable_state_evaluator.…mutable_state_evaluator.go ×1 · 2 introduced LOCmutable_state_evaluator.…mutable_state_evaluator.go ×1 · 2 introduced LOCmutable_state_evaluator.…mutable_state_evaluator.go ×1 · 2 introduced LOCmutable_state_evaluator.…mutable_state_evaluator.go ×1 · 2 introduced LOCmutable_state_evaluator.…mutable_state_evaluator.go ×1 · 2 introduced LOCmutable_state_evaluator.…mutable_state_evaluator.go ×4 · 10 introduced LOCmutable_state_evaluator.…mutable_state_evaluator.go ×1 · 3 introduced LOCmutable_state_evaluator.…mutable_state_evaluator.go ×1 · 2 introduced LOCmutable_state_evaluator.…mutable_state_evaluator.go ×3 · 7 introduced LOCmutable_state_evaluator.…mutable_state_evaluator.go ×7 · 21 introduced LOCmutable_state_evaluator.…mutable_state_evaluator.go ×5 · 12 introduced LOCmutable_state_evaluator.…mutable_state_evaluator.go ×3 · 5 introduced LOCmutable_state_evaluator.…mutable_state_evaluator.go ×1 · 2 introduced LOCmutable_state_evaluator.…mutable_state_evaluator.go ×1 · 2 introduced LOCmutable_state_evaluator.…mutable_state_evaluator.go ×1 · 2 introduced LOCmutable_state_evaluator.…evaluator.go ×1 · 3 introduced LOCevaluator.go ×1service.pb.go ×2 · 342 introduced LOCservice.pb.go ×2message.pb.go ×2 · 20 introduced LOCmessage.pb.go ×2constants.go ×1 · 6 introduced LOCconstants.go ×1message.pb.go ×2 · 442 introduced LOCmessage.pb.go ×2defs.go ×5 · 91 introduced LOCdefs.go ×5tags.go ×9 · 37 introduced LOCtags.go ×9message.pb.go ×2 · 49 introduced LOCmessage.pb.go ×2cluster.pb.go ×2 · 200 introduced LOCcluster.pb.go ×2query.go ×1 · 1 introduced LOCquery.go ×1query.go ×1 · 2 introduced LOCquery.go ×1query.go ×1 · 2 introduced LOCquery.go ×1retrypolicy.go ×3 · 19 introduced LOCretrypolicy.go ×3message.pb.go ×2 · 20 introduced LOCmessage.pb.go ×2query.go ×1 · 3 introduced LOCquery.go ×1query.go ×1 · 2 introduced LOCquery.go ×1payload.go ×1 · 3 introduced LOCpayload.go ×1query.go ×1 · 2 introduced LOCquery.go ×1TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOCTestOperatorServiceMetad…go.temporal.io/server/api/adminservice/v1/request_response.pb.go · 6661 LOCv1/request_response.pb.g…go.temporal.io/server/api/adminservice/v1/service.pb.go · 297 LOCv1/service.pb.gogo.temporal.io/server/api/clock/v1/message.pb.go · 217 LOCv1/message.pb.gogo.temporal.io/server/api/cluster/v1/message.pb.go · 366 LOCv1/message.pb.gogo.temporal.io/server/api/common/v1/api_category.pb.go · 230 LOCv1/api_category.pb.gogo.temporal.io/server/api/common/v1/dlq.pb.go · 319 LOCv1/dlq.pb.gogo.temporal.io/server/api/deployment/v1/message.pb.go · 4650 LOCv1/message.pb.gogo.temporal.io/server/api/enums/v1/cluster.pb.go · 233 LOCv1/cluster.pb.gogo.temporal.io/server/api/enums/v1/common.pb.go · 288 LOCv1/common.pb.gogo.temporal.io/server/api/enums/v1/dlq.pb.go · 211 LOCv1/dlq.pb.gogo.temporal.io/server/api/enums/v1/fairness_state.pb.go · 147 LOCv1/fairness_state.pb.gogo.temporal.io/server/api/enums/v1/nexus.pb.go · 182 LOCv1/nexus.pb.gogo.temporal.io/server/api/enums/v1/predicate.pb.go · 194 LOCv1/predicate.pb.gogo.temporal.io/server/api/enums/v1/replication.pb.go · 338 LOCv1/replication.pb.gogo.temporal.io/server/api/enums/v1/task.pb.go · 480 LOCv1/task.pb.gogo.temporal.io/server/api/enums/v1/workflow.pb.go · 299 LOCv1/workflow.pb.gogo.temporal.io/server/api/enums/v1/workflow_task_type.pb.go · 148 LOCv1/workflow_task_type.pb…go.temporal.io/server/api/errordetails/v1/message.pb.go · 649 LOCv1/message.pb.gogo.temporal.io/server/api/health/v1/message.pb.go · 324 LOCv1/message.pb.gogo.temporal.io/server/api/history/v1/message.pb.go · 522 LOCv1/message.pb.gogo.temporal.io/server/api/historyservice/v1/request_response.pb.go · 12003 LOCv1/request_response.pb.g…go.temporal.io/server/api/historyservice/v1/service.pb.go · 452 LOCv1/service.pb.gogo.temporal.io/server/api/matchingservice/v1/request_response.pb.go · 6878 LOCv1/request_response.pb.g…go.temporal.io/server/api/matchingservice/v1/service.pb.go · 274 LOCv1/service.pb.gogo.temporal.io/server/api/metrics/v1/message.pb.go · 128 LOCv1/message.pb.gogo.temporal.io/server/api/namespace/v1/message.pb.go · 138 LOCv1/message.pb.gogo.temporal.io/server/api/persistence/v1/chasm.pb.go · 1215 LOCv1/chasm.pb.gogo.temporal.io/server/api/persistence/v1/chasm_visibility.pb.go · 170 LOCv1/chasm_visibility.pb.g…go.temporal.io/server/api/persistence/v1/cluster_metadata.pb.go · 313 LOCv1/cluster_metadata.pb.g…go.temporal.io/server/api/persistence/v1/executions.pb.go · 5768 LOCv1/executions.pb.gogo.temporal.io/server/api/persistence/v1/history_tree.pb.go · 298 LOCv1/history_tree.pb.gogo.temporal.io/server/api/persistence/v1/hsm.pb.go · 929 LOCv1/hsm.pb.gogo.temporal.io/server/api/persistence/v1/namespaces.pb.go · 560 LOCv1/namespaces.pb.gogo.temporal.io/server/api/persistence/v1/nexus.pb.go · 509 LOCv1/nexus.pb.gogo.temporal.io/server/api/persistence/v1/predicates.pb.go · 864 LOCv1/predicates.pb.gogo.temporal.io/server/api/persistence/v1/queue_metadata.pb.go · 129 LOCv1/queue_metadata.pb.gogo.temporal.io/server/api/persistence/v1/queues.pb.go · 641 LOCv1/queues.pb.gogo.temporal.io/server/api/persistence/v1/task_queues.pb.go · 924 LOCv1/task_queues.pb.gogo.temporal.io/server/api/persistence/v1/tasks.pb.go · 870 LOCv1/tasks.pb.gogo.temporal.io/server/api/persistence/v1/update.pb.go · 455 LOCv1/update.pb.gogo.temporal.io/server/api/persistence/v1/workflow_mutable_state.pb.go · 560 LOCv1/workflow_mutable_stat…go.temporal.io/server/api/replication/v1/message.pb.go · 2481 LOCv1/message.pb.gogo.temporal.io/server/api/taskqueue/v1/message.pb.go · 1363 LOCv1/message.pb.gogo.temporal.io/server/api/token/v1/message.pb.go · 809 LOCv1/message.pb.gogo.temporal.io/server/api/workflow/v1/message.pb.go · 302 LOCv1/message.pb.gogo.temporal.io/server/common/backoff/retrypolicy.go · 347 LOCbackoff/retrypolicy.gogo.temporal.io/server/common/build/build.go · 56 LOCbuild/build.gogo.temporal.io/server/common/log/tag/tags.go · 1039 LOCtag/tags.gogo.temporal.io/server/common/log/tag/zap_tag.go · 242 LOCtag/zap_tag.gogo.temporal.io/server/common/metrics/defs.go · 76 LOCmetrics/defs.gogo.temporal.io/server/common/metrics/defs_base.go · 30 LOCmetrics/defs_base.gogo.temporal.io/server/common/metrics/noop_impl.go · 58 LOCmetrics/noop_impl.gogo.temporal.io/server/common/metrics/option.go · 21 LOCmetrics/option.gogo.temporal.io/server/common/metrics/registry.go · 75 LOCmetrics/registry.gogo.temporal.io/server/common/payload/payload.go · 127 LOCpayload/payload.gogo.temporal.io/server/common/searchattribute/sadefs/constants.go · 396 LOCsadefs/constants.gogo.temporal.io/server/common/sqlquery/query.go · 72 LOCsqlquery/query.gogo.temporal.io/server/service/history/workflow/matcher/evaluator.go · 88 LOCmatcher/evaluator.gogo.temporal.io/server/service/history/workflow/matcher/mutable_state_evaluator.go · 237 LOCmatcher/mutable_state_ev…go.temporal.io/server/service/history/workflow/matcher/mutable_state_matcher.go · 40 LOCmatcher/mutable_state_ma…TestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…TestMutexMapBaggage · introduced test · go.temporal.io/server/common/metrics/TestBaggageBenchSuite/TestMutexMapBaggageTestMutexMapBaggageTestSyncMapBaggage · introduced test · go.temporal.io/server/common/metrics/TestBaggageBenchSuite/TestSyncMapBaggageTestSyncMapBaggageacceptance · introduced test · go.temporal.io/server/common/sqlquery/TestConvertToTime/acceptanceacceptanceempty_quoted_string#01 · introduced test · go.temporal.io/server/common/sqlquery/TestExtractStringValue/empty_quoted_string#01empty_quoted_string#01quoted_number_string · introduced test · go.temporal.io/server/common/sqlquery/TestExtractStringValue/quoted_number_stringquoted_number_stringquoted_string · introduced test · go.temporal.io/server/common/sqlquery/TestExtractStringValue/quoted_stringquoted_stringquoted_string_with_spaces · introduced test · go.temporal.io/server/common/sqlquery/TestExtractStringValue/quoted_string_with_spacesquoted_string_with_space…workflow_start_time_between_clause,_inclusive_left · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestAdvancedMutableStateMatchEvaluator/workflow_start_time_between_clause,_inclusive_leftworkflow_start_time_betw…workflow_start_time_between_clause,_inclusive_right · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestAdvancedMutableStateMatchEvaluator/workflow_start_time_between_clause,_inclusive_rightworkflow_start_time_betw…workflow_start_time_between_clause,_match · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestAdvancedMutableStateMatchEvaluator/workflow_start_time_between_clause,_matchworkflow_start_time_betw…workflow_start_time_between_clause,_miss · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestAdvancedMutableStateMatchEvaluator/workflow_start_time_between_clause,_missworkflow_start_time_betw…workflow_start_time_not_between_clause,_match · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestAdvancedMutableStateMatchEvaluator/workflow_start_time_not_between_clause,_matchworkflow_start_time_not_…workflow_start_time_not_between_clause,_miss · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestAdvancedMutableStateMatchEvaluator/workflow_start_time_not_between_clause,_missworkflow_start_time_not_…empty_query · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/empty_queryempty_queryquery_start_with_select · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/query_start_with_selectquery_start_with_selectquery_start_with_where · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/query_start_with_wherequery_start_with_wheretest_AND,_false,_left_cause · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/test_AND,_false,_left_causetest_AND,_false,_left_ca…test_AND,_true · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/test_AND,_truetest_AND,_truetest_OR,_false · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/test_OR,_falsetest_OR,_falsetest_OR,_true · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/test_OR,_truetest_OR,_truetest_OR,_true,_left_only · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/test_OR,_true,_left_onlytest_OR,_true,_left_onlytest_OR,_true,_right_only · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/test_OR,_true,_right_onlytest_OR,_true,_right_onl…test_and,_false,_right_cause · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/test_and,_false,_right_causetest_and,_false,_right_c…workflow_id · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/workflow_idworkflow_idworkflow_id_-_not_starts_with · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/workflow_id_-_not_starts_withworkflow_id_-_not_starts…workflow_id_-_starts_with · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/workflow_id_-_starts_withworkflow_id_-_starts_wit…workflow_start_time · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/workflow_start_timeworkflow_start_timeworkflow_start_time,_<=_clause,_after · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/workflow_start_time,_<=_clause,_afterworkflow_start_time,_<=_…workflow_start_time,_<=_clause,_before · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/workflow_start_time,_<=_clause,_beforeworkflow_start_time,_<=_…workflow_start_time,_<=_clause,_equal · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/workflow_start_time,_<=_clause,_equalworkflow_start_time,_<=_…workflow_start_time,_<_clause,_after · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/workflow_start_time,_<_clause,_afterworkflow_start_time,_<_c…workflow_start_time,_>=_clause,_after · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/workflow_start_time,_>=_clause,_afterworkflow_start_time,_>=_…workflow_start_time,_>=_clause,_before · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/workflow_start_time,_>=_clause,_beforeworkflow_start_time,_>=_…workflow_start_time,_>=_clause,_equal · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/workflow_start_time,_>=_clause,_equalworkflow_start_time,_>=_…workflow_start_time,_>_clause,_after · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/workflow_start_time,_>_clause,_afterworkflow_start_time,_>_c…workflow_start_time,_>_clause,_before · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/workflow_start_time,_>_clause,_beforeworkflow_start_time,_>_c…workflow_start_time,_>_clause,_equal · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/workflow_start_time,_>_clause,_equalworkflow_start_time,_>_c…workflow_start_time_<_clause,_equal · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/workflow_start_time_<_clause,_equalworkflow_start_time_<_cl…workflow_start_time_where_<_clause,_before · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/workflow_start_time_where_<_clause,_beforeworkflow_start_time_wher…workflow_status · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/workflow_statusworkflow_statusworkflow_status_-_negative · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/workflow_status_-_negativeworkflow_status_-_negati…workflow_type · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestBasicMutableStateMatchEvaluator/workflow_typeworkflow_typeabsent_where_clause · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestMatchMutableState/absent_where_clauseabsent_where_clauseacceptance_-_negative · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestMatchMutableState/acceptance_-_negativeacceptance_-_negativeacceptance_-_positive · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestMatchMutableState/acceptance_-_positiveacceptance_-_positiveempty_query · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestMatchMutableState/empty_queryempty_queryfull_sql_query · introduced test · go.temporal.io/server/service/history/workflow/matcher/TestMatchMutableState/full_sql_queryfull_sql_queryFocused concept · mutable_state_evaluator.go ×2 · 13 introduced LOCmutable_state_evaluator.…

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: 13 introduced LOC across 3 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/history/workflow/matcher/mutable_state_evaluator.go 9 introduced LOC · 2 ranges

Open complete file

26 func newMutableStateMatchEvaluator(
27 executionInfo *persistencespb.WorkflowExecutionInfo,
28 > executionState *persistencespb.WorkflowExecutionState) *mutableStateMatchEvaluator { mutable_state_evaluator.go
29 > return &mutableStateMatchEvaluator{
30 > executionInfo: executionInfo,
31 > executionState: executionState,
32 > }
33 > }
34
35 > func (m *mutableStateMatchEvaluator) Evaluate(query string) (bool, error) { mutable_state_evaluator.go
36 > query, err := prepareQuery(query)
37 > if err != nil {
38 return false, err
39 }
go.temporal.io/server/service/history/workflow/matcher/mutable_state_matcher.go 4 introduced LOC · 1 range

Open complete file

35 executionState *persistencespb.WorkflowExecutionState,
36 query string,
37 > ) (bool, error) { mutable_state_matcher.go
38 > evaluator := newMutableStateMatchEvaluator(executionInfo, executionState)
39 > return evaluator.Evaluate(query)
40 > }