Cadence is a distributed, scalable, durable, and highly available orchestration engine to execute asynchronous long-running business logic in a scalable and resilient way.
This report summarizes scanner evidence for cadence-workflow/cadence, a Go project with 9,531 GitHub stars. SynthScan examined 1,018,294 lines of code across 2685 source files, recording 2541 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 2.7 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 2448 finding(s).
Are imports declared and package/API names verified? 3 finding(s).
Are wrappers, guards, and repeated structures necessary? 90 finding(s).
Which changes need focused human review? 2541 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 2541 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | revive.toml | 81 | # [rule.get-return] # existing failures are intentional + desirable, but in principle it's a fine idea | COMMENT |
| LOW | revive.toml | 101 | # [rule.line-length-limit] # too arbitrary | COMMENT |
| LOW | cmd/bench/main.go | 1 | // Copyright (c) 2017-2021 Uber Technologies Inc. | COMMENT |
| LOW | cmd/tools/cli/main.go | 1 | // Copyright (c) 2017 Uber Technologies, Inc. | COMMENT |
| LOW | cmd/tools/cassandra/main.go | 1 | // Copyright (c) 2017 Uber Technologies, Inc. | COMMENT |
| LOW | cmd/tools/sql/main.go | 1 | // Copyright (c) 2017 Uber Technologies, Inc. | COMMENT |
| LOW | cmd/canary/main.go | 1 | // Copyright (c) 2019 Uber Technologies, Inc. | COMMENT |
| LOW | cmd/server/main.go | 1 | // Copyright (c) 2019 Uber Technologies, Inc. | COMMENT |
| LOW | cmd/server/cadence/cadence_test.go | 1 | // Copyright (c) 2017 Uber Technologies, Inc. | COMMENT |
| LOW | cmd/server/cadence/fx_test.go | 1 | // The MIT License (MIT) | COMMENT |
| LOW | cmd/server/cadence/cadence.go | 1 | // Copyright (c) 2017 Uber Technologies, Inc. | COMMENT |
| LOW | bench/worker.go | 1 | // Copyright (c) 2017-2021 Uber Technologies Inc. | COMMENT |
| LOW | bench/load/cancellation/workflow.go | 1 | // Copyright (c) 2017-2021 Uber Technologies Inc. | COMMENT |
| LOW | bench/load/timer/timerWorkflow.go | 1 | // Copyright (c) 2017-2021 Uber Technologies Inc. | COMMENT |
| LOW | bench/load/timer/launchWorkflow.go | 1 | // Copyright (c) 2017-2021 Uber Technologies Inc. | COMMENT |
| LOW | bench/load/basic/launchWorkflow.go | 1 | // Copyright (c) 2017-2021 Uber Technologies Inc. | COMMENT |
| LOW | bench/load/basic/stressWorkflow.go | 1 | // Copyright (c) 2017-2021 Uber Technologies Inc. | COMMENT |
| LOW | bench/load/common/activities.go | 1 | // Copyright (c) 2017-2021 Uber Technologies Inc. | COMMENT |
| LOW | bench/load/common/constants.go | 1 | // Copyright (c) 2017-2021 Uber Technologies Inc. | COMMENT |
| LOW | bench/load/common/helpers.go | 1 | // Copyright (c) 2017-2021 Uber Technologies Inc. | COMMENT |
| LOW | bench/load/concurrentexec/batchWorkflow.go | 1 | // Copyright (c) 2017-2021 Uber Technologies Inc. | COMMENT |
| LOW | bench/load/concurrentexec/launchWorkflow.go | 1 | // Copyright (c) 2017-2021 Uber Technologies Inc. | COMMENT |
| LOW | bench/load/signal/workflow.go | 1 | // Copyright (c) 2017-2021 Uber Technologies Inc. | COMMENT |
| LOW | bench/load/cron/workflow.go | 1 | // Copyright (c) 2017-2021 Uber Technologies Inc. | COMMENT |
| LOW | bench/lib/config.go | 1 | // Copyright (c) 2017-2021 Uber Technologies Inc. | COMMENT |
| LOW | bench/lib/config.go | 161 | // MaxTimerLatencyInSeconds specifies the maximum latency for the first timer in the workflow | COMMENT |
| LOW | bench/lib/metrics.go | 1 | // Copyright (c) 2017-2021 Uber Technologies Inc. | COMMENT |
| LOW | bench/lib/types.go | 1 | // Copyright (c) 2017-2021 Uber Technologies Inc. | COMMENT |
| LOW | bench/lib/client.go | 1 | // Copyright (c) 2017-2021 Uber Technologies Inc. | COMMENT |
| LOW | bench/lib/context.go | 1 | // Copyright (c) 2017-2021 Uber Technologies Inc. | COMMENT |
| LOW | bench/lib/config_test.go | 1 | // Copyright (c) 2017-2021 Uber Technologies Inc. | COMMENT |
| LOW | tools/linter/funcorder/analyzer.go | 1 | // The MIT License (MIT) | COMMENT |
| LOW | tools/linter/funcorder/cmd/funcorder/main.go | 1 | // The MIT License (MIT) | COMMENT |
| LOW | tools/mcp/main.go | 1 | // The MIT License (MIT) | COMMENT |
| LOW | tools/cli/render.go | 1 | // Copyright (c) 2022 Uber Technologies, Inc. | COMMENT |
| LOW | tools/cli/app_test.go | 1 | // Copyright (c) 2017 Uber Technologies, Inc. | COMMENT |
| LOW | tools/cli/domain.go | 1 | // Copyright (c) 2017 Uber Technologies, Inc. | COMMENT |
| LOW | tools/cli/schedule_commands.go | 1 | // Copyright (c) 2026 Uber Technologies, Inc. | COMMENT |
| LOW | tools/cli/admin_failover_commands_test.go | 1 | // Copyright (c) 2017-2020 Uber Technologies Inc. | COMMENT |
| LOW | tools/cli/admin_config_store_commands_test.go | 1 | // The MIT License (MIT) | COMMENT |
| LOW | tools/cli/utils_test.go | 1 | // Copyright (c) 2022 Uber Technologies, Inc. | COMMENT |
| LOW | tools/cli/task_list_commands.go | 1 | // Copyright (c) 2017 Uber Technologies, Inc. | COMMENT |
| LOW | tools/cli/histogram_test.go | 1 | // The MIT License (MIT) | COMMENT |
| LOW | tools/cli/admin_timers.go | 1 | // The MIT License (MIT) | COMMENT |
| LOW | tools/cli/defs.go | 1 | // Copyright (c) 2017 Uber Technologies, Inc. | COMMENT |
| LOW | tools/cli/admin_cluster_commands_test.go | 1 | // The MIT License (MIT) | COMMENT |
| LOW | tools/cli/admin_elastic_search_commands.go | 1 | // Copyright (c) 2017 Uber Technologies, Inc. | COMMENT |
| LOW | tools/cli/isolation-groups.go | 1 | // Copyright (c) 2017 Uber Technologies, Inc. | COMMENT |
| LOW | tools/cli/admin_db_clean_command.go | 1 | // The MIT License (MIT) | COMMENT |
| LOW | tools/cli/schedule_commands_test.go | 1 | // Copyright (c) 2026 Uber Technologies, Inc. | COMMENT |
| LOW | tools/cli/domain_migration_command.go | 1 | // The MIT License (MIT) | COMMENT |
| LOW | tools/cli/factory.go | 1 | // Copyright (c) 2017 Uber Technologies, Inc. | COMMENT |
| LOW | tools/cli/workflow_batch_commands_test.go | 1 | // Copyright (c) 2017 Uber Technologies, Inc. | COMMENT |
| LOW | tools/cli/domain_utils.go | 1 | // Copyright (c) 2019 Uber Technologies, Inc. | COMMENT |
| LOW | tools/cli/domain_migration_command_test.go | 1 | // The MIT License (MIT) | COMMENT |
| LOW | tools/cli/isolation_groups_test.go | 1 | // The MIT License (MIT) | COMMENT |
| LOW | tools/cli/admin_commands.go | 1 | // Copyright (c) 2017-2020 Uber Technologies Inc. | COMMENT |
| LOW | tools/cli/admin_db_decode_thrift_test.go | 1 | // The MIT License (MIT) | COMMENT |
| LOW | tools/cli/workflow_batch_commands.go | 1 | // Copyright (c) 2017 Uber Technologies, Inc. | COMMENT |
| LOW | tools/cli/admin_commands_test.go | 1 | // The MIT License (MIT) | COMMENT |
| 2267 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 537 | // ┌───────────────────┐ ┌───────────────────┐ ┌────────────────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 543 | // └───────────────────┘ └───────────────────┘ └────────────────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 545 | // ┌───────────────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 549 | // └─────────┬─────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 551 | // ┼───────────────────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 552 | // ┌─────────▼─────────┐ ┌─────────▼─────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 556 | // └─────────┬─────────┘ └─────────┬─────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 557 | // ┌────────────────────────┤ │ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 559 | // ┌─────────▼─────────┐ ┌─────────▼─────────┐ ┌─────────▼─────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 563 | // └─────────┬─────────┘ └─────────┬─────────┘ └─────────┬─────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 566 | // ┌─────────▼─────────┐ ┌─────────▼─────────┐ ┌─────────▼─────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 570 | // └───────────────────┘ └───────────────────┘ └───────────────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 578 | // ┌───────────────────┐ ┌─ ─ ─ ─ ─ ─ ─ ─ ─ ─┐ ┌────────────────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 584 | // └───────────────────┘ └─ ─ ─ ─ ─ ─ ─ ─ ─ ─┘ └────────────────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 587 | // ┌───────────────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 591 | // └─────────┬─────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 593 | // ┼───────────────────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 594 | // ┌─────────▼─────────┐ ┌─────────▼─────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 598 | // └─────────┬─────────┘ └─────────┬─────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 599 | // ┌────────────────────────┤ │ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 601 | // ┌─────────▼─────────┐ ┌─ ─ ─ ─ ─▼ ─ ─ ─ ─ ┐ ┌─────────▼─────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 605 | // └─────────┬─────────┘ └─ ─ ─ ─ ─┐ ─ ─ ─ ─ ┘ └─────────┬─────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 608 | // ┌─────────▼─────────┐ ┌─ ─ ─ ─ ─▼ ─ ─ ─ ─ ┐ ┌─────────▼─────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 612 | // └───────────────────┘ └─ ─ ─ ─ ── ─ ─ ─ ─ ┘ └───────────────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 694 | // ┌───────────────────┐ ┌─ ─ ─ ─ ─ ─ ─ ─ ─ ─┐ ┌────────────────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 700 | // └───────────────────┘ └─ ─ ─ ─ ─ ─ ─ ─ ─ ─┘ └────────────────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 704 | // ┌───────────────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 708 | // └─────────┬─────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 710 | // ┼─────────────────────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 711 | // ┌─────────▼─────────┐ ┌─────────▼─────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 715 | // └─────────┬─────────┘ └─────────┬─────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 716 | // ┌────────────────────────┘ │ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 718 | // ┌─────────▼─────────┐ ┌─────────▼─────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 722 | // └─────────┬─────────┘ └─────────┬─────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 725 | // ┌─────────▼─────────┐ ┌─────────▼─────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 729 | // └───────────────────┘ └───────────────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 736 | // ┌───────────────────┐ ┌─ ─ ─ ─ ─ ─ ─ ─ ─ ─┐ ┌─ ─ ─ ─ ─ ─ ─ ─ ─ ─┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 742 | // └───────────────────┘ └─ ─ ─ ─ ─ ─ ─ ─ ─ ─┘ └─ ─ ─ ─ ─ ─ ─ ─ ─ ─┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 745 | // ┌───────────────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 749 | // └─────────┬─────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 752 | // ┌─────────▼─────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 756 | // └─────────┬─────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 757 | // ┌────────────────────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 759 | // ┌─────────▼─────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 763 | // └─────────┬─────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 766 | // ┌─────────▼─────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 770 | // └───────────────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 858 | // ┌─ ─ ─ ─ ─ ─ ─ ─ ─ ─┐ ┌───────────────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 864 | // └─ ─ ─ ─ ─ ─ ─ ─ ─ ─┘ └───────────────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 869 | // ┌───────────────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 873 | // └─────────┬─────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 875 | // ┌─────────┼─────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 879 | // └─────────┬─────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 880 | // ┼────────────────────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 883 | // ┌─────────▼─────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 887 | // └─────────┬─────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 890 | // ┌─────────▼─────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 894 | // └───────────────────┘ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 1011 | // ┌───────────────────┐ ┌───────────────────┐ ┌────────────────────┐ | COMMENT |
| MEDIUM⚡ | common/persistence/nosql/nosql_history_store_test.go | 1017 | // └───────────────────┘ └───────────────────┘ └────────────────────┘ | COMMENT |
| 30 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docker/dev/cassandra-opensearch-kafka.yml | 30 | OPENSEARCH_HOSTS: '["http://opensearch:9200"]' # Define the OpenSearch nodes that OpenSearch Dashboards will query | CODE |
| MEDIUM | docker/dev/cassandra-opensearch-kafka-migration.yml | 36 | OPENSEARCH_HOSTS: '["https://opensearch:9200"]' # Define the OpenSearch nodes that OpenSearch Dashboards will quer | CODE |
| MEDIUM | …_simulation_activeactive_same_wfid_signalwithstart.yml | 1 | # This file is used as dynamicconfig override for "activeactive_same_wfid_signalwithstart" replication simulation scenar | COMMENT |
| MEDIUM | …lication_simulation_activeactive_regional_failover.yml | 1 | # This file is used as dynamicconfig override for "activeactive_regional_failover" replication simulation scenario confi | COMMENT |
| MEDIUM | …onfig/replication_simulation_activityretryfailover.yml | 1 | # This file is used as dynamicconfig override for "activityretryfailover" replication simulation scenario configured via | COMMENT |
| MEDIUM | …on_activeactive_signalwithstart_terminateifrunning.yml | 1 | # This file is used as dynamicconfig override for "activeactive" replication simulation scenario configured via simulati | COMMENT |
| MEDIUM | …n_simulation_activeactive_start_terminateifrunning.yml | 1 | # This file is used as dynamicconfig override for "activeactive" replication simulation scenario configured via simulati | COMMENT |
| MEDIUM | config/dynamicconfig/replication_simulation_reset.yml | 1 | # This file is used as dynamicconfig override for "reset" replication simulation scenario configured via simulation/repl | COMMENT |
| MEDIUM | …icconfig/replication_simulation_activeactive_child.yml | 1 | # This file is used as dynamicconfig override for "activeactive" replication simulation scenario configured via simulati | COMMENT |
| MEDIUM | …plication_simulation_activepassive_to_activeactive.yml | 1 | # This file is used as dynamicconfig override for "activepassive_to_activeactive" replication simulation scenario config | COMMENT |
| MEDIUM | …micconfig/replication_simulation_activeactive_cron.yml | 1 | # This file is used as dynamicconfig override for "activeactive_cron" replication simulation scenario configured via sim | COMMENT |
| MEDIUM | …_simulation_activeactive_invalid_cluster_attribute.yml | 1 | # This file is used as dynamicconfig override for "activeactive" replication simulation scenario configured via simulati | COMMENT |
| MEDIUM | …n_activeactive_regional_failover_start_same_wfid_2.yml | 1 | # This file is used as dynamicconfig override for "activeactive_regional_failover_start_same_wfid_2" replication simulat | COMMENT |
| MEDIUM | …/dynamicconfig/replication_simulation_activeactive.yml | 1 | # This file is used as dynamicconfig override for "activeactive" replication simulation scenario configured via simulati | COMMENT |
| MEDIUM | …icconfig/replication_simulation_clusterredirection.yml | 1 | # This file is used as dynamicconfig override for "clusterredirection" replication simulation scenario configured via si | COMMENT |
| MEDIUM | …nfig/replication_simulation_activeactive_same_wfid.yml | 1 | # This file is used as dynamicconfig override for "activeactive" replication simulation scenario configured via simulati | COMMENT |
| MEDIUM | …ynamicconfig/replication_simulation_budget_manager.yml | 1 | # This file is used as dynamicconfig override for "budget_manager" replication simulation scenario | COMMENT |
| MEDIUM | …ion_activeactive_regional_failover_start_same_wfid.yml | 1 | # This file is used as dynamicconfig override for "activeactive_regional_failover_start_same_wfid" replication simulatio | COMMENT |
| MEDIUM | …ion_activeactive_same_wfid_signalwithstart_delayed.yml | 1 | # This file is used as dynamicconfig override for "activeactive_same_wfid_signalwithstart_delayed" replication simulatio | COMMENT |
| MEDIUM | config/dynamicconfig/replication_simulation_default.yml | 1 | # This file is used as dynamicconfig override for "default" replication simulation scenario configured via simulation/re | COMMENT |
| MEDIUM | …estdata/replication_simulation_clusterredirection.yaml | 1 | # This file is a replication simulation scenario spec. | COMMENT |
| MEDIUM | …estdata/replication_simulation_activeactive_child.yaml | 1 | # This file is a replication simulation scenario spec. | COMMENT |
| MEDIUM | …tion/testdata/replication_simulation_activeactive.yaml | 1 | # This file is a replication simulation scenario spec. | COMMENT |
| MEDIUM | …lication_simulation_activepassive_to_activeactive.yaml | 1 | # This file is a replication simulation scenario spec. | COMMENT |
| MEDIUM | …on_activeactive_regional_failover_start_same_wfid.yaml | 1 | # This file is a replication simulation scenario spec. | COMMENT |
| MEDIUM | …_simulation_activeactive_start_terminateifrunning.yaml | 1 | # This file is a replication simulation scenario spec. | COMMENT |
| MEDIUM | …simulation_activeactive_invalid_cluster_attribute.yaml | 1 | # This file is a replication simulation scenario spec. | COMMENT |
| MEDIUM | …on/testdata/replication_simulation_budget_manager.yaml | 1 | # This file is a replication simulation scenario spec for testing the budget manager. | COMMENT |
| MEDIUM | …_activeactive_regional_failover_start_same_wfid_2.yaml | 1 | # This file is a replication simulation scenario spec. | COMMENT |
| MEDIUM | …testdata/replication_simulation_activeactive_cron.yaml | 1 | # This file is a replication simulation scenario spec. | COMMENT |
| MEDIUM | …plication/testdata/replication_simulation_default.yaml | 1 | # This file is a replication simulation scenario spec. | COMMENT |
| MEDIUM | …ication_simulation_activeactive_regional_failover.yaml | 1 | # This file is a replication simulation scenario spec. | COMMENT |
| MEDIUM | …replication/testdata/replication_simulation_reset.yaml | 1 | # This file is a replication simulation scenario spec. | COMMENT |
| MEDIUM | …n_activeactive_signalwithstart_terminateifrunning.yaml | 1 | # This file is a replication simulation scenario spec. | COMMENT |
| MEDIUM | …ata/replication_simulation_activeactive_same_wfid.yaml | 1 | # This file is a replication simulation scenario spec. | COMMENT |
| MEDIUM | …simulation_activeactive_same_wfid_signalwithstart.yaml | 1 | # This file is a replication simulation scenario spec. | COMMENT |
| MEDIUM | …on_activeactive_same_wfid_signalwithstart_delayed.yaml | 1 | # This file is a replication simulation scenario spec. | COMMENT |
| MEDIUM | …data/replication_simulation_activityretryfailover.yaml | 1 | # This file is a replication simulation scenario spec. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .gitar/rules/blank-imports-library.md | 29 | ### Step 1: Identify Go files with blank imports | COMMENT |
| LOW | .gitar/rules/blank-imports-library.md | 47 | ### Step 2: Categorize by location | COMMENT |
| LOW | .gitar/rules/blank-imports-library.md | 62 | ### Step 3: Identify common violating patterns | COMMENT |
| LOW | .gitar/rules/blank-imports-library.md | 81 | ### Step 4: Check if moved to main.go | COMMENT |
| LOW | .gitar/rules/architecture-separation.md | 25 | ### Step 1: Check for new initialization logic in cmd/server | COMMENT |
| LOW | .gitar/rules/architecture-separation.md | 56 | ### Step 2: Identify changes to service/* packages | COMMENT |
| LOW | .gitar/rules/architecture-separation.md | 63 | ### Step 3: Check for hard-coded infrastructure types in service/* | COMMENT |
| LOW | .gitar/rules/architecture-separation.md | 85 | ### Step 4: Check for environment-based conditionals in service/* | COMMENT |
| LOW⚡ | .gitar/rules/assign-maintainer-reviewer.md | 18 | ### Step 1: Identify the PR author | COMMENT |
| LOW⚡ | .gitar/rules/assign-maintainer-reviewer.md | 22 | ### Step 2: Build the maintainer list from MAINTAINERS.md | COMMENT |
| LOW⚡ | .gitar/rules/assign-maintainer-reviewer.md | 26 | ### Step 3: Check if the author is a maintainer | COMMENT |
| LOW⚡ | .gitar/rules/assign-maintainer-reviewer.md | 32 | ### Step 4: Assign a maintainer (for non-maintainer PRs only) | COMMENT |
| LOW | .gitar/rules/assign-maintainer-reviewer.md | 48 | ### Step 5: Post a welcome comment (for non-maintainer PRs only) | COMMENT |
| LOW | .gitar/rules/no-license-headers.md | 22 | ### Step 1: Identify Go files with license headers | COMMENT |
| LOW | .gitar/rules/no-license-headers.md | 33 | ### Step 2: Distinguish headers from legitimate references | COMMENT |
| LOW | .gitar/rules/daemon-v2-migration.md | 39 | ### Step 1: Check if PR modifies files that use common.Daemon | COMMENT |
| LOW | .gitar/rules/daemon-v2-migration.md | 49 | ### Step 2: Determine migration scope | COMMENT |
| LOW | .gitar/rules/daemon-v2-migration.md | 61 | ### Step 3: Provide migration guidance | COMMENT |
| LOW⚡ | .gitar/rules/restrict-workflow-changes.md | 23 | ### Step 1: Get the list of changed files | COMMENT |
| LOW⚡ | .gitar/rules/restrict-workflow-changes.md | 30 | ### Step 2: Check author against CODEOWNERS | COMMENT |
| LOW⚡ | .gitar/rules/restrict-workflow-changes.md | 36 | ### Step 3: Report when a non-maintainer touches workflow files | COMMENT |
| LOW | .gitar/rules/issue-linking-required.md | 95 | ### Step 1: Check Skip Conditions | COMMENT |
| LOW | .gitar/rules/issue-linking-required.md | 107 | ### Step 2: Search for Issue Links | COMMENT |
| LOW | .gitar/rules/issue-linking-required.md | 119 | ### Step 3: Report Status | COMMENT |
| LOW | docs/howtos/update-dynamic-config.md | 57 | ### Step 1: List Current Config Values | COMMENT |
| LOW | docs/howtos/update-dynamic-config.md | 92 | ### Step 2: Get Effective Value for a Domain | COMMENT |
| LOW | docs/howtos/update-dynamic-config.md | 111 | ### Step 3: Update Config Values | COMMENT |
| LOW | docs/howtos/update-dynamic-config.md | 206 | ### Step 4: Verify the Update | COMMENT |
| LOW | docs/howtos/update-dynamic-config.md | 225 | ### Step 5: Restore to Defaults (if needed) | COMMENT |
| LOW⚡ | common/persistence/history_manager_test.go | 1567 | // Step 1: Serialize the token | COMMENT |
| LOW⚡ | common/persistence/history_manager_test.go | 1571 | // Step 2: Deserialize the token back | COMMENT |
| LOW⚡ | common/persistence/history_manager_test.go | 1575 | // Step 3: Compare the original token with the deserialized token | COMMENT |
| LOW⚡ | common/persistence/elasticsearch/es_visibility_store.go | 644 | // Step 1: Convert with elasticsql for the non-LIKE portion | COMMENT |
| LOW⚡ | common/persistence/elasticsearch/es_visibility_store.go | 653 | // Step 2: Replace dummy nodes with wildcard queries in-place | COMMENT |
| LOW | common/task/iwrr_node.go | 254 | // Step 1: Take snapshot of children with read lock | COMMENT |
| LOW⚡ | common/task/iwrr_node.go | 268 | // Step 2: Cleanup children WITHOUT holding parent lock | COMMENT |
| LOW⚡ | common/task/iwrr_node.go | 277 | // Step 3: Fast path if no children need removal | COMMENT |
| LOW⚡ | common/task/iwrr_node.go | 282 | // Step 4: Acquire write lock only when we need to modify | COMMENT |
| LOW | service/worker/domaindeprecation/workflow.go | 82 | // Step 1: Check for active pollers (skipped when Force is set) | COMMENT |
| LOW⚡ | service/worker/domaindeprecation/workflow.go | 94 | // Step 2: Activity disables archival | COMMENT |
| LOW⚡ | service/worker/domaindeprecation/workflow.go | 104 | // Step 3: Deprecate a domain | COMMENT |
| LOW⚡ | service/worker/domaindeprecation/workflow.go | 114 | // Step 4: Start child batch workflow to terminate open workflows of a domain | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | docker/docker-compose-unleash.yml | 3 | # and common/dynamicconfig/openfeatureprovider/unleash). | COMMENT |
| MEDIUM⚡ | docker/docker-compose-unleash.yml | 11 | # docker compose -f docker-compose-unleash.yml up --build | COMMENT |
| MEDIUM⚡ | docker/docker-compose-unleash.yml | 21 | # OpenFeature/Unleash client from ./unleash/bootstrap.json on startup (see | COMMENT |
| MEDIUM⚡ | docker/docker-compose-unleash.yml | 22 | # UNLEASH_BOOTSTRAP_FILE and common/dynamicconfig/openfeatureprovider/unleash's | COMMENT |
| MEDIUM⚡ | docker/docker-compose-unleash.yml | 24 | # even before the unleash service itself finishes starting. | COMMENT |
| MEDIUM | docker/docker-compose-unleash.yml | 74 | # Backend/server-side token the Go client (via our openfeatureprovider/unleash | COMMENT |
| MEDIUM | common/config/config.go | 403 | // To have a seamless failover experience, cluster should use this forwarding option to forward those APIs to the activ | COMMENT |
| MEDIUM | common/config/config.go | 438 | // Usage recommendation: when enabling XDC(global domain) feature, either "all-domain-apis-forwarding" or "selected-ap | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | common/archiver/historyIterator.go | 219 | // We need to check if there's more history batches. | COMMENT |
| LOW⚡ | common/persistence/history_manager_test.go | 1567 | // Step 1: Serialize the token | COMMENT |
| LOW⚡ | common/persistence/history_manager_test.go | 1571 | // Step 2: Deserialize the token back | COMMENT |
| LOW⚡ | common/persistence/history_manager_test.go | 1575 | // Step 3: Compare the original token with the deserialized token | COMMENT |
| LOW⚡ | common/persistence/elasticsearch/es_visibility_store.go | 644 | // Step 1: Convert with elasticsql for the non-LIKE portion | COMMENT |
| LOW⚡ | common/persistence/elasticsearch/es_visibility_store.go | 653 | // Step 2: Replace dummy nodes with wildcard queries in-place | COMMENT |
| LOW | common/task/iwrr_node.go | 254 | // Step 1: Take snapshot of children with read lock | COMMENT |
| LOW⚡ | common/task/iwrr_node.go | 268 | // Step 2: Cleanup children WITHOUT holding parent lock | COMMENT |
| LOW⚡ | common/task/iwrr_node.go | 277 | // Step 3: Fast path if no children need removal | COMMENT |
| LOW⚡ | common/task/iwrr_node.go | 282 | // Step 4: Acquire write lock only when we need to modify | COMMENT |
| LOW | service/worker/domaindeprecation/workflow.go | 82 | // Step 1: Check for active pollers (skipped when Force is set) | COMMENT |
| LOW⚡ | service/worker/domaindeprecation/workflow.go | 94 | // Step 2: Activity disables archival | COMMENT |
| LOW⚡ | service/worker/domaindeprecation/workflow.go | 104 | // Step 3: Deprecate a domain | COMMENT |
| LOW⚡ | service/worker/domaindeprecation/workflow.go | 114 | // Step 4: Start child batch workflow to terminate open workflows of a domain | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/docker-compose-custom-config.yml | 54 | # Set this to use a custom config file instead of config_template.yaml | COMMENT |
| LOW | scripts/test_multicluster_domain_workflow.sh | 109 | # Check if domain is global | COMMENT |
| LOW | scripts/test_multicluster_domain_workflow.sh | 214 | # Check if metric value is greater than 0 | COMMENT |
| LOW | scripts/test_multicluster_domain_workflow.sh | 230 | # Check if we can find evidence of metric increments in logs or responses | COMMENT |
| LOW | scripts/test_multicluster_domain_workflow.sh | 298 | # Check if domain is global (required for forwarding) | COMMENT |
| LOW⚡ | scripts/test_multicluster_domain_workflow.sh | 315 | # Check if domain is global domain | COMMENT |
| LOW⚡ | scripts/test_multicluster_domain_workflow.sh | 323 | # Check if auto-forwarding would be enabled (global domains typically have this enabled) | COMMENT |
| LOW⚡ | scripts/test_multicluster_domain_workflow.sh | 327 | # Check if we're dealing with multi-cluster domain | COMMENT |
| LOW⚡ | scripts/test_multicluster_domain_workflow.sh | 333 | # Check if DescribeWorkflowExecution was called (which would trigger the function) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | service/history/queuev2/queue_scheduled.go | 224 | q.timerGate.Update(q.base.newVirtualSliceState.Range.InclusiveMinTaskKey.GetScheduledTime()) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/docker-compose-custom-config.yml | 4 | # Usage: | COMMENT |
| LOW | docker/docker-compose-local.override.yaml | 4 | # Usage: | COMMENT |
| LOW | simulation/matching/run.sh | 5 | # Usage: | COMMENT |
| LOW | simulation/history/run.sh | 5 | # Usage: | COMMENT |
| LOW | simulation/replication/run.sh | 5 | # Usage: | COMMENT |
| LOW | common/types/mapper/testutils/fuzz_mapper.go | 127 | // Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | common/mapq/dispatcher/dispatcher.go | 71 | // TODO: implement | COMMENT |
| LOW | common/persistence/sql/sql_execution_store_util.go | 714 | // TODO: implement creating tasks for other categories | COMMENT |
| LOW | common/persistence/sql/sql_execution_store_util.go | 730 | // TODO: implement creating tasks for other categories | COMMENT |
| LOW | service/history/queue/transfer_queue_validator.go | 139 | // TODO: implement an event logger for queue processor and dump all events when this validation fails. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | common/types/testdata/schedule.go | 271 | Identity: "user@example.com", | CODE |
| LOW | common/authorization/oauthAuthorizer_test.go | 92 | Actor: "John Doe", | CODE |