Public report of conductor-oss/conductor, published 24 October 2026. It has the same score, grades and number of
findings as the full report. The details of security findings (where they are in the code, which known
vulnerabilities and which passwords or keys were found) are left out, so nobody can use them against the project.
Public
Executive reportMeasured under the Code Assurance Index, an open standard for code quality, using its published scoring rules (rubric version 2026.10.5). Watchdog signed this survey and filed it in the standard's public register, where anyone can look it up by its survey ID. Check this survey →
Signed and filed in the standard's public register, 24 October 2026, 05:44 UTC · Survey ID cd_89621213b66f4acd8b32a5aabe180777
conductor-oss/conductor
Measured 24 October 2026, 05:34 UTC, at code version 1488804
Regression: 2 dimensions fell since the last survey
A regression is a drop of 0.5 points or more in the score, or of 2.5 or more out of 10 in a dimension, since the last survey.
CAI scoreAt riskDown 2 since the last survey
The score is built from these lenses. Each lens grades one area of the code, such as how easy it is to change or how well it is protected. The weakest lens counts most, so one weak area pulls the score down instead of being averaged away.
A large codebase: 283,093 lines of product code in 54 projects, tests not counted · Estimated rebuild effort: about 3.0 person-years · Weakest lens: Accessibility, 39
Findings by how serious they are
270 critical2229 serious864 minor
11 dimensions are left out of the score. For each one, Watchdog either couldn't measure it in this code, or found no evidence of the safeguard it looks for, such as a tested backup restore. They count neither for nor against the score, and Limitations lists each one with its reason.
This survey was produced by
Watchdog
Producer
Canine Development
Analyzer
Watchdog engine 1.0.0
Measured
24 October 2026, 05:34 UTC
A measurement, not a certificate. The Code Assurance Index records a number
together with the evidence it was worked out from, so anyone can recalculate it, but it doesn't certify or guarantee
the code. The standard was written by Canine Development, which also builds Watchdog. It is open to any tool that
implements it, and today Watchdog is the only one that does.
A critical security finding is open, such as a library with a known critical vulnerability or a password or key found in the code. The score itself is unchanged, but its band shows At risk until the finding is fixed. See the Security and Compliance lens.
The score is deterministic, which means the same code always gets the same score. Watchdog works it out with tools that follow published rules, and an AI model never decides it, so anyone who applies the same rules to the same code gets the same number. How it is done is explained under Methodology ▸
91of 94 dimensions measured by tools. The other 3 are advisory notes from an AI model, which explain the code but don't count towards the score.
2821of 3363 findings point to an exact file and line, so you can open each one in the code. The other 542 concern the repository as a whole, such as missing documentation.
94dimensions across 7 lenses, read from 283,093 lines of product code in 54 projects.
conductor-oss/conductor scores 47 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged.
The weakest lens counts most in the score, and here that is Accessibility, which scores 39 and is rated Weak. Its Keyboard semantics dimension scores 1.2 out of 10, and until that reaches 4, Accessibility can't be rated higher than Adequate. The first actions are to resolve the 3 Leaked secret finding(s) in Secret Scanning and to resolve the 5 No assertions (empty test) finding(s) in Test Quality, and if Accessibility rose to 70, the score would rise from 47 to about 55.
270 findings are critical: 140 in Static Analysis (SAST), 72 in Dependency Vulnerabilities, 22 in Keyboard semantics, six in Forms & labels, six in IaC & Container Security, five in Knowledge Freshness, five in Test Quality, four in Circular Imports, three in Secret Scanning, three in Secrets (history), two in Dependency Hygiene and two in Text alternatives.
Watchdog couldn't measure 11 dimensions in this code, among them Code Coverage, Test Reliability and Internal API Consistency, so they are left out of the score. The product code is 283,093 lines, which would take an estimated 3.0 person-years, around €430,000, to rebuild.
A lens is capped at Adequate while one of its dimensions scores below 4 out of 10, however well the rest of the lens does. That way a serious problem in one place always shows in the lens's rating.
How the score is built: what each lens counts forThe lenses don't count equally. The weakest lens counts most, the next weakest a little less, and so on, so a weak area pulls the score down instead of being averaged away. In the bar below, each part's width shows how much that lens counts and its colour shows its rating. Improving the widest part moves the score most, and as that lens improves, it counts for less, because another lens becomes the weakest.
If Accessibility rose from 39 to 70, the lowest score rated Strong, the score would rise from 47 to about 55.
Code composition: what the lines of code are
Product code 65%Tests 35%
New since the last survey: 159 findings
These 159 critical or serious findings weren't in the previous survey, on 10 October 2026. The first 100 are listed here, and the findings file in the download package lists them all.
Test Quality · No assertions (empty test): testRemovalListener ai/src/test/java/org/conductoross/conductor/ai/vectordb/PostgresVectorDBTest.java
Test Quality · No assertions: testAMQPObservalbleQueue_addressEmpty amqp/src/test/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueueTest.java
Test Quality · No assertions: testAMQPObservalbleQueue_batchsizezero amqp/src/test/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueueTest.java
Test Quality · No assertions: testAMQPObservalbleQueue_empty amqp/src/test/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueueTest.java
Test Quality · No assertions: testAMQPObservalbleQueue_polltimezero amqp/src/test/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueueTest.java
Test Quality · No assertions: testAMQPObservalbleQueue_settingsEmpty amqp/src/test/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueueTest.java
Test Quality · No assertions: testAMQPSettings_exchange_fromuri_wrongdeliverymode amqp/src/test/java/com/netflix/conductor/contribs/queue/amqp/AMQPSettingsTest.java
Large Files · ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx: 2154 lines of code ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx
Large Files · ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts: 2056 lines of code ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts
Large Files · ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx: 1969 lines of code ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx
Large Files · ui-next/src/components/features/flow/components/RichAddTaskMenu/QuickAddMenu.tsx: 891 lines of code ui-next/src/components/features/flow/components/RichAddTaskMenu/QuickAddMenu.tsx
Large Files · ui-next/src/pages/definitions/Scheduler/Schedules.tsx: 879 lines of code ui-next/src/pages/definitions/Scheduler/Schedules.tsx
Large Files · ui-next/src/pages/scheduler/Schedule.tsx: 799 lines of code ui-next/src/pages/scheduler/Schedule.tsx
Watchdog compares every finding with the previous survey's. A finding that has only moved to another line in the same file counts as the same finding, so only new findings appear here. Advisory notes from the AI model are left out, because the model words them afresh in every survey.
Fixed since the last survey: 820 findings
These 820 critical or serious findings were in the previous survey, on 10 October 2026, and are gone from this one. The first 100 are listed here.
Test Quality · No assertions: jsonRpc_streamMethod_returnsSseEmitter agentspan/src/test/java/org/conductoross/conductor/ai/agentspan/a2a/A2AAgentServerResourceTest.java
Test Quality · No assertions: dispatch_messageStream_returnsSseEmitter agentspan/src/test/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacadeTest.java
Test Quality · No assertions: testHandoffRouteNormalizerWiring agentspan/src/test/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompilerTest.java
Test Quality · No assertions: testRouterRouteNormalizerWiring_LlmBranch agentspan/src/test/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompilerTest.java
Test Quality · No assertions: frameworkPassthroughWrappersStayOffTheStream agentspan/src/test/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentEventListenerTest.java
Test Quality · No assertions: theMcpDiscoveryTaskIsNotReportedAsAToolCall agentspan/src/test/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentEventListenerTest.java
Test Quality · No assertions: tasksSendSubscribe_alias_returnsSseEmitter ai/src/test/java/org/conductoross/conductor/ai/a2a/server/A2AServerResourceTest.java
Test Quality · No assertions: testGetChatModel_isResponsesModel_notLegacyTextGeneration ai/src/test/java/org/conductoross/conductor/ai/providers/huggingface/HuggingFaceTest.java
Test Quality · No assertions: rejectsInvalidResponseObjectAtStartup ai/src/test/java/org/conductoross/conductor/ai/providers/mock/MockLLMResponseValidationTest.java
Test Quality · No assertions: rejectsMissingRequiredNestedResponseFieldAtStartup ai/src/test/java/org/conductoross/conductor/ai/providers/mock/MockLLMResponseValidationTest.java
Test Quality · No assertions: rejectsMissingResponsePropertiesAtStartup ai/src/test/java/org/conductoross/conductor/ai/providers/mock/MockLLMResponseValidationTest.java
Test Quality · No assertions: rejectsWrongResponseCollectionShapeAtStartup ai/src/test/java/org/conductoross/conductor/ai/providers/mock/MockLLMResponseValidationTest.java
Test Quality · No assertions: reportsFilenameForInvalidJson ai/src/test/java/org/conductoross/conductor/ai/providers/mock/MockLLMResponseValidationTest.java
Test Quality · No assertions: numberingIsIndependentPerDirectoryAndContinuesAfterRestart ai/src/test/java/org/conductoross/conductor/ai/recording/FileLLMCallRecorderTest.java
Test Quality · No assertions: generationOptionsAffectRequestMatching ai/src/test/java/org/conductoross/conductor/ai/recording/RecordedRequestNormalizerTest.java
Test Quality · No assertions: testRemovalListener ai/src/test/java/org/conductoross/conductor/ai/vectordb/PostgresVectorDBTest.java
Test Quality · No assertions: aReferenceToVersion1ValidatesAgainstVersion1 core/src/test/java/org/conductoross/conductor/service/SchemaVersionResolutionTest.java
Test Quality · No assertions: aReferenceToVersion2ValidatesAgainstVersion2 core/src/test/java/org/conductoross/conductor/service/SchemaVersionResolutionTest.java
Test Quality · No assertions: aReferenceToVersion3ValidatesAgainstVersion3 core/src/test/java/org/conductoross/conductor/service/SchemaVersionResolutionTest.java
Test Quality · No assertions: aReferenceWithVersion0ResolvesTheLatest core/src/test/java/org/conductoross/conductor/service/SchemaVersionResolutionTest.java
Test Quality · No assertions: theLatestFollowsTheRegistryForward core/src/test/java/org/conductoross/conductor/service/SchemaVersionResolutionTest.java
Test Quality · No assertions: shouldAsyncUpdateWorkflow es8-persistence/src/test/java/org/conductoross/conductor/es8/dao/index/TestElasticSearchRestDAOV8.java
Test Quality · No assertions: shouldForceRefreshWorkflowIndexWhenRefreshOnWriteEnabled es8-persistence/src/test/java/org/conductoross/conductor/es8/dao/index/TestElasticSearchRestDAOV8.java
Test Quality · No assertions: shouldIndexWorkflow es8-persistence/src/test/java/org/conductoross/conductor/es8/dao/index/TestElasticSearchRestDAOV8.java
Test Quality · No assertions: shouldIndexWorkflowAsync es8-persistence/src/test/java/org/conductoross/conductor/es8/dao/index/TestElasticSearchRestDAOV8.java
Test Quality · No assertions: shouldNotOverwriteWorkflowWithOlderUpdateTime es8-persistence/src/test/java/org/conductoross/conductor/es8/dao/index/TestElasticSearchRestDAOV8.java
Test Quality · No assertions: shouldSkipOlderWorkflowPartialUpdateWhenUpdateTimeProvided es8-persistence/src/test/java/org/conductoross/conductor/es8/dao/index/TestElasticSearchRestDAOV8.java
Test Quality · No assertions: shouldUpdateWorkflow es8-persistence/src/test/java/org/conductoross/conductor/es8/dao/index/TestElasticSearchRestDAOV8.java
Test Quality · No assertions: rejectsExpiredUnknownAndTamperedSignatures rest/src/test/java/org/conductoross/conductor/rest/filestorage/ConductorFileSignatureFilterTest.java
Test Quality · No assertions: shouldAsyncUpdateWorkflow os-persistence-v2/src/test/java/org/conductoross/conductor/os2/dao/index/TestOpenSearchRestDAO.java
Test Quality · No assertions: shouldIndexWorkflow os-persistence-v2/src/test/java/org/conductoross/conductor/os2/dao/index/TestOpenSearchRestDAO.java
Test Quality · No assertions: shouldIndexWorkflowAsync os-persistence-v2/src/test/java/org/conductoross/conductor/os2/dao/index/TestOpenSearchRestDAO.java
Test Quality · No assertions: shouldUpdateWorkflow os-persistence-v2/src/test/java/org/conductoross/conductor/os2/dao/index/TestOpenSearchRestDAO.java
Test Quality · No assertions: shouldAsyncUpdateWorkflow os-persistence-v3/src/test/java/org/conductoross/conductor/os3/dao/index/TestOpenSearchRestDAO.java
Test Quality · No assertions: shouldIndexWorkflow os-persistence-v3/src/test/java/org/conductoross/conductor/os3/dao/index/TestOpenSearchRestDAO.java
Test Quality · No assertions: shouldIndexWorkflowAsync os-persistence-v3/src/test/java/org/conductoross/conductor/os3/dao/index/TestOpenSearchRestDAO.java
Test Quality · No assertions: shouldUpdateWorkflow os-persistence-v3/src/test/java/org/conductoross/conductor/os3/dao/index/TestOpenSearchRestDAO.java
Test Quality · No assertions: newVersionDefaultsToFalseAndIsPassedThroughWhenSet rest/src/test/java/org/conductoross/conductor/rest/controllers/SchemaResourceTest.java
Test Quality · No assertions: shouldAsyncUpdateWorkflow es7-persistence/src/test/java/com/netflix/conductor/es7/dao/index/TestElasticSearchRestDAOV7.java
Test Quality · No assertions: shouldIndexWorkflow es7-persistence/src/test/java/com/netflix/conductor/es7/dao/index/TestElasticSearchRestDAOV7.java
Test Quality · No assertions: shouldIndexWorkflowAsync es7-persistence/src/test/java/com/netflix/conductor/es7/dao/index/TestElasticSearchRestDAOV7.java
Test Quality · No assertions: shouldUpdateWorkflow es7-persistence/src/test/java/com/netflix/conductor/es7/dao/index/TestElasticSearchRestDAOV7.java
Test Quality · No assertions: testMaxRowInTable postgres-external-storage/src/test/java/com/netflix/conductor/postgres/storage/PostgresPayloadStorageTest.java
Test Quality · No assertions: testIndexWorkflowOnlyStatusChange postgres-persistence/src/test/java/com/netflix/conductor/postgres/dao/PostgresIndexDAOStatusChangeOnlyTest.java
Test Quality · No assertions: testIndexExistingTask postgres-persistence/src/test/java/com/netflix/conductor/postgres/dao/PostgresIndexDAOTest.java
Test Quality · No assertions: testIndexExistingWorkflow postgres-persistence/src/test/java/com/netflix/conductor/postgres/dao/PostgresIndexDAOTest.java
Test Quality · No assertions: testIndexNewTask postgres-persistence/src/test/java/com/netflix/conductor/postgres/dao/PostgresIndexDAOTest.java
Test Quality · No assertions: testIndexNewWorkflow postgres-persistence/src/test/java/com/netflix/conductor/postgres/dao/PostgresIndexDAOTest.java
Test Quality · No assertions: testWhenTaskIsIndexedOutOfOrderOnlyLatestIsIndexed postgres-persistence/src/test/java/com/netflix/conductor/postgres/dao/PostgresIndexDAOTest.java
Test Quality · No assertions: testWhenTaskUpdatesHaveTheSameUpdateTimeTheLastIsIndexed postgres-persistence/src/test/java/com/netflix/conductor/postgres/dao/PostgresIndexDAOTest.java
Test Quality · No assertions: testWhenWorkflowIsIndexedOutOfOrderOnlyLatestIsIndexed postgres-persistence/src/test/java/com/netflix/conductor/postgres/dao/PostgresIndexDAOTest.java
Test Quality · No assertions: testWhenWorkflowUpdatesHaveTheSameUpdateTimeTheLastIsIndexed postgres-persistence/src/test/java/com/netflix/conductor/postgres/dao/PostgresIndexDAOTest.java
Test Quality · No assertions: testClientErrorsLoggedAtWarn rest/src/test/java/com/netflix/conductor/rest/controllers/ApplicationExceptionMapperTest.java
Test Quality · No assertions: testMethodNotSupportedMapsTo405 rest/src/test/java/com/netflix/conductor/rest/controllers/ApplicationExceptionMapperTest.java
Test Quality · No assertions: testSchemaValidationMapsTo400 rest/src/test/java/com/netflix/conductor/rest/controllers/ApplicationExceptionMapperTest.java
Test Quality · No assertions: testIndexExistingTask sqlite-persistence/src/test/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAOTest.java
Test Quality · No assertions: testIndexExistingWorkflow sqlite-persistence/src/test/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAOTest.java
Test Quality · No assertions: testIndexNewTask sqlite-persistence/src/test/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAOTest.java
Test Quality · No assertions: testIndexNewWorkflow sqlite-persistence/src/test/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAOTest.java
Test Quality · No assertions: testWhenTaskIsIndexedOutOfOrderOnlyLatestIsIndexed sqlite-persistence/src/test/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAOTest.java
Test Quality · No assertions: testWhenTaskUpdatesHaveTheSameUpdateTimeTheLastIsIndexed sqlite-persistence/src/test/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAOTest.java
Test Quality · No assertions: testWhenWorkflowIsIndexedOutOfOrderOnlyLatestIsIndexed sqlite-persistence/src/test/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAOTest.java
Test Quality · No assertions: testWhenWorkflowUpdatesHaveTheSameUpdateTimeTheLastIsIndexed sqlite-persistence/src/test/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAOTest.java
€140,000 to €720,000, for 2,403 to 7,624 hours of work, about 3.0 person-years for 1 to 6 engineers
Difficulty of the problem
Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write.
Quality factor
×0.7 at a score of 47. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it.
Size
Large: 283,093 lines of product code
How the estimate is made: Watchdog prices the hours a team would need to write this code again, at €60 to €95 an hour. Declarations and boilerplate are priced at a fast rate and logic at a slower one, and the logic is then multiplied by the difficulty of the problem and by the quality factor. The estimate can be about 30% off either way, and it moves most with the hourly rate and the difficulty. For this code, every line is priced as straight logic, which keeps the estimate on the low side.
Top priorities
The three actions that raise the score most for the work they take. The full ranked list is in the Roadmap.
1
Resolve the 3 Leaked secret finding(s) in Secret Scanning — start with REDACTED, REDACTED, REDACTED.
Raises the score by about 5 points · Low effort · Secret Scanning
2
Resolve the 5 No assertions (empty test) finding(s) in Test Quality — start with TestGroupedExpression.java (4), PostgresVectorDBTest.java.
Raises the score by about 3 points · Low effort · Test Quality
3
Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
Each conclusion below combines several dimensions into one point that no single dimension shows, and lists the measurements it rests on.
Where the investment is most exposed · Value at risk
This code would cost about €430,000 to build again, about 3.0 person-years of work. Its weakest lens is Accessibility, at 39 (Weak). Accessibility is about whether the interface is built so that everyone can use it, including people who can't see the screen or can't use a mouse. Because the weakest lens counts most in the score, work on Accessibility also moves the score most.
Based on: the rebuild estimate · the Accessibility grade · how much each lens counts
What to do: Start with the Accessibility actions in Top priorities.
If you do one thing first · First action
Resolve the 3 Leaked secret finding(s) in Secret Scanning. Of all the actions in this report, it raises the score most for the work it takes: about 5 points for low effort, because it clears the 3 Secret Scanning findings. The next survey will show the change in the score.
Based on: the ranked actions in Top priorities, by score gain and effort
What hard-to-read code costs each year · Cost
Four dimensions measure how easy the code is to work in: two measure how tangled its logic is, one how much of it is copied, and one how well each part sticks to a single job. In this codebase they average 7.1 out of 10. Code at that level is slower to change than clean code, and Watchdog estimates the extra work at 2% to 5% on every change. The history of the code shows how much it changes: about 92,413 lines over the last 90 days, which is about 374,786 lines a year. At that pace, the extra work comes to an estimated 21.3 to 128 engineer-days a year, and it grows as more code changes.
How this is estimated: The number of changed lines is measured from the history of the code. The rest rests on two assumptions of Watchdog's own: code scoring 8 out of 10 or more adds no extra work, and each point below 8 adds 2.5% to 5.6% to every change; and an engineer changes 150 to 400 lines in a day. The result is a range for planning, not a measurement.
Based on: Cyclomatic Complexity · Cognitive Complexity · Code Duplication · Cohesion (LCOM4) · the code's change history
What to do: Start with the files listed under Churn × Complexity Hotspots, which change often and are hard to read, because that is where the extra work is paid most often.
Architecture: which parts of the code depend on which
The code is divided into modules, groups of code that each handle one part of the product, and a module depends on another when it uses code from it. The table lists the modules both down the side and across the top, in an order where each module should only use modules listed above it. A number in a cell means the module on that row uses the module in that column, and it counts the pairs of building blocks (types) that connect them. The one thing to look for is a mark above the diagonal line. It means two or more modules use each other in a loop (a dependency cycle), so none of them can be changed, tested or released on its own.
828 modules, with 1287 dependencies between them. 13 loops run through 46 of the modules, marked above the diagonal.
The table shows the 40 modules with the most connections; 788 more are left out to keep it readable.
Which modules use which. The module on each row uses the module in each column, and the number counts the pairs of types that connect them. A cell above the diagonal is part of a loop.
com.netflix.conductor.common.metadata.workflow uses com.netflix.conductor.common.metadata, so a change to com.netflix.conductor.common.metadata can break com.netflix.conductor.common.metadata.workflow, while a change to com.netflix.conductor.common.metadata.workflow can't break com.netflix.conductor.common.metadata.
Position
Below the diagonal: com.netflix.conductor.common.metadata.workflow uses a module listed above it, which is the healthy direction.
6→11 com.netflix.conductor.common.metadata.workflow uses com.netflix.conductor.common.metadata.taskspart of a loop✕
Connections
2 pairs of types, where a type in com.netflix.conductor.common.metadata.workflow uses a type in com.netflix.conductor.common.metadata.tasks.
com.netflix.conductor.common.metadata.workflow uses com.netflix.conductor.common.metadata.tasks, so a change to com.netflix.conductor.common.metadata.tasks can break com.netflix.conductor.common.metadata.workflow, while a change to com.netflix.conductor.common.metadata.workflow can't break com.netflix.conductor.common.metadata.tasks.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
ui-next.src.pages.definition.EditorPanel.TaskFormTab.forms.types uses ui-next.e2e.integration.api-client, so a change to ui-next.e2e.integration.api-client can break ui-next.src.pages.definition.EditorPanel.TaskFormTab.forms.types, while a change to ui-next.src.pages.definition.EditorPanel.TaskFormTab.forms.types can't break ui-next.e2e.integration.api-client.
Position
Below the diagonal: ui-next.src.pages.definition.EditorPanel.TaskFormTab.forms.types uses a module listed above it, which is the healthy direction.
ui-next.src.pages.definition.state.types uses ui-next.e2e.integration.api-client, so a change to ui-next.e2e.integration.api-client can break ui-next.src.pages.definition.state.types, while a change to ui-next.src.pages.definition.state.types can't break ui-next.e2e.integration.api-client.
Position
Below the diagonal: ui-next.src.pages.definition.state.types uses a module listed above it, which is the healthy direction.
ui-next.src.types.Execution uses ui-next.e2e.integration.api-client, so a change to ui-next.e2e.integration.api-client can break ui-next.src.types.Execution, while a change to ui-next.src.types.Execution can't break ui-next.e2e.integration.api-client.
Position
Below the diagonal: ui-next.src.types.Execution uses a module listed above it, which is the healthy direction.
ui-next.src.types.TaskType uses ui-next.src.types.common, so a change to ui-next.src.types.common can break ui-next.src.types.TaskType, while a change to ui-next.src.types.TaskType can't break ui-next.src.types.common.
Position
Below the diagonal: ui-next.src.types.TaskType uses a module listed above it, which is the healthy direction.
com.netflix.conductor.common.metadata.tasks uses com.netflix.conductor.common.metadata, so a change to com.netflix.conductor.common.metadata can break com.netflix.conductor.common.metadata.tasks, while a change to com.netflix.conductor.common.metadata.tasks can't break com.netflix.conductor.common.metadata.
Position
Below the diagonal: com.netflix.conductor.common.metadata.tasks uses a module listed above it, which is the healthy direction.
com.netflix.conductor.common.metadata.tasks uses com.netflix.conductor.common.metadata.workflow, so a change to com.netflix.conductor.common.metadata.workflow can break com.netflix.conductor.common.metadata.tasks, while a change to com.netflix.conductor.common.metadata.tasks can't break com.netflix.conductor.common.metadata.workflow.
Position
Below the diagonal: com.netflix.conductor.common.metadata.tasks uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.ai.model uses com.netflix.conductor.common.metadata, so a change to com.netflix.conductor.common.metadata can break org.conductoross.conductor.ai.model, while a change to org.conductoross.conductor.ai.model can't break com.netflix.conductor.common.metadata.
Position
Below the diagonal: org.conductoross.conductor.ai.model uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.ai.model uses com.netflix.conductor.common.metadata.workflow, so a change to com.netflix.conductor.common.metadata.workflow can break org.conductoross.conductor.ai.model, while a change to org.conductoross.conductor.ai.model can't break com.netflix.conductor.common.metadata.workflow.
Position
Below the diagonal: org.conductoross.conductor.ai.model uses a module listed above it, which is the healthy direction.
ui-next.src.pages.execution.AgentExecution uses ui-next.e2e.integration.api-client, so a change to ui-next.e2e.integration.api-client can break ui-next.src.pages.execution.AgentExecution, while a change to ui-next.src.pages.execution.AgentExecution can't break ui-next.e2e.integration.api-client.
Position
Below the diagonal: ui-next.src.pages.execution.AgentExecution uses a module listed above it, which is the healthy direction.
ui-next.src.pages.execution.AgentExecution uses ui-next.src.types.Execution, so a change to ui-next.src.types.Execution can break ui-next.src.pages.execution.AgentExecution, while a change to ui-next.src.pages.execution.AgentExecution can't break ui-next.src.types.Execution.
Position
Below the diagonal: ui-next.src.pages.execution.AgentExecution uses a module listed above it, which is the healthy direction.
ui-next.src.utils uses ui-next.e2e.integration.api-client, so a change to ui-next.e2e.integration.api-client can break ui-next.src.utils, while a change to ui-next.src.utils can't break ui-next.e2e.integration.api-client.
Position
Below the diagonal: ui-next.src.utils uses a module listed above it, which is the healthy direction.
ui-next.src.utils uses ui-next.src.types.common, so a change to ui-next.src.types.common can break ui-next.src.utils, while a change to ui-next.src.utils can't break ui-next.src.types.common.
Position
Below the diagonal: ui-next.src.utils uses a module listed above it, which is the healthy direction.
ui-next.src.utils uses ui-next.src.types.TaskType, so a change to ui-next.src.types.TaskType can break ui-next.src.utils, while a change to ui-next.src.utils can't break ui-next.src.types.TaskType.
Position
Below the diagonal: ui-next.src.utils uses a module listed above it, which is the healthy direction.
com.netflix.conductor.common.run uses com.netflix.conductor.common.metadata, so a change to com.netflix.conductor.common.metadata can break com.netflix.conductor.common.run, while a change to com.netflix.conductor.common.run can't break com.netflix.conductor.common.metadata.
Position
Below the diagonal: com.netflix.conductor.common.run uses a module listed above it, which is the healthy direction.
com.netflix.conductor.common.run uses com.netflix.conductor.common.metadata.workflow, so a change to com.netflix.conductor.common.metadata.workflow can break com.netflix.conductor.common.run, while a change to com.netflix.conductor.common.run can't break com.netflix.conductor.common.metadata.workflow.
Position
Below the diagonal: com.netflix.conductor.common.run uses a module listed above it, which is the healthy direction.
com.netflix.conductor.common.run uses com.netflix.conductor.common.metadata.tasks, so a change to com.netflix.conductor.common.metadata.tasks can break com.netflix.conductor.common.run, while a change to com.netflix.conductor.common.run can't break com.netflix.conductor.common.metadata.tasks.
Position
Below the diagonal: com.netflix.conductor.common.run uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.ai uses com.netflix.conductor.common.metadata, so a change to com.netflix.conductor.common.metadata can break org.conductoross.conductor.ai, while a change to org.conductoross.conductor.ai can't break com.netflix.conductor.common.metadata.
Position
Below the diagonal: org.conductoross.conductor.ai uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.ai uses com.netflix.conductor.common.metadata.tasks, so a change to com.netflix.conductor.common.metadata.tasks can break org.conductoross.conductor.ai, while a change to org.conductoross.conductor.ai can't break com.netflix.conductor.common.metadata.tasks.
Position
Below the diagonal: org.conductoross.conductor.ai uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.ai uses org.conductoross.conductor.ai.model, so a change to org.conductoross.conductor.ai.model can break org.conductoross.conductor.ai, while a change to org.conductoross.conductor.ai can't break org.conductoross.conductor.ai.model.
Position
Below the diagonal: org.conductoross.conductor.ai uses a module listed above it, which is the healthy direction.
com.netflix.conductor.common.utils uses com.netflix.conductor.common.metadata.workflow, so a change to com.netflix.conductor.common.metadata.workflow can break com.netflix.conductor.common.utils, while a change to com.netflix.conductor.common.utils can't break com.netflix.conductor.common.metadata.workflow.
Position
Below the diagonal: com.netflix.conductor.common.utils uses a module listed above it, which is the healthy direction.
com.netflix.conductor.common.utils uses com.netflix.conductor.common.run, so a change to com.netflix.conductor.common.run can break com.netflix.conductor.common.utils, while a change to com.netflix.conductor.common.utils can't break com.netflix.conductor.common.run.
Position
Below the diagonal: com.netflix.conductor.common.utils uses a module listed above it, which is the healthy direction.
com.netflix.conductor.model uses com.netflix.conductor.common.metadata.workflow, so a change to com.netflix.conductor.common.metadata.workflow can break com.netflix.conductor.model, while a change to com.netflix.conductor.model can't break com.netflix.conductor.common.metadata.workflow.
Position
Below the diagonal: com.netflix.conductor.model uses a module listed above it, which is the healthy direction.
com.netflix.conductor.model uses com.netflix.conductor.common.metadata.tasks, so a change to com.netflix.conductor.common.metadata.tasks can break com.netflix.conductor.model, while a change to com.netflix.conductor.model can't break com.netflix.conductor.common.metadata.tasks.
Position
Below the diagonal: com.netflix.conductor.model uses a module listed above it, which is the healthy direction.
com.netflix.conductor.model uses com.netflix.conductor.common.run, so a change to com.netflix.conductor.common.run can break com.netflix.conductor.model, while a change to com.netflix.conductor.model can't break com.netflix.conductor.common.run.
Position
Below the diagonal: com.netflix.conductor.model uses a module listed above it, which is the healthy direction.
io.orkes.conductor.dao.archive uses com.netflix.conductor.common.run, so a change to com.netflix.conductor.common.run can break io.orkes.conductor.dao.archive, while a change to io.orkes.conductor.dao.archive can't break com.netflix.conductor.common.run.
Position
Below the diagonal: io.orkes.conductor.dao.archive uses a module listed above it, which is the healthy direction.
io.orkes.conductor.dao.scheduler uses com.netflix.conductor.common.run, so a change to com.netflix.conductor.common.run can break io.orkes.conductor.dao.scheduler, while a change to io.orkes.conductor.dao.scheduler can't break com.netflix.conductor.common.run.
Position
Below the diagonal: io.orkes.conductor.dao.scheduler uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.model uses org.conductoross.conductor.model.file, so a change to org.conductoross.conductor.model.file can break org.conductoross.conductor.model, while a change to org.conductoross.conductor.model can't break org.conductoross.conductor.model.file.
Position
Below the diagonal: org.conductoross.conductor.model uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.model uses com.netflix.conductor.common.metadata.tasks, so a change to com.netflix.conductor.common.metadata.tasks can break org.conductoross.conductor.model, while a change to org.conductoross.conductor.model can't break com.netflix.conductor.common.metadata.tasks.
Position
Below the diagonal: org.conductoross.conductor.model uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.model uses com.netflix.conductor.common.run, so a change to com.netflix.conductor.common.run can break org.conductoross.conductor.model, while a change to org.conductoross.conductor.model can't break com.netflix.conductor.common.run.
Position
Below the diagonal: org.conductoross.conductor.model uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.dao uses org.conductoross.conductor.model.file, so a change to org.conductoross.conductor.model.file can break org.conductoross.conductor.dao, while a change to org.conductoross.conductor.dao can't break org.conductoross.conductor.model.file.
Position
Below the diagonal: org.conductoross.conductor.dao uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.dao uses org.conductoross.conductor.model, so a change to org.conductoross.conductor.model can break org.conductoross.conductor.dao, while a change to org.conductoross.conductor.dao can't break org.conductoross.conductor.model.
Position
Below the diagonal: org.conductoross.conductor.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.utils uses com.netflix.conductor.common.metadata.workflow, so a change to com.netflix.conductor.common.metadata.workflow can break com.netflix.conductor.core.utils, while a change to com.netflix.conductor.core.utils can't break com.netflix.conductor.common.metadata.workflow.
Position
Below the diagonal: com.netflix.conductor.core.utils uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.utils uses com.netflix.conductor.common.metadata.tasks, so a change to com.netflix.conductor.common.metadata.tasks can break com.netflix.conductor.core.utils, while a change to com.netflix.conductor.core.utils can't break com.netflix.conductor.common.metadata.tasks.
Position
Below the diagonal: com.netflix.conductor.core.utils uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.utils uses com.netflix.conductor.common.utils, so a change to com.netflix.conductor.common.utils can break com.netflix.conductor.core.utils, while a change to com.netflix.conductor.core.utils can't break com.netflix.conductor.common.utils.
Position
Below the diagonal: com.netflix.conductor.core.utils uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.utils uses com.netflix.conductor.model, so a change to com.netflix.conductor.model can break com.netflix.conductor.core.utils, while a change to com.netflix.conductor.core.utils can't break com.netflix.conductor.model.
Position
Below the diagonal: com.netflix.conductor.core.utils uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.utils uses org.conductoross.conductor.dao, so a change to org.conductoross.conductor.dao can break com.netflix.conductor.core.utils, while a change to com.netflix.conductor.core.utils can't break org.conductoross.conductor.dao.
Position
Below the diagonal: com.netflix.conductor.core.utils uses a module listed above it, which is the healthy direction.
23→30 com.netflix.conductor.core.utils uses com.netflix.conductor.core.configpart of a loop✕
Connections
1 pair of types, where a type in com.netflix.conductor.core.utils uses a type in com.netflix.conductor.core.config.
com.netflix.conductor.core.utils uses com.netflix.conductor.core.config, so a change to com.netflix.conductor.core.config can break com.netflix.conductor.core.utils, while a change to com.netflix.conductor.core.utils can't break com.netflix.conductor.core.config.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
23→32 com.netflix.conductor.core.utils uses com.netflix.conductor.daopart of a loop✕
Connections
1 pair of types, where a type in com.netflix.conductor.core.utils uses a type in com.netflix.conductor.dao.
com.netflix.conductor.core.utils uses com.netflix.conductor.dao, so a change to com.netflix.conductor.dao can break com.netflix.conductor.core.utils, while a change to com.netflix.conductor.core.utils can't break com.netflix.conductor.dao.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
com.netflix.conductor.core.dal uses com.netflix.conductor.common.metadata.events, so a change to com.netflix.conductor.common.metadata.events can break com.netflix.conductor.core.dal, while a change to com.netflix.conductor.core.dal can't break com.netflix.conductor.common.metadata.events.
Position
Below the diagonal: com.netflix.conductor.core.dal uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.dal uses com.netflix.conductor.common.metadata.tasks, so a change to com.netflix.conductor.common.metadata.tasks can break com.netflix.conductor.core.dal, while a change to com.netflix.conductor.core.dal can't break com.netflix.conductor.common.metadata.tasks.
Position
Below the diagonal: com.netflix.conductor.core.dal uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.dal uses com.netflix.conductor.common.run, so a change to com.netflix.conductor.common.run can break com.netflix.conductor.core.dal, while a change to com.netflix.conductor.core.dal can't break com.netflix.conductor.common.run.
Position
Below the diagonal: com.netflix.conductor.core.dal uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.dal uses com.netflix.conductor.model, so a change to com.netflix.conductor.model can break com.netflix.conductor.core.dal, while a change to com.netflix.conductor.core.dal can't break com.netflix.conductor.model.
Position
Below the diagonal: com.netflix.conductor.core.dal uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.dal uses com.netflix.conductor.core.utils, so a change to com.netflix.conductor.core.utils can break com.netflix.conductor.core.dal, while a change to com.netflix.conductor.core.dal can't break com.netflix.conductor.core.utils.
Position
Below the diagonal: com.netflix.conductor.core.dal uses a module listed above it, which is the healthy direction.
24→30 com.netflix.conductor.core.dal uses com.netflix.conductor.core.configpart of a loop✕
Connections
1 pair of types, where a type in com.netflix.conductor.core.dal uses a type in com.netflix.conductor.core.config.
com.netflix.conductor.core.dal uses com.netflix.conductor.core.config, so a change to com.netflix.conductor.core.config can break com.netflix.conductor.core.dal, while a change to com.netflix.conductor.core.dal can't break com.netflix.conductor.core.config.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
24→31 com.netflix.conductor.core.dal uses com.netflix.conductor.core.events.queuepart of a loop✕
Connections
1 pair of types, where a type in com.netflix.conductor.core.dal uses a type in com.netflix.conductor.core.events.queue.
com.netflix.conductor.core.dal uses com.netflix.conductor.core.events.queue, so a change to com.netflix.conductor.core.events.queue can break com.netflix.conductor.core.dal, while a change to com.netflix.conductor.core.dal can't break com.netflix.conductor.core.events.queue.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
24→32 com.netflix.conductor.core.dal uses com.netflix.conductor.daopart of a loop✕
Connections
6 pairs of types, where a type in com.netflix.conductor.core.dal uses a type in com.netflix.conductor.dao.
com.netflix.conductor.core.dal uses com.netflix.conductor.dao, so a change to com.netflix.conductor.dao can break com.netflix.conductor.core.dal, while a change to com.netflix.conductor.core.dal can't break com.netflix.conductor.dao.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
com.netflix.conductor.service uses com.netflix.conductor.common.metadata.events, so a change to com.netflix.conductor.common.metadata.events can break com.netflix.conductor.service, while a change to com.netflix.conductor.service can't break com.netflix.conductor.common.metadata.events.
Position
Below the diagonal: com.netflix.conductor.service uses a module listed above it, which is the healthy direction.
com.netflix.conductor.service uses com.netflix.conductor.common.metadata.workflow, so a change to com.netflix.conductor.common.metadata.workflow can break com.netflix.conductor.service, while a change to com.netflix.conductor.service can't break com.netflix.conductor.common.metadata.workflow.
Position
Below the diagonal: com.netflix.conductor.service uses a module listed above it, which is the healthy direction.
com.netflix.conductor.service uses com.netflix.conductor.common.metadata.tasks, so a change to com.netflix.conductor.common.metadata.tasks can break com.netflix.conductor.service, while a change to com.netflix.conductor.service can't break com.netflix.conductor.common.metadata.tasks.
Position
Below the diagonal: com.netflix.conductor.service uses a module listed above it, which is the healthy direction.
com.netflix.conductor.service uses com.netflix.conductor.common.run, so a change to com.netflix.conductor.common.run can break com.netflix.conductor.service, while a change to com.netflix.conductor.service can't break com.netflix.conductor.common.run.
Position
Below the diagonal: com.netflix.conductor.service uses a module listed above it, which is the healthy direction.
com.netflix.conductor.service uses com.netflix.conductor.common.utils, so a change to com.netflix.conductor.common.utils can break com.netflix.conductor.service, while a change to com.netflix.conductor.service can't break com.netflix.conductor.common.utils.
Position
Below the diagonal: com.netflix.conductor.service uses a module listed above it, which is the healthy direction.
com.netflix.conductor.service uses com.netflix.conductor.model, so a change to com.netflix.conductor.model can break com.netflix.conductor.service, while a change to com.netflix.conductor.service can't break com.netflix.conductor.model.
Position
Below the diagonal: com.netflix.conductor.service uses a module listed above it, which is the healthy direction.
com.netflix.conductor.service uses com.netflix.conductor.core.utils, so a change to com.netflix.conductor.core.utils can break com.netflix.conductor.service, while a change to com.netflix.conductor.service can't break com.netflix.conductor.core.utils.
Position
Below the diagonal: com.netflix.conductor.service uses a module listed above it, which is the healthy direction.
com.netflix.conductor.service uses com.netflix.conductor.core.dal, so a change to com.netflix.conductor.core.dal can break com.netflix.conductor.service, while a change to com.netflix.conductor.service can't break com.netflix.conductor.core.dal.
Position
Below the diagonal: com.netflix.conductor.service uses a module listed above it, which is the healthy direction.
25→26 com.netflix.conductor.service uses com.netflix.conductor.core.execution.taskspart of a loop✕
Connections
1 pair of types, where a type in com.netflix.conductor.service uses a type in com.netflix.conductor.core.execution.tasks.
com.netflix.conductor.service uses com.netflix.conductor.core.execution.tasks, so a change to com.netflix.conductor.core.execution.tasks can break com.netflix.conductor.service, while a change to com.netflix.conductor.service can't break com.netflix.conductor.core.execution.tasks.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
25→28 com.netflix.conductor.service uses com.netflix.conductor.core.executionpart of a loop✕
Connections
3 pairs of types, where a type in com.netflix.conductor.service uses a type in com.netflix.conductor.core.execution.
com.netflix.conductor.service uses com.netflix.conductor.core.execution, so a change to com.netflix.conductor.core.execution can break com.netflix.conductor.service, while a change to com.netflix.conductor.service can't break com.netflix.conductor.core.execution.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
25→29 com.netflix.conductor.service uses com.netflix.conductor.core.eventspart of a loop✕
Connections
2 pairs of types, where a type in com.netflix.conductor.service uses a type in com.netflix.conductor.core.events.
com.netflix.conductor.service uses com.netflix.conductor.core.events, so a change to com.netflix.conductor.core.events can break com.netflix.conductor.service, while a change to com.netflix.conductor.service can't break com.netflix.conductor.core.events.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
25→30 com.netflix.conductor.service uses com.netflix.conductor.core.configpart of a loop✕
Connections
4 pairs of types, where a type in com.netflix.conductor.service uses a type in com.netflix.conductor.core.config.
com.netflix.conductor.service uses com.netflix.conductor.core.config, so a change to com.netflix.conductor.core.config can break com.netflix.conductor.service, while a change to com.netflix.conductor.service can't break com.netflix.conductor.core.config.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
25→31 com.netflix.conductor.service uses com.netflix.conductor.core.events.queuepart of a loop✕
Connections
1 pair of types, where a type in com.netflix.conductor.service uses a type in com.netflix.conductor.core.events.queue.
com.netflix.conductor.service uses com.netflix.conductor.core.events.queue, so a change to com.netflix.conductor.core.events.queue can break com.netflix.conductor.service, while a change to com.netflix.conductor.service can't break com.netflix.conductor.core.events.queue.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
25→32 com.netflix.conductor.service uses com.netflix.conductor.daopart of a loop✕
Connections
6 pairs of types, where a type in com.netflix.conductor.service uses a type in com.netflix.conductor.dao.
com.netflix.conductor.service uses com.netflix.conductor.dao, so a change to com.netflix.conductor.dao can break com.netflix.conductor.service, while a change to com.netflix.conductor.service can't break com.netflix.conductor.dao.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
com.netflix.conductor.core.execution.tasks uses com.netflix.conductor.common.metadata.workflow, so a change to com.netflix.conductor.common.metadata.workflow can break com.netflix.conductor.core.execution.tasks, while a change to com.netflix.conductor.core.execution.tasks can't break com.netflix.conductor.common.metadata.workflow.
Position
Below the diagonal: com.netflix.conductor.core.execution.tasks uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.execution.tasks uses com.netflix.conductor.common.metadata.tasks, so a change to com.netflix.conductor.common.metadata.tasks can break com.netflix.conductor.core.execution.tasks, while a change to com.netflix.conductor.core.execution.tasks can't break com.netflix.conductor.common.metadata.tasks.
Position
Below the diagonal: com.netflix.conductor.core.execution.tasks uses a module listed above it, which is the healthy direction.
35 pairs of types, where a type in com.netflix.conductor.core.execution.tasks uses a type in com.netflix.conductor.model. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
com.netflix.conductor.core.execution.tasks uses com.netflix.conductor.model, so a change to com.netflix.conductor.model can break com.netflix.conductor.core.execution.tasks, while a change to com.netflix.conductor.core.execution.tasks can't break com.netflix.conductor.model.
Position
Below the diagonal: com.netflix.conductor.core.execution.tasks uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.execution.tasks uses com.netflix.conductor.core.utils, so a change to com.netflix.conductor.core.utils can break com.netflix.conductor.core.execution.tasks, while a change to com.netflix.conductor.core.execution.tasks can't break com.netflix.conductor.core.utils.
Position
Below the diagonal: com.netflix.conductor.core.execution.tasks uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.execution.tasks uses com.netflix.conductor.core.dal, so a change to com.netflix.conductor.core.dal can break com.netflix.conductor.core.execution.tasks, while a change to com.netflix.conductor.core.execution.tasks can't break com.netflix.conductor.core.dal.
Position
Below the diagonal: com.netflix.conductor.core.execution.tasks uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.execution.tasks uses com.netflix.conductor.service, so a change to com.netflix.conductor.service can break com.netflix.conductor.core.execution.tasks, while a change to com.netflix.conductor.core.execution.tasks can't break com.netflix.conductor.service.
Position
Below the diagonal: com.netflix.conductor.core.execution.tasks uses a module listed above it, which is the healthy direction.
26→28 com.netflix.conductor.core.execution.tasks uses com.netflix.conductor.core.executionpart of a loop✕
Connections
18 pairs of types, where a type in com.netflix.conductor.core.execution.tasks uses a type in com.netflix.conductor.core.execution.
com.netflix.conductor.core.execution.tasks uses com.netflix.conductor.core.execution, so a change to com.netflix.conductor.core.execution can break com.netflix.conductor.core.execution.tasks, while a change to com.netflix.conductor.core.execution.tasks can't break com.netflix.conductor.core.execution.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
26→29 com.netflix.conductor.core.execution.tasks uses com.netflix.conductor.core.eventspart of a loop✕
Connections
1 pair of types, where a type in com.netflix.conductor.core.execution.tasks uses a type in com.netflix.conductor.core.events.
com.netflix.conductor.core.execution.tasks uses com.netflix.conductor.core.events, so a change to com.netflix.conductor.core.events can break com.netflix.conductor.core.execution.tasks, while a change to com.netflix.conductor.core.execution.tasks can't break com.netflix.conductor.core.events.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
26→30 com.netflix.conductor.core.execution.tasks uses com.netflix.conductor.core.configpart of a loop✕
Connections
6 pairs of types, where a type in com.netflix.conductor.core.execution.tasks uses a type in com.netflix.conductor.core.config.
com.netflix.conductor.core.execution.tasks uses com.netflix.conductor.core.config, so a change to com.netflix.conductor.core.config can break com.netflix.conductor.core.execution.tasks, while a change to com.netflix.conductor.core.execution.tasks can't break com.netflix.conductor.core.config.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
26→31 com.netflix.conductor.core.execution.tasks uses com.netflix.conductor.core.events.queuepart of a loop✕
Connections
2 pairs of types, where a type in com.netflix.conductor.core.execution.tasks uses a type in com.netflix.conductor.core.events.queue.
com.netflix.conductor.core.execution.tasks uses com.netflix.conductor.core.events.queue, so a change to com.netflix.conductor.core.events.queue can break com.netflix.conductor.core.execution.tasks, while a change to com.netflix.conductor.core.execution.tasks can't break com.netflix.conductor.core.events.queue.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
26→32 com.netflix.conductor.core.execution.tasks uses com.netflix.conductor.daopart of a loop✕
Connections
2 pairs of types, where a type in com.netflix.conductor.core.execution.tasks uses a type in com.netflix.conductor.dao.
com.netflix.conductor.core.execution.tasks uses com.netflix.conductor.dao, so a change to com.netflix.conductor.dao can break com.netflix.conductor.core.execution.tasks, while a change to com.netflix.conductor.core.execution.tasks can't break com.netflix.conductor.dao.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
com.netflix.conductor.core.execution.mapper uses com.netflix.conductor.common.metadata.workflow, so a change to com.netflix.conductor.common.metadata.workflow can break com.netflix.conductor.core.execution.mapper, while a change to com.netflix.conductor.core.execution.mapper can't break com.netflix.conductor.common.metadata.workflow.
Position
Below the diagonal: com.netflix.conductor.core.execution.mapper uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.execution.mapper uses com.netflix.conductor.common.metadata.tasks, so a change to com.netflix.conductor.common.metadata.tasks can break com.netflix.conductor.core.execution.mapper, while a change to com.netflix.conductor.core.execution.mapper can't break com.netflix.conductor.common.metadata.tasks.
Position
Below the diagonal: com.netflix.conductor.core.execution.mapper uses a module listed above it, which is the healthy direction.
30 pairs of types, where a type in com.netflix.conductor.core.execution.mapper uses a type in com.netflix.conductor.model. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
com.netflix.conductor.core.execution.mapper uses com.netflix.conductor.model, so a change to com.netflix.conductor.model can break com.netflix.conductor.core.execution.mapper, while a change to com.netflix.conductor.core.execution.mapper can't break com.netflix.conductor.model.
Position
Below the diagonal: com.netflix.conductor.core.execution.mapper uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.execution.mapper uses com.netflix.conductor.core.utils, so a change to com.netflix.conductor.core.utils can break com.netflix.conductor.core.execution.mapper, while a change to com.netflix.conductor.core.execution.mapper can't break com.netflix.conductor.core.utils.
Position
Below the diagonal: com.netflix.conductor.core.execution.mapper uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.execution.mapper uses com.netflix.conductor.core.execution.tasks, so a change to com.netflix.conductor.core.execution.tasks can break com.netflix.conductor.core.execution.mapper, while a change to com.netflix.conductor.core.execution.mapper can't break com.netflix.conductor.core.execution.tasks.
Position
Below the diagonal: com.netflix.conductor.core.execution.mapper uses a module listed above it, which is the healthy direction.
27→28 com.netflix.conductor.core.execution.mapper uses com.netflix.conductor.core.executionpart of a loop✕
Connections
2 pairs of types, where a type in com.netflix.conductor.core.execution.mapper uses a type in com.netflix.conductor.core.execution.
com.netflix.conductor.core.execution.mapper uses com.netflix.conductor.core.execution, so a change to com.netflix.conductor.core.execution can break com.netflix.conductor.core.execution.mapper, while a change to com.netflix.conductor.core.execution.mapper can't break com.netflix.conductor.core.execution.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
27→32 com.netflix.conductor.core.execution.mapper uses com.netflix.conductor.daopart of a loop✕
Connections
10 pairs of types, where a type in com.netflix.conductor.core.execution.mapper uses a type in com.netflix.conductor.dao.
com.netflix.conductor.core.execution.mapper uses com.netflix.conductor.dao, so a change to com.netflix.conductor.dao can break com.netflix.conductor.core.execution.mapper, while a change to com.netflix.conductor.core.execution.mapper can't break com.netflix.conductor.dao.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
com.netflix.conductor.core.execution uses com.netflix.conductor.common.metadata, so a change to com.netflix.conductor.common.metadata can break com.netflix.conductor.core.execution, while a change to com.netflix.conductor.core.execution can't break com.netflix.conductor.common.metadata.
Position
Below the diagonal: com.netflix.conductor.core.execution uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.execution uses com.netflix.conductor.common.metadata.workflow, so a change to com.netflix.conductor.common.metadata.workflow can break com.netflix.conductor.core.execution, while a change to com.netflix.conductor.core.execution can't break com.netflix.conductor.common.metadata.workflow.
Position
Below the diagonal: com.netflix.conductor.core.execution uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.execution uses com.netflix.conductor.common.metadata.tasks, so a change to com.netflix.conductor.common.metadata.tasks can break com.netflix.conductor.core.execution, while a change to com.netflix.conductor.core.execution can't break com.netflix.conductor.common.metadata.tasks.
Position
Below the diagonal: com.netflix.conductor.core.execution uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.execution uses com.netflix.conductor.common.run, so a change to com.netflix.conductor.common.run can break com.netflix.conductor.core.execution, while a change to com.netflix.conductor.core.execution can't break com.netflix.conductor.common.run.
Position
Below the diagonal: com.netflix.conductor.core.execution uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.execution uses com.netflix.conductor.model, so a change to com.netflix.conductor.model can break com.netflix.conductor.core.execution, while a change to com.netflix.conductor.core.execution can't break com.netflix.conductor.model.
Position
Below the diagonal: com.netflix.conductor.core.execution uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.execution uses org.conductoross.conductor.model, so a change to org.conductoross.conductor.model can break com.netflix.conductor.core.execution, while a change to com.netflix.conductor.core.execution can't break org.conductoross.conductor.model.
Position
Below the diagonal: com.netflix.conductor.core.execution uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.execution uses com.netflix.conductor.core.utils, so a change to com.netflix.conductor.core.utils can break com.netflix.conductor.core.execution, while a change to com.netflix.conductor.core.execution can't break com.netflix.conductor.core.utils.
Position
Below the diagonal: com.netflix.conductor.core.execution uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.execution uses com.netflix.conductor.core.dal, so a change to com.netflix.conductor.core.dal can break com.netflix.conductor.core.execution, while a change to com.netflix.conductor.core.execution can't break com.netflix.conductor.core.dal.
Position
Below the diagonal: com.netflix.conductor.core.execution uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.execution uses com.netflix.conductor.service, so a change to com.netflix.conductor.service can break com.netflix.conductor.core.execution, while a change to com.netflix.conductor.core.execution can't break com.netflix.conductor.service.
Position
Below the diagonal: com.netflix.conductor.core.execution uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.execution uses com.netflix.conductor.core.execution.tasks, so a change to com.netflix.conductor.core.execution.tasks can break com.netflix.conductor.core.execution, while a change to com.netflix.conductor.core.execution can't break com.netflix.conductor.core.execution.tasks.
Position
Below the diagonal: com.netflix.conductor.core.execution uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.execution uses com.netflix.conductor.core.execution.mapper, so a change to com.netflix.conductor.core.execution.mapper can break com.netflix.conductor.core.execution, while a change to com.netflix.conductor.core.execution can't break com.netflix.conductor.core.execution.mapper.
Position
Below the diagonal: com.netflix.conductor.core.execution uses a module listed above it, which is the healthy direction.
28→30 com.netflix.conductor.core.execution uses com.netflix.conductor.core.configpart of a loop✕
Connections
2 pairs of types, where a type in com.netflix.conductor.core.execution uses a type in com.netflix.conductor.core.config.
com.netflix.conductor.core.execution uses com.netflix.conductor.core.config, so a change to com.netflix.conductor.core.config can break com.netflix.conductor.core.execution, while a change to com.netflix.conductor.core.execution can't break com.netflix.conductor.core.config.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
28→32 com.netflix.conductor.core.execution uses com.netflix.conductor.daopart of a loop✕
Connections
6 pairs of types, where a type in com.netflix.conductor.core.execution uses a type in com.netflix.conductor.dao.
com.netflix.conductor.core.execution uses com.netflix.conductor.dao, so a change to com.netflix.conductor.dao can break com.netflix.conductor.core.execution, while a change to com.netflix.conductor.core.execution can't break com.netflix.conductor.dao.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
com.netflix.conductor.core.events uses com.netflix.conductor.common.metadata.events, so a change to com.netflix.conductor.common.metadata.events can break com.netflix.conductor.core.events, while a change to com.netflix.conductor.core.events can't break com.netflix.conductor.common.metadata.events.
Position
Below the diagonal: com.netflix.conductor.core.events uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.events uses com.netflix.conductor.model, so a change to com.netflix.conductor.model can break com.netflix.conductor.core.events, while a change to com.netflix.conductor.core.events can't break com.netflix.conductor.model.
Position
Below the diagonal: com.netflix.conductor.core.events uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.events uses com.netflix.conductor.core.utils, so a change to com.netflix.conductor.core.utils can break com.netflix.conductor.core.events, while a change to com.netflix.conductor.core.events can't break com.netflix.conductor.core.utils.
Position
Below the diagonal: com.netflix.conductor.core.events uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.events uses com.netflix.conductor.service, so a change to com.netflix.conductor.service can break com.netflix.conductor.core.events, while a change to com.netflix.conductor.core.events can't break com.netflix.conductor.service.
Position
Below the diagonal: com.netflix.conductor.core.events uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.events uses com.netflix.conductor.core.execution, so a change to com.netflix.conductor.core.execution can break com.netflix.conductor.core.events, while a change to com.netflix.conductor.core.events can't break com.netflix.conductor.core.execution.
Position
Below the diagonal: com.netflix.conductor.core.events uses a module listed above it, which is the healthy direction.
29→30 com.netflix.conductor.core.events uses com.netflix.conductor.core.configpart of a loop✕
Connections
1 pair of types, where a type in com.netflix.conductor.core.events uses a type in com.netflix.conductor.core.config.
com.netflix.conductor.core.events uses com.netflix.conductor.core.config, so a change to com.netflix.conductor.core.config can break com.netflix.conductor.core.events, while a change to com.netflix.conductor.core.events can't break com.netflix.conductor.core.config.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
29→31 com.netflix.conductor.core.events uses com.netflix.conductor.core.events.queuepart of a loop✕
Connections
5 pairs of types, where a type in com.netflix.conductor.core.events uses a type in com.netflix.conductor.core.events.queue.
com.netflix.conductor.core.events uses com.netflix.conductor.core.events.queue, so a change to com.netflix.conductor.core.events.queue can break com.netflix.conductor.core.events, while a change to com.netflix.conductor.core.events can't break com.netflix.conductor.core.events.queue.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
29→32 com.netflix.conductor.core.events uses com.netflix.conductor.daopart of a loop✕
Connections
1 pair of types, where a type in com.netflix.conductor.core.events uses a type in com.netflix.conductor.dao.
com.netflix.conductor.core.events uses com.netflix.conductor.dao, so a change to com.netflix.conductor.dao can break com.netflix.conductor.core.events, while a change to com.netflix.conductor.core.events can't break com.netflix.conductor.dao.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
com.netflix.conductor.core.config uses com.netflix.conductor.common.utils, so a change to com.netflix.conductor.common.utils can break com.netflix.conductor.core.config, while a change to com.netflix.conductor.core.config can't break com.netflix.conductor.common.utils.
Position
Below the diagonal: com.netflix.conductor.core.config uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.config uses com.netflix.conductor.core.utils, so a change to com.netflix.conductor.core.utils can break com.netflix.conductor.core.config, while a change to com.netflix.conductor.core.config can't break com.netflix.conductor.core.utils.
Position
Below the diagonal: com.netflix.conductor.core.config uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.config uses com.netflix.conductor.core.execution.tasks, so a change to com.netflix.conductor.core.execution.tasks can break com.netflix.conductor.core.config, while a change to com.netflix.conductor.core.config can't break com.netflix.conductor.core.execution.tasks.
Position
Below the diagonal: com.netflix.conductor.core.config uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.config uses com.netflix.conductor.core.execution.mapper, so a change to com.netflix.conductor.core.execution.mapper can break com.netflix.conductor.core.config, while a change to com.netflix.conductor.core.config can't break com.netflix.conductor.core.execution.mapper.
Position
Below the diagonal: com.netflix.conductor.core.config uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.config uses com.netflix.conductor.core.events, so a change to com.netflix.conductor.core.events can break com.netflix.conductor.core.config, while a change to com.netflix.conductor.core.config can't break com.netflix.conductor.core.events.
Position
Below the diagonal: com.netflix.conductor.core.config uses a module listed above it, which is the healthy direction.
30→32 com.netflix.conductor.core.config uses com.netflix.conductor.daopart of a loop✕
Connections
1 pair of types, where a type in com.netflix.conductor.core.config uses a type in com.netflix.conductor.dao.
com.netflix.conductor.core.config uses com.netflix.conductor.dao, so a change to com.netflix.conductor.dao can break com.netflix.conductor.core.config, while a change to com.netflix.conductor.core.config can't break com.netflix.conductor.dao.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
com.netflix.conductor.core.events.queue uses com.netflix.conductor.model, so a change to com.netflix.conductor.model can break com.netflix.conductor.core.events.queue, while a change to com.netflix.conductor.core.events.queue can't break com.netflix.conductor.model.
Position
Below the diagonal: com.netflix.conductor.core.events.queue uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.events.queue uses com.netflix.conductor.core.execution, so a change to com.netflix.conductor.core.execution can break com.netflix.conductor.core.events.queue, while a change to com.netflix.conductor.core.events.queue can't break com.netflix.conductor.core.execution.
Position
Below the diagonal: com.netflix.conductor.core.events.queue uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.events.queue uses com.netflix.conductor.core.events, so a change to com.netflix.conductor.core.events can break com.netflix.conductor.core.events.queue, while a change to com.netflix.conductor.core.events.queue can't break com.netflix.conductor.core.events.
Position
Below the diagonal: com.netflix.conductor.core.events.queue uses a module listed above it, which is the healthy direction.
com.netflix.conductor.core.events.queue uses com.netflix.conductor.core.config, so a change to com.netflix.conductor.core.config can break com.netflix.conductor.core.events.queue, while a change to com.netflix.conductor.core.events.queue can't break com.netflix.conductor.core.config.
Position
Below the diagonal: com.netflix.conductor.core.events.queue uses a module listed above it, which is the healthy direction.
31→32 com.netflix.conductor.core.events.queue uses com.netflix.conductor.daopart of a loop✕
Connections
2 pairs of types, where a type in com.netflix.conductor.core.events.queue uses a type in com.netflix.conductor.dao.
com.netflix.conductor.core.events.queue uses com.netflix.conductor.dao, so a change to com.netflix.conductor.dao can break com.netflix.conductor.core.events.queue, while a change to com.netflix.conductor.core.events.queue can't break com.netflix.conductor.dao.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
com.netflix.conductor.dao uses com.netflix.conductor.common.metadata, so a change to com.netflix.conductor.common.metadata can break com.netflix.conductor.dao, while a change to com.netflix.conductor.dao can't break com.netflix.conductor.common.metadata.
Position
Below the diagonal: com.netflix.conductor.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.dao uses com.netflix.conductor.common.metadata.events, so a change to com.netflix.conductor.common.metadata.events can break com.netflix.conductor.dao, while a change to com.netflix.conductor.dao can't break com.netflix.conductor.common.metadata.events.
Position
Below the diagonal: com.netflix.conductor.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.dao uses com.netflix.conductor.common.metadata.workflow, so a change to com.netflix.conductor.common.metadata.workflow can break com.netflix.conductor.dao, while a change to com.netflix.conductor.dao can't break com.netflix.conductor.common.metadata.workflow.
Position
Below the diagonal: com.netflix.conductor.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.dao uses com.netflix.conductor.common.metadata.tasks, so a change to com.netflix.conductor.common.metadata.tasks can break com.netflix.conductor.dao, while a change to com.netflix.conductor.dao can't break com.netflix.conductor.common.metadata.tasks.
Position
Below the diagonal: com.netflix.conductor.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.dao uses com.netflix.conductor.common.run, so a change to com.netflix.conductor.common.run can break com.netflix.conductor.dao, while a change to com.netflix.conductor.dao can't break com.netflix.conductor.common.run.
Position
Below the diagonal: com.netflix.conductor.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.dao uses com.netflix.conductor.model, so a change to com.netflix.conductor.model can break com.netflix.conductor.dao, while a change to com.netflix.conductor.dao can't break com.netflix.conductor.model.
Position
Below the diagonal: com.netflix.conductor.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.dao uses com.netflix.conductor.core.events.queue, so a change to com.netflix.conductor.core.events.queue can break com.netflix.conductor.dao, while a change to com.netflix.conductor.dao can't break com.netflix.conductor.core.events.queue.
Position
Below the diagonal: com.netflix.conductor.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.cassandra.dao uses com.netflix.conductor.common.metadata.events, so a change to com.netflix.conductor.common.metadata.events can break com.netflix.conductor.cassandra.dao, while a change to com.netflix.conductor.cassandra.dao can't break com.netflix.conductor.common.metadata.events.
Position
Below the diagonal: com.netflix.conductor.cassandra.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.cassandra.dao uses org.conductoross.conductor.model.file, so a change to org.conductoross.conductor.model.file can break com.netflix.conductor.cassandra.dao, while a change to com.netflix.conductor.cassandra.dao can't break org.conductoross.conductor.model.file.
Position
Below the diagonal: com.netflix.conductor.cassandra.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.cassandra.dao uses com.netflix.conductor.common.metadata.workflow, so a change to com.netflix.conductor.common.metadata.workflow can break com.netflix.conductor.cassandra.dao, while a change to com.netflix.conductor.cassandra.dao can't break com.netflix.conductor.common.metadata.workflow.
Position
Below the diagonal: com.netflix.conductor.cassandra.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.cassandra.dao uses com.netflix.conductor.common.metadata.tasks, so a change to com.netflix.conductor.common.metadata.tasks can break com.netflix.conductor.cassandra.dao, while a change to com.netflix.conductor.cassandra.dao can't break com.netflix.conductor.common.metadata.tasks.
Position
Below the diagonal: com.netflix.conductor.cassandra.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.cassandra.dao uses com.netflix.conductor.model, so a change to com.netflix.conductor.model can break com.netflix.conductor.cassandra.dao, while a change to com.netflix.conductor.cassandra.dao can't break com.netflix.conductor.model.
Position
Below the diagonal: com.netflix.conductor.cassandra.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.cassandra.dao uses org.conductoross.conductor.model, so a change to org.conductoross.conductor.model can break com.netflix.conductor.cassandra.dao, while a change to com.netflix.conductor.cassandra.dao can't break org.conductoross.conductor.model.
Position
Below the diagonal: com.netflix.conductor.cassandra.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.cassandra.dao uses org.conductoross.conductor.dao, so a change to org.conductoross.conductor.dao can break com.netflix.conductor.cassandra.dao, while a change to com.netflix.conductor.cassandra.dao can't break org.conductoross.conductor.dao.
Position
Below the diagonal: com.netflix.conductor.cassandra.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.cassandra.dao uses com.netflix.conductor.dao, so a change to com.netflix.conductor.dao can break com.netflix.conductor.cassandra.dao, while a change to com.netflix.conductor.cassandra.dao can't break com.netflix.conductor.dao.
Position
Below the diagonal: com.netflix.conductor.cassandra.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.postgres.dao uses com.netflix.conductor.common.metadata.events, so a change to com.netflix.conductor.common.metadata.events can break com.netflix.conductor.postgres.dao, while a change to com.netflix.conductor.postgres.dao can't break com.netflix.conductor.common.metadata.events.
Position
Below the diagonal: com.netflix.conductor.postgres.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.postgres.dao uses com.netflix.conductor.common.metadata.workflow, so a change to com.netflix.conductor.common.metadata.workflow can break com.netflix.conductor.postgres.dao, while a change to com.netflix.conductor.postgres.dao can't break com.netflix.conductor.common.metadata.workflow.
Position
Below the diagonal: com.netflix.conductor.postgres.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.postgres.dao uses com.netflix.conductor.common.metadata.tasks, so a change to com.netflix.conductor.common.metadata.tasks can break com.netflix.conductor.postgres.dao, while a change to com.netflix.conductor.postgres.dao can't break com.netflix.conductor.common.metadata.tasks.
Position
Below the diagonal: com.netflix.conductor.postgres.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.postgres.dao uses com.netflix.conductor.common.run, so a change to com.netflix.conductor.common.run can break com.netflix.conductor.postgres.dao, while a change to com.netflix.conductor.postgres.dao can't break com.netflix.conductor.common.run.
Position
Below the diagonal: com.netflix.conductor.postgres.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.postgres.dao uses com.netflix.conductor.model, so a change to com.netflix.conductor.model can break com.netflix.conductor.postgres.dao, while a change to com.netflix.conductor.postgres.dao can't break com.netflix.conductor.model.
Position
Below the diagonal: com.netflix.conductor.postgres.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.postgres.dao uses com.netflix.conductor.core.events.queue, so a change to com.netflix.conductor.core.events.queue can break com.netflix.conductor.postgres.dao, while a change to com.netflix.conductor.postgres.dao can't break com.netflix.conductor.core.events.queue.
Position
Below the diagonal: com.netflix.conductor.postgres.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.postgres.dao uses com.netflix.conductor.dao, so a change to com.netflix.conductor.dao can break com.netflix.conductor.postgres.dao, while a change to com.netflix.conductor.postgres.dao can't break com.netflix.conductor.dao.
Position
Below the diagonal: com.netflix.conductor.postgres.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.redis.dao uses com.netflix.conductor.common.metadata.events, so a change to com.netflix.conductor.common.metadata.events can break com.netflix.conductor.redis.dao, while a change to com.netflix.conductor.redis.dao can't break com.netflix.conductor.common.metadata.events.
Position
Below the diagonal: com.netflix.conductor.redis.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.redis.dao uses org.conductoross.conductor.model.file, so a change to org.conductoross.conductor.model.file can break com.netflix.conductor.redis.dao, while a change to com.netflix.conductor.redis.dao can't break org.conductoross.conductor.model.file.
Position
Below the diagonal: com.netflix.conductor.redis.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.redis.dao uses com.netflix.conductor.common.metadata.workflow, so a change to com.netflix.conductor.common.metadata.workflow can break com.netflix.conductor.redis.dao, while a change to com.netflix.conductor.redis.dao can't break com.netflix.conductor.common.metadata.workflow.
Position
Below the diagonal: com.netflix.conductor.redis.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.redis.dao uses com.netflix.conductor.common.metadata.tasks, so a change to com.netflix.conductor.common.metadata.tasks can break com.netflix.conductor.redis.dao, while a change to com.netflix.conductor.redis.dao can't break com.netflix.conductor.common.metadata.tasks.
Position
Below the diagonal: com.netflix.conductor.redis.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.redis.dao uses com.netflix.conductor.model, so a change to com.netflix.conductor.model can break com.netflix.conductor.redis.dao, while a change to com.netflix.conductor.redis.dao can't break com.netflix.conductor.model.
Position
Below the diagonal: com.netflix.conductor.redis.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.redis.dao uses org.conductoross.conductor.model, so a change to org.conductoross.conductor.model can break com.netflix.conductor.redis.dao, while a change to com.netflix.conductor.redis.dao can't break org.conductoross.conductor.model.
Position
Below the diagonal: com.netflix.conductor.redis.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.redis.dao uses org.conductoross.conductor.dao, so a change to org.conductoross.conductor.dao can break com.netflix.conductor.redis.dao, while a change to com.netflix.conductor.redis.dao can't break org.conductoross.conductor.dao.
Position
Below the diagonal: com.netflix.conductor.redis.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.redis.dao uses com.netflix.conductor.core.config, so a change to com.netflix.conductor.core.config can break com.netflix.conductor.redis.dao, while a change to com.netflix.conductor.redis.dao can't break com.netflix.conductor.core.config.
Position
Below the diagonal: com.netflix.conductor.redis.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.redis.dao uses com.netflix.conductor.dao, so a change to com.netflix.conductor.dao can break com.netflix.conductor.redis.dao, while a change to com.netflix.conductor.redis.dao can't break com.netflix.conductor.dao.
Position
Below the diagonal: com.netflix.conductor.redis.dao uses a module listed above it, which is the healthy direction.
com.netflix.conductor.rest.controllers uses com.netflix.conductor.common.metadata, so a change to com.netflix.conductor.common.metadata can break com.netflix.conductor.rest.controllers, while a change to com.netflix.conductor.rest.controllers can't break com.netflix.conductor.common.metadata.
Position
Below the diagonal: com.netflix.conductor.rest.controllers uses a module listed above it, which is the healthy direction.
com.netflix.conductor.rest.controllers uses com.netflix.conductor.common.metadata.events, so a change to com.netflix.conductor.common.metadata.events can break com.netflix.conductor.rest.controllers, while a change to com.netflix.conductor.rest.controllers can't break com.netflix.conductor.common.metadata.events.
Position
Below the diagonal: com.netflix.conductor.rest.controllers uses a module listed above it, which is the healthy direction.
com.netflix.conductor.rest.controllers uses com.netflix.conductor.common.metadata.workflow, so a change to com.netflix.conductor.common.metadata.workflow can break com.netflix.conductor.rest.controllers, while a change to com.netflix.conductor.rest.controllers can't break com.netflix.conductor.common.metadata.workflow.
Position
Below the diagonal: com.netflix.conductor.rest.controllers uses a module listed above it, which is the healthy direction.
com.netflix.conductor.rest.controllers uses com.netflix.conductor.common.metadata.tasks, so a change to com.netflix.conductor.common.metadata.tasks can break com.netflix.conductor.rest.controllers, while a change to com.netflix.conductor.rest.controllers can't break com.netflix.conductor.common.metadata.tasks.
Position
Below the diagonal: com.netflix.conductor.rest.controllers uses a module listed above it, which is the healthy direction.
com.netflix.conductor.rest.controllers uses com.netflix.conductor.common.run, so a change to com.netflix.conductor.common.run can break com.netflix.conductor.rest.controllers, while a change to com.netflix.conductor.rest.controllers can't break com.netflix.conductor.common.run.
Position
Below the diagonal: com.netflix.conductor.rest.controllers uses a module listed above it, which is the healthy direction.
com.netflix.conductor.rest.controllers uses com.netflix.conductor.model, so a change to com.netflix.conductor.model can break com.netflix.conductor.rest.controllers, while a change to com.netflix.conductor.rest.controllers can't break com.netflix.conductor.model.
Position
Below the diagonal: com.netflix.conductor.rest.controllers uses a module listed above it, which is the healthy direction.
com.netflix.conductor.rest.controllers uses org.conductoross.conductor.model, so a change to org.conductoross.conductor.model can break com.netflix.conductor.rest.controllers, while a change to com.netflix.conductor.rest.controllers can't break org.conductoross.conductor.model.
Position
Below the diagonal: com.netflix.conductor.rest.controllers uses a module listed above it, which is the healthy direction.
com.netflix.conductor.rest.controllers uses org.conductoross.conductor.dao, so a change to org.conductoross.conductor.dao can break com.netflix.conductor.rest.controllers, while a change to com.netflix.conductor.rest.controllers can't break org.conductoross.conductor.dao.
Position
Below the diagonal: com.netflix.conductor.rest.controllers uses a module listed above it, which is the healthy direction.
com.netflix.conductor.rest.controllers uses com.netflix.conductor.service, so a change to com.netflix.conductor.service can break com.netflix.conductor.rest.controllers, while a change to com.netflix.conductor.rest.controllers can't break com.netflix.conductor.service.
Position
Below the diagonal: com.netflix.conductor.rest.controllers uses a module listed above it, which is the healthy direction.
com.netflix.conductor.rest.controllers uses com.netflix.conductor.core.execution, so a change to com.netflix.conductor.core.execution can break com.netflix.conductor.rest.controllers, while a change to com.netflix.conductor.rest.controllers can't break com.netflix.conductor.core.execution.
Position
Below the diagonal: com.netflix.conductor.rest.controllers uses a module listed above it, which is the healthy direction.
com.netflix.conductor.rest.controllers uses com.netflix.conductor.core.events.queue, so a change to com.netflix.conductor.core.events.queue can break com.netflix.conductor.rest.controllers, while a change to com.netflix.conductor.rest.controllers can't break com.netflix.conductor.core.events.queue.
Position
Below the diagonal: com.netflix.conductor.rest.controllers uses a module listed above it, which is the healthy direction.
com.netflix.conductor.rest.controllers uses com.netflix.conductor.dao, so a change to com.netflix.conductor.dao can break com.netflix.conductor.rest.controllers, while a change to com.netflix.conductor.rest.controllers can't break com.netflix.conductor.dao.
Position
Below the diagonal: com.netflix.conductor.rest.controllers uses a module listed above it, which is the healthy direction.
com.netflix.conductor.test.integration.http uses com.netflix.conductor.common.metadata.events, so a change to com.netflix.conductor.common.metadata.events can break com.netflix.conductor.test.integration.http, while a change to com.netflix.conductor.test.integration.http can't break com.netflix.conductor.common.metadata.events.
Position
Below the diagonal: com.netflix.conductor.test.integration.http uses a module listed above it, which is the healthy direction.
com.netflix.conductor.test.integration.http uses com.netflix.conductor.common.metadata.workflow, so a change to com.netflix.conductor.common.metadata.workflow can break com.netflix.conductor.test.integration.http, while a change to com.netflix.conductor.test.integration.http can't break com.netflix.conductor.common.metadata.workflow.
Position
Below the diagonal: com.netflix.conductor.test.integration.http uses a module listed above it, which is the healthy direction.
com.netflix.conductor.test.integration.http uses com.netflix.conductor.common.metadata.tasks, so a change to com.netflix.conductor.common.metadata.tasks can break com.netflix.conductor.test.integration.http, while a change to com.netflix.conductor.test.integration.http can't break com.netflix.conductor.common.metadata.tasks.
Position
Below the diagonal: com.netflix.conductor.test.integration.http uses a module listed above it, which is the healthy direction.
com.netflix.conductor.test.integration.http uses org.conductoross.conductor.ai.model, so a change to org.conductoross.conductor.ai.model can break com.netflix.conductor.test.integration.http, while a change to com.netflix.conductor.test.integration.http can't break org.conductoross.conductor.ai.model.
Position
Below the diagonal: com.netflix.conductor.test.integration.http uses a module listed above it, which is the healthy direction.
com.netflix.conductor.test.integration.http uses com.netflix.conductor.common.run, so a change to com.netflix.conductor.common.run can break com.netflix.conductor.test.integration.http, while a change to com.netflix.conductor.test.integration.http can't break com.netflix.conductor.common.run.
Position
Below the diagonal: com.netflix.conductor.test.integration.http uses a module listed above it, which is the healthy direction.
com.netflix.conductor.test.integration.http uses org.conductoross.conductor.ai, so a change to org.conductoross.conductor.ai can break com.netflix.conductor.test.integration.http, while a change to com.netflix.conductor.test.integration.http can't break org.conductoross.conductor.ai.
Position
Below the diagonal: com.netflix.conductor.test.integration.http uses a module listed above it, which is the healthy direction.
com.netflix.conductor.test.integration.http uses io.orkes.conductor.dao.archive, so a change to io.orkes.conductor.dao.archive can break com.netflix.conductor.test.integration.http, while a change to com.netflix.conductor.test.integration.http can't break io.orkes.conductor.dao.archive.
Position
Below the diagonal: com.netflix.conductor.test.integration.http uses a module listed above it, which is the healthy direction.
com.netflix.conductor.test.integration.http uses io.orkes.conductor.dao.scheduler, so a change to io.orkes.conductor.dao.scheduler can break com.netflix.conductor.test.integration.http, while a change to com.netflix.conductor.test.integration.http can't break io.orkes.conductor.dao.scheduler.
Position
Below the diagonal: com.netflix.conductor.test.integration.http uses a module listed above it, which is the healthy direction.
com.netflix.conductor.test.integration.http uses com.netflix.conductor.core.execution.tasks, so a change to com.netflix.conductor.core.execution.tasks can break com.netflix.conductor.test.integration.http, while a change to com.netflix.conductor.test.integration.http can't break com.netflix.conductor.core.execution.tasks.
Position
Below the diagonal: com.netflix.conductor.test.integration.http uses a module listed above it, which is the healthy direction.
com.netflix.conductor.test.integration.http uses com.netflix.conductor.core.execution, so a change to com.netflix.conductor.core.execution can break com.netflix.conductor.test.integration.http, while a change to com.netflix.conductor.test.integration.http can't break com.netflix.conductor.core.execution.
Position
Below the diagonal: com.netflix.conductor.test.integration.http uses a module listed above it, which is the healthy direction.
com.netflix.conductor.test.integration.http uses com.netflix.conductor.core.events.queue, so a change to com.netflix.conductor.core.events.queue can break com.netflix.conductor.test.integration.http, while a change to com.netflix.conductor.test.integration.http can't break com.netflix.conductor.core.events.queue.
Position
Below the diagonal: com.netflix.conductor.test.integration.http uses a module listed above it, which is the healthy direction.
com.netflix.conductor.test.integration.http uses com.netflix.conductor.dao, so a change to com.netflix.conductor.dao can break com.netflix.conductor.test.integration.http, while a change to com.netflix.conductor.test.integration.http can't break com.netflix.conductor.dao.
Position
Below the diagonal: com.netflix.conductor.test.integration.http uses a module listed above it, which is the healthy direction.
io.orkes.conductor.scheduler.service uses com.netflix.conductor.common.metadata.workflow, so a change to com.netflix.conductor.common.metadata.workflow can break io.orkes.conductor.scheduler.service, while a change to io.orkes.conductor.scheduler.service can't break com.netflix.conductor.common.metadata.workflow.
Position
Below the diagonal: io.orkes.conductor.scheduler.service uses a module listed above it, which is the healthy direction.
io.orkes.conductor.scheduler.service uses com.netflix.conductor.common.run, so a change to com.netflix.conductor.common.run can break io.orkes.conductor.scheduler.service, while a change to io.orkes.conductor.scheduler.service can't break com.netflix.conductor.common.run.
Position
Below the diagonal: io.orkes.conductor.scheduler.service uses a module listed above it, which is the healthy direction.
io.orkes.conductor.scheduler.service uses io.orkes.conductor.dao.archive, so a change to io.orkes.conductor.dao.archive can break io.orkes.conductor.scheduler.service, while a change to io.orkes.conductor.scheduler.service can't break io.orkes.conductor.dao.archive.
Position
Below the diagonal: io.orkes.conductor.scheduler.service uses a module listed above it, which is the healthy direction.
io.orkes.conductor.scheduler.service uses io.orkes.conductor.dao.scheduler, so a change to io.orkes.conductor.dao.scheduler can break io.orkes.conductor.scheduler.service, while a change to io.orkes.conductor.scheduler.service can't break io.orkes.conductor.dao.scheduler.
Position
Below the diagonal: io.orkes.conductor.scheduler.service uses a module listed above it, which is the healthy direction.
io.orkes.conductor.scheduler.service uses com.netflix.conductor.service, so a change to com.netflix.conductor.service can break io.orkes.conductor.scheduler.service, while a change to io.orkes.conductor.scheduler.service can't break com.netflix.conductor.service.
Position
Below the diagonal: io.orkes.conductor.scheduler.service uses a module listed above it, which is the healthy direction.
io.orkes.conductor.scheduler.service uses com.netflix.conductor.dao, so a change to com.netflix.conductor.dao can break io.orkes.conductor.scheduler.service, while a change to io.orkes.conductor.scheduler.service can't break com.netflix.conductor.dao.
Position
Below the diagonal: io.orkes.conductor.scheduler.service uses a module listed above it, which is the healthy direction.
3 pairs of types, where a type in org.conductoross.conductor.ai.agentspan.runtime.service uses a type in com.netflix.conductor.common.metadata.workflow.
org.conductoross.conductor.ai.agentspan.runtime.service uses com.netflix.conductor.common.metadata.workflow, so a change to com.netflix.conductor.common.metadata.workflow can break org.conductoross.conductor.ai.agentspan.runtime.service, while a change to org.conductoross.conductor.ai.agentspan.runtime.service can't break com.netflix.conductor.common.metadata.workflow.
Position
Below the diagonal: org.conductoross.conductor.ai.agentspan.runtime.service uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.ai.agentspan.runtime.service uses com.netflix.conductor.common.metadata.tasks, so a change to com.netflix.conductor.common.metadata.tasks can break org.conductoross.conductor.ai.agentspan.runtime.service, while a change to org.conductoross.conductor.ai.agentspan.runtime.service can't break com.netflix.conductor.common.metadata.tasks.
Position
Below the diagonal: org.conductoross.conductor.ai.agentspan.runtime.service uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.ai.agentspan.runtime.service uses com.netflix.conductor.common.run, so a change to com.netflix.conductor.common.run can break org.conductoross.conductor.ai.agentspan.runtime.service, while a change to org.conductoross.conductor.ai.agentspan.runtime.service can't break com.netflix.conductor.common.run.
Position
Below the diagonal: org.conductoross.conductor.ai.agentspan.runtime.service uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.ai.agentspan.runtime.service uses com.netflix.conductor.model, so a change to com.netflix.conductor.model can break org.conductoross.conductor.ai.agentspan.runtime.service, while a change to org.conductoross.conductor.ai.agentspan.runtime.service can't break com.netflix.conductor.model.
Position
Below the diagonal: org.conductoross.conductor.ai.agentspan.runtime.service uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.ai.agentspan.runtime.service uses com.netflix.conductor.service, so a change to com.netflix.conductor.service can break org.conductoross.conductor.ai.agentspan.runtime.service, while a change to org.conductoross.conductor.ai.agentspan.runtime.service can't break com.netflix.conductor.service.
Position
Below the diagonal: org.conductoross.conductor.ai.agentspan.runtime.service uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.ai.agentspan.runtime.service uses com.netflix.conductor.core.execution.tasks, so a change to com.netflix.conductor.core.execution.tasks can break org.conductoross.conductor.ai.agentspan.runtime.service, while a change to org.conductoross.conductor.ai.agentspan.runtime.service can't break com.netflix.conductor.core.execution.tasks.
Position
Below the diagonal: org.conductoross.conductor.ai.agentspan.runtime.service uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.ai.agentspan.runtime.service uses com.netflix.conductor.core.execution, so a change to com.netflix.conductor.core.execution can break org.conductoross.conductor.ai.agentspan.runtime.service, while a change to org.conductoross.conductor.ai.agentspan.runtime.service can't break com.netflix.conductor.core.execution.
Position
Below the diagonal: org.conductoross.conductor.ai.agentspan.runtime.service uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.ai.agentspan.runtime.service uses com.netflix.conductor.dao, so a change to com.netflix.conductor.dao can break org.conductoross.conductor.ai.agentspan.runtime.service, while a change to org.conductoross.conductor.ai.agentspan.runtime.service can't break com.netflix.conductor.dao.
Position
Below the diagonal: org.conductoross.conductor.ai.agentspan.runtime.service uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.core.storage uses org.conductoross.conductor.model.file, so a change to org.conductoross.conductor.model.file can break org.conductoross.conductor.core.storage, while a change to org.conductoross.conductor.core.storage can't break org.conductoross.conductor.model.file.
Position
Below the diagonal: org.conductoross.conductor.core.storage uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.core.storage uses org.conductoross.conductor.model, so a change to org.conductoross.conductor.model can break org.conductoross.conductor.core.storage, while a change to org.conductoross.conductor.core.storage can't break org.conductoross.conductor.model.
Position
Below the diagonal: org.conductoross.conductor.core.storage uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.core.storage uses org.conductoross.conductor.dao, so a change to org.conductoross.conductor.dao can break org.conductoross.conductor.core.storage, while a change to org.conductoross.conductor.core.storage can't break org.conductoross.conductor.dao.
Position
Below the diagonal: org.conductoross.conductor.core.storage uses a module listed above it, which is the healthy direction.
org.conductoross.conductor.core.storage uses com.netflix.conductor.dao, so a change to com.netflix.conductor.dao can break org.conductoross.conductor.core.storage, while a change to org.conductoross.conductor.core.storage can't break com.netflix.conductor.dao.
Position
Below the diagonal: org.conductoross.conductor.core.storage uses a module listed above it, which is the healthy direction.
Findings mapped to OWASP categories; the specific CVEs/secrets are in the Security dimension cards below and findings.md (redacted only on the public version of this report).
OWASP category
Findings
Severity
A05:2025 — Injection
191
High / Critical
A03:2025 — Software Supply Chain Failures
119
High / Critical
A02:2025 — Security Misconfiguration
44
High / Critical
A07:2025 — Authentication Failures
7
High / Critical
Roadmap
First, fix keyboard accessibility by making custom controls operable and correcting anchor links, then immediately resolve the three leaked secrets in the Docker configuration files. Next, ensure every form control and button has a proper programmatic label to replace placeholders, and enforce accessibility standards by integrating linting and automated testing into the CI pipeline. Finally, address the five empty test cases to improve overall test quality and reliability.
Ranked by impact ÷ effort. "Helps" is the estimated gain on the 0–100 health score.
Do this
Helps
Effort
Dimension
Resolve the 3 Leaked secret finding(s) in Secret Scanning — start with REDACTED, REDACTED, REDACTED.
Set connect and read timeouts on every client (`RestTemplateBuilder.connectTimeout/readTimeout`, WebClient `responseTimeout`, `HttpRequest.Builder.timeout`, `HttpURLConnection.setReadTimeout`, Feign `connectTimeout`/`readTimeout` in configuration), and wrap calls to dependencies in resilience4j `@Retry`/`@CircuitBreaker`/`@TimeLimiter` (or Spring Retry).
Every finding carries one of four grades. Three say how serious it is. The fourth says this
survey could not settle it — and it is a grade, not a gap.
Critical — 270
A definite problem that already costs you something and drags the score down: a
missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here
tends to cause failures elsewhere.
Serious — 2229
Likely wrong, but not failing yet. It degrades
the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to
carry for two years either.
Minor — 864
Recorded, with no effect on how the codebase functions.
Present so the survey is complete, not because it needs doing.
Could not be resolved — 11
Something this survey could not settle
from the outside, and which could be critical or serious. Either a control was required and no
positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves
nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean
result. These are excluded from the score rather than awarded a pass, so the number on the cover neither
rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each
one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 91 of 94 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
Every figure here is one of three kinds, and we label which: ✓ Measured — a deterministic fact (LoC, complexity, coverage); ~ Modeled — an estimate from a stated model (cost, effort, value-at-risk), always a range with its assumptions, never a precise fact; ◐ Advisory — an LLM prose judgement. We never present a modelled estimate as if it were measured. Perfect or absent scores carry their provenance too (ADR-0011): ✓ Tool-verified means the property itself was measured across the surface; ○ Nothing flagged means the probes came back clean — a claim bounded by what a repository can show; ⊘ Not evidenced means a working control (a tested restore, an automated rollback) showed no positive evidence — absence of evidence is not evidence of a control, so it's excluded from the score rather than awarded a spurious 10; ◐ Sampled · advisory marks an LLM verdict over a bounded sample — advisory, never a deterministic measurement.
What we checked — 94 dimensions across the health lenses
Each chip is a dimension scored from real signals across architecture, testing, dependencies, security & compliance, documentation, git-history and code quality — in one coherent pass. A surface report typically covers a handful.
How to trust any code-health report — three questions
Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 2821 of 3363 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line. (Every path in this report is repo-relative by construction: paths are normalized at the producer and the report is rejected if any rooted path leaks through.)
Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
This report answers yes to all three. That's the bar to hold any assessment to.
Tools & methods
The actual versions used this run (captured at analysis time) — re-run on the same commit for the identical score.
Method
Backs
Version
Evaluator
Roslyn static analysis
Complexity, cohesion, coupling, dead code, API surface, layering
What ran differently this time — a tool absent, degraded, or that fell back to an estimate. Named openly, not folded silently into the scores. A degraded run also records its exact cause in diagnostics.md.
D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: this repository's production source spans .ts, .tsx, .java, and our analyzer cannot run the .java test suite(s) — so no coverage was collected for the repository as a whole. The JavaScript/TypeScript half did build and run, and its own line coverage came back at 32.3% — but that is a figure for one half of the product, and we do not publish a partial one as if it were complete. This is OUR limitation, not a defect in the repo — coverage is excluded from the score rather than counted as a near-zero. In the meantime, produce a coverage report in a standard format (lcov — `vitest --coverage`, `jest --coverage`, `bun test --coverage --coverage-reporter=lcov`, or `nyc`, or JaCoCo XML — the Gradle `jacocoTestReport` task) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures and real coverage will be read. You can widen what we reach: optional: produce a coverage report in a standard format (JaCoCo XML — the Gradle `jacocoTestReport` task) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures — then both halves are read on the next scan.
D10 Test Quality — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. The 3,473 test(s) behind this row are the ones the code-model census could read, and this repository also carries at least 159 test source file(s) (.ts, .tsx, .jsx, .js) that it cannot: it reads the test types the .java frontend declared, so a suite in any other language is invisible to it. Skipped tests, zero-assertion tests and the other quality signals on this row are UNMEASURED in that suite — their absence from the counts above is a gap in this analyzer's language coverage, not a finding that those tests are sound.
D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability NOT SCORED: this repository's production source includes .java, and the jvm executor ran against the .java half and did not finish re-running within its tier budget — so reliability was not measured for the repository as a whole. The JavaScript/TypeScript (vitest via `pnpm install --frozen-lockfile --ignore-scripts` in ui-next/ (1077 tests)): measured (0 flaky) suite(s) did re-run, and came back with 0 flaky across 1 measured tier(s) — but that is a figure for one half of the product, and we do not publish a partial one as if it were complete. This is OUR limitation, not a defect in the repo — test reliability is excluded from the score rather than counted. The half was driven by a runner we ship, so this is not a missing-runner gap.
D12 Dependency Hygiene — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. Currency was graded against Maven Central, but whether an artifact is DEPRECATED is not: Maven Central publishes no deprecation marker, exactly as rubygems.org does not. Whether one is UNMAINTAINED is not graded either — no registry publishes a maintenance status, and release age does not stand in for one. Two of this dimension's four signals are therefore unread on a Gradle tree, and its score reflects currency alone.
D14 License Compliance — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. This repository declares a Python pyproject.toml/requirements.txt (pip/uv/Poetry), but the licence verdict published here was taken over its JVM dependencies. Nothing was read about its Python dependencies' licensing in either direction, and a clean score on this card must not be read as covering them.
D14 License Compliance — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. This repository declares REDACTED, but the licence verdict published here was taken over its JVM dependencies. Nothing was read about its npm dependencies' licensing in either direction, and a clean score on this card must not be read as covering them.
D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is an ADMISSION gap, not an environment fault: it declares a published package (ui-next/package.json), but no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises — so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker — not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict. For npm the surface is what a published REDACTED's entry points (exports, main, module, types) export, followed through the source; an entry that names build output the tree does not commit (dist/, build/) is not followed back to source, because only a tsconfig outDir/rootDir pair states that mapping and a bundler's input lives in executable configuration this engine does not evaluate.
D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
D32 Data Compliance (PII/GDPR) — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlannerContextFetchTask.java`, `ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java`, `ui-next/src/components/features/flow/components/RichAddTaskMenu/iconsForTaskTypes.ts`, `ui-next/src/components/features/flow/components/RichAddTaskMenu/taskGenerator.ts`, `ui-next/src/components/features/flow/components/shapes/TaskShape/Shape.tsx`, … (+1 more) produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via DockerCompose (REDACTED). compose up failed (exit 18 — an image could not be pulled) — conductor-elasticsearch Pulling conductor-server Pulling conductor-redis Pulling conductor-server Warning Get "https://registry-1.docker.io/v2/": Forbidden conductor-redis Error Get "https://registry-1.docker.io/v2/": Forbidden conductor-elasticsearch Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: conductor-server Warning Get "https://registry-1.docker.io/v2/": Forbidden conductor-redis Error Get "https://registry-1.docker.io/v2/": Forbidden conductor-elasticsearch Error context canceled WARNING: Some service image(s) must be built from source by running: docker compose build conductor-server Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped.
C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks personal data controls.
C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
C3 Audit Trail — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These audit controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks audit controls.
C4 Data Retention — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These retention controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks retention controls.
C5 Data-Subject Rights — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These data-subject rights controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks data-subject rights controls.
ED5 Idempotency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check decides whether a handler's mutation is safe to re-run by recognising its persistence writes (a database save, a repository write, an event publish) and its guards. Those markers are .NET member names, so in this repository's language a write such as `repository.save(order)` is not recognised and a same-named call on an unrelated library type could be. The handlers were found; their idempotency was neither confirmed nor ruled out.
M4 Documentation accuracy — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 3 further occurrence(s) are not listed individually; the score already reflects all 43.
R10 Code Duplication — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 394 further occurrence(s) are not listed individually; the score already reflects all 434.
R11 Import Boundaries — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 12 further occurrence(s) are not listed individually; the score already reflects all 52.
R3 Large Files — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 25 further occurrence(s) are not listed individually; the score already reflects all 65.
R4 Test Coverage — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 193 further occurrence(s) are not listed individually; the score already reflects all 233.
R7 Dead Code — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 204 further occurrence(s) are not listed individually; the score already reflects all 244.
X3 Exception handling — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 19 further occurrence(s) are not listed individually; the score already reflects all 59.
X4 Structured logging — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 36 further occurrence(s) are not listed individually; the score already reflects all 76.
Repo exclusion declarations: 17 pattern(s) declared (.gitattributes linguist-generated/vendored, .editorconfig generated_code) excluded 0 source file(s) from code-quality scoring. Declarations are the repo's own visible statement that a tree is machine-written or vendored — auditable in any diff, honored by GitHub the same way.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
For each dimension that was measured, what a static, repo-only scan structurally cannot see — the honest edge of the measurement, not a failure of it.
D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a REDACTED (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
AC1 Text alternatives: Alt-text is detected structurally — the scan sees that an alternative EXISTS, not whether it meaningfully describes the image, and decorative-vs-missing is judged by attribute shape; runtime-injected images and a non-role=img decorative svg are out of scope. This is accessibility readiness, never a WCAG conformance claim.
AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A click handler on a plain element is now asked for a name too (it is a control the author declared), but the subtree test that answers it is deliberately generous: any DYNAMIC text expression in the subtree counts as a name, so an icon chosen by a ternary ({cond ? <IconA/> : <IconB/>}) reads as named, and a glyph component from a library the icon-import list does not know still names its parent. A clean result is "no unlabelled control found", not a labelling proof.
AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
AC4 Keyboard semantics: Keyboard semantics are inferred from markup attributes — interactivity wired purely in script, focus managed at runtime, and component-level handlers are invisible. A clean result means "no static keyboard-trap shape", not a keyboard-operability proof.
AC5 ARIA correctness: ARIA correctness is checked against the static role/attribute shape — roles/attributes set dynamically aren't seen, a valid role says nothing about whether it matches the element's real behaviour, and required-state checks are suppressed when a JSX spread could supply them. The two-branch toggle check (a control whose state is conveyed only by which of two mutually exclusive branches renders) reads CONDITIONALS THAT ARE ATTRIBUTES — Vue v-if/v-else/v-show and Alpine x-if/x-show — so the same toggle written as a Svelte {#if} block or a JSX ternary is control flow the markup model never projects as a branch and is not seen at all.
AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
LLM-set scores this run (3): D19, D21, M4 (model: Local LLM). For these, a model reads a bounded sample and sets the numeric score; each names its own sample and method on its card. They are sampled and advisory by design: they vary at the margins between runs and are never a deterministic measurement. Every other score in this report is tool-computed at confidence 1.0.
What it measures: How tangled the control flow is — methods with many branches are hard to test and change.
Method: Cyclomatic complexity per method (1 + decision points), computed exhaustively across production source; test projects separated by convention. Deterministic.
184 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was agentExecutionUtils.transformWorkflowExecutionToAgentRun at 180. A further 3 method(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being TaskFormContent.getTaskForm at 49 — they are counted neither in the figure above nor in this dimension's score. 2 files carry no cyclomatic complexity row at all for this reason — every one of their over-threshold methods was excluded, so the exclusion is disclosed nowhere in the file itself: ui-next/src/components/features/flow/nodes/mapper/layout.js (taskToSize at 26), ui-next/src/components/features/flow/nodes/mapper/layout.js (layout.taskToSize at 26). They are named here because the per-file figures other dimensions report are taken BEFORE this exclusion, so such a file can show a high maximum complexity elsewhere in this report and nothing here, with nothing to reconcile the two.
+ 175 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Bring the 3 bodies over 120 down to 120 or less in Cyclomatic Complexity — start with agentExecutionUtils.transformWorkflowExecutionToAgentRun (cyclomatic 180), SidebarItem.SidebarItem (cyclomatic 124), AgentCompiler.compileGraphStructure (cyclomatic 121). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 3 together lifts Cyclomatic Complexity from 5.4 to about 5.8/10, projected with the scoring formula itself and assuming each lands exactly at 120; a cleaner split scores higher.
Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d1_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: How hard the code is for a person to follow, beyond raw branching.
Method: Cognitive complexity per method (Sonar-style nesting-penalized score), computed exhaustively over production code, excluding test projects. Deterministic.
+ 260 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Bring the 2 bodies over 240 down to 240 or less in Cognitive Complexity — start with AgentCompiler.compileGraphStructure (cognitive 382), agentExecutionUtils.transformWorkflowExecutionToAgentRun (cognitive 294). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 2 together lifts Cognitive Complexity from 4.6 to about 5.1/10, projected with the scoring formula itself and assuming each lands exactly at 240; a cleaner split scores higher.
Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d2_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D3 · God Classes5.3 / 10Adequate✓ Tool-verified
What it measures: Over-large classes that try to do too much ("god classes").
Method: God-class detection by line and method-count thresholds per logical type (partial classes unified), filtered for generated code and registration/contract false positives. Deterministic.
Resolve the 189 FunctionTooLong finding(s) in God Classes — start with hook.ts (9), AgentDetailPanel.tsx (5), BasicSearch.tsx (3). — One of this dimension's main actionable groups (189 warning-level).
Resolve the 61 TooManyMethods finding(s) in God Classes — start with Query.java (3), OpenSearchRestDAO.java (2), OpenSearchProperties.java (2). — One of this dimension's main actionable groups (61 warning-level).
Resolve the 52 FileTooLong finding(s) in God Classes — start with OpenSearchRestDAO.java (2), BasicSearch.tsx (2), MultiAgentCompiler.java. — One of this dimension's main actionable groups (52 warning-level).
Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d3_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Copy-pasted code that should be shared instead.
Method: Code duplication via token-stream sliding windows with type-aware normalization (locals masked, type names preserved), density-scored per KLoC of production code. Deterministic.
677 duplicated block group(s) detected. A further 49 rows report members as variants of one another; they aggregate block groups already counted above and are not themselves counted. Measured on part of this repository only: .tsx, .ts (47% of production source) was not exposed to THIS dimension's token comparison and is not in this count; duplication there is measured by R10 Code Duplication, the frontend lens's card running the same clone algorithm over the JS/TS token stream.
+ 205 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Resolve the 35 Duplicated block (5 lines × 2) finding(s) in Code Duplication — start with AbstractProtoMapper.java (6), AgentCompiler.java (3), MultiAgentCompiler.java (3). — One of this dimension's main actionable groups (35 warning-level).
Resolve the 32 Duplicated block (6 lines × 2) finding(s) in Code Duplication — start with A2ANativeAgentFacade.java (5), AgentCompiler.java (3), MySQLSchedulerDAO.java (3). — One of this dimension's main actionable groups (32 warning-level).
Resolve the 30 Duplicated block (7 lines × 2) finding(s) in Code Duplication — start with AgentCompiler.java (4), A2ANativeAgentFacade.java (3), MultiAgentCompiler.java (2). — One of this dimension's main actionable groups (30 warning-level).
Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
Detailed fixes: d4_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D5 · Coupling10.0 / 10Exemplary✓ Tool-verified
What it measures: Whether volatile projects sit underneath others that depend on them (so their churn ripples upward), and whether project dependencies form cycles. A widely-depended-on but stable shared/kernel project is healthy, not penalised.
Method: Dependency cycles via elementary-DFS over real .csproj references, plus Martin instability (afferent/efferent) per project. Exhaustive over the reference graph, deterministic.
Coverage: Exhaustive · type-level: afferent/efferent coupling + cycles computed over every production type — the population is all types, not a name convention.
54 production modules (Gradle+npm), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; edges a convention plugin adds from buildSrc or build-logic are not visible there; 0 module(s) off the main sequence, with abstractness counted on 50 of the 54 (the rest declare no modelled class or interface, export only macros, declare types in source no model reads, or have no source directory of their own).
What it measures: Whether a class's methods are focused on a single responsibility.
Method: LCOM4 cohesion per production class with at least two methods: connected components of methods sharing state or calls, computed syntactically. Deterministic, not a proxy.
Coverage: Exhaustive · type-level: LCOM4 cohesion computed over every production class — the population is all types, not a name convention.
Resolve the 14 Low cohesion finding(s) in Cohesion (LCOM4) — start with AbstractNode.java (4), PostgresIndexDAO.java, SqliteIndexDAO.java. — One of this dimension's main actionable groups (14 warning-level).
Enforce Cohesion (LCOM4) in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
Detailed fixes: d6_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D9 · Test Distribution9.6 / 10Exemplary✓ Tool-verified
What it measures: Whether the test suite has a healthy mix of unit / integration / end-to-end tests.
Method: Test projects classified (Unit/Integration/BDD/E2E) from compiled metadata; test methods counted exhaustively across projects with placement-agnostic disk fallback. Deterministic.
4580 test methods: 4422 unit, 0 integration, 0 BDD, 158 e2e. The JavaScript/TypeScript suite contributes 1103 `it`/`test` case(s) across 147 test file(s) declaring at least one beside 3473 .NET test method(s); its tier split is read from package names and paths only. The Python suite contributes 4 test function(s) across 1 file(s) declaring at least one — every `def test…` in a file pytest or unittest would collect, which is those frameworks' own definition of a case; a parametrize table counts once, so this is a floor. Its tier split is read from file names and paths only.
✓ On the Gold path — maintain.
Detailed fixes: d9_recommendation.md.
Do you agree with this assessment?
D10 · Test Quality9.5 / 10Adequategated by 5 critical findings✓ Tool-verified
What it measures: Whether the tests truly assert behaviour rather than just running the code.
Method: Per-test assertions, skips, and mock references analyzed via Roslyn; structured skip-reason tags (BUG:/ENV:) separate documented deferrals from debt. Deterministic.
5 skipped (5 with a documented reason), 117 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 3473 tests (1 harness-style project(s) excluded from the assertion penalty). Measured on the .java suite only — at least 159 test source file(s) (.ts, .tsx, .jsx, .js) went unread, so its test quality is unmeasured and is not in these counts.
No assertions (empty test): testRemovalListener · ×5ai/src/test/java/org/conductoross/conductor/ai/vectordb/PostgresVectorDBTest.java:331
No assertions: rpcPathSuffix_routesToJsonRpcHandler · ×109agentspan/src/test/java/org/conductoross/conductor/ai/agentspan/a2a/A2AAgentServerResourceTest.java:140
No direct assertions: testNoStorageAccount · ×3azureblob-storage/src/test/java/com/netflix/conductor/azureblob/storage/AzureBlobPayloadStorageTest.java:62
Resolve the 5 No assertions (empty test) finding(s) in Test Quality — start with TestGroupedExpression.java (4), PostgresVectorDBTest.java. — One of this dimension's main actionable groups (5 issue-level).
Resolve the 109 No assertions finding(s) in Test Quality — start with FileStorageServiceImplTest.java (14), TestConstValue.java (8), SchemaResourceTest.java (8). — One of this dimension's main actionable groups (109 warning-level).
Resolve the 3 No direct assertions finding(s) in Test Quality — start with AzureBlobPayloadStorageTest.java (3). — One of this dimension's main actionable groups (3 recommendation-level).
Enforce Test Quality in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d10_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether dependencies are current, secure, and not bloated.
Method: Manifest scan via dotnet list package across all projects; worst-signal-per-package deduction (saturating for vulnerabilities, capped-linear for deprecation/outdated) per KLoC. Exhaustive, deterministic.
This repository's Gradle dependency graph was RESOLVED BY A BUILD, across every subproject rather than the root alone: 662 artifact(s) resolved, 660 of them gradable against Maven Central, and 513 behind a shipped release. Where a version was requested and a different one won conflict resolution, the RESOLVED version is what is graded — grading the request would recommend an upgrade already applied. Known CVEs in the same graph are a separate question again, reported under D30.
Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
Detailed fixes: d12_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether any secrets (keys, tokens, passwords) have leaked into the code.
Method: In-process native secret scanner (entropy plus signature patterns) across all tracked files; no external tool. A clean result is a measured 10, not no-data zero. Deterministic.
Resolve the 3 Leaked secret finding(s) in Secret Scanning — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (3 issue-level).
Enforce Secret Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d13_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether the licenses of third-party packages are compatible with your policy.
Method: Third-party package licenses resolved from declared package metadata and checked against the configured policy (allow/deny/copyleft). Deterministic; clean = no incompatible license found at metadata depth.
0 of 55 declared JVM dependency artifact(s) use a banned license. Licences were resolved from the POMs Maven Central publishes, over the coordinates this repository's 52 Maven/Gradle manifest(s) declare with a version resolvable from the manifest itself — the same declaration-site closure this analysis reads for dependency currency. The JVM has no lockfile a checkout is guaranteed to carry, so this is deliberately NOT the transitive closure. 250 further coordinate(s) are declared with no version at the declaration site — inherited from a parent POM, a BOM or an unresolved Gradle version reference — and are NOT graded: this verdict covers what the checkout pins, not the full transitive graph. 1 of them resolve to no licence at all on Central, even through their parent POMs; that is missing data, not a violation, and none of them is charged. ★ COVERAGE OF THIS VERDICT: it grades this repository's JVM dependencies and nothing else. The repository also declares a Python pyproject.toml/requirements.txt (pip/uv/Poetry) and REDACTED, and the licences of those dependency graphs were NOT read by this pass — a gap in this engine's coverage, not a statement about them. So this result says the graded closure carries no banned licence; it does NOT say this repository's licensing is clear.
What it measures: Files that change often and are also complex — the riskiest hotspots.
Method: Per production file churn times cyclomatic complexity over a rolling window, computed from git and Roslyn/JS/Razor analysis. Exhaustive, deterministic per commit date.
Top hotspots: ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts (8×180=1440); ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx (5×81=405); ui-next/src/pages/execution/Execution.tsx (4×48=192) Repeated repair below the complexity floor: agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AzureFoundryAgentClient.java (4 of 6 changes were fixes); core/src/main/java/com/netflix/conductor/core/utils/ParametersUtils.java (3 of 3 changes were fixes); sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java (3 of 3 changes were fixes)
Resolve the 16 Hotspot finding(s) in Churn × Complexity Hotspots — start with BasicSearch.tsx (2), AdvancedSearch.tsx (2), agentExecutionUtils.ts. — One of this dimension's main actionable groups (16 warning-level).
Resolve the 4 Repeated repair finding(s) in Churn × Complexity Hotspots — start with AzureFoundryAgentClient.java, ParametersUtils.java, SqliteIndexQueryBuilder.java. — One of this dimension's main actionable groups (4 warning-level).
Detailed fixes: d15_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D16 · Bus Factor8.9 / 10Strong✓ Tool-verified
What it measures: Whether knowledge is concentrated in too few people (the "bus factor").
Method: Living knowledge per author via time-decayed commit attribution (6-month half-life, focus weighting) across largest source files. Deterministic, avoids blame's mechanical-refactor false positives.
118 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java. Counted over 1051 of the 2184 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
Off-boarding risk: anonymized user #1 · ×8
Further sole-owners (lower concentration)
What to do
Resolve the 8 Off-boarding risk finding(s) in Bus Factor. — One of this dimension's main actionable groups (8 recommendation-level).
Resolve the 1 Further sole-owners (lower concentration) finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).
Detailed fixes: d16_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Acknowledged debt left in the code — TODOs, dead code, suppressed warnings.
Method: Roslyn syntactic debt markers (suppressions/TODO/FIXME/HACK/empty-catch/commented-code/Obsolete) plus SymbolFinder dead-code analysis; weighted-debt-per-KLoC density deducted 2.0x per unit. Deterministic, exhaustive.
59 deducted task-comment markers across 283093 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
Resolve the 48 TodoComment finding(s) in Explicit Debt — start with CassandraExecutionDAO.java (5), ForkJoinDynamicTaskMapper.java (3), actions.ts (3). — One of this dimension's main actionable groups (48 warning-level).
Resolve the 10 FixmeComment finding(s) in Explicit Debt — start with actions.ts (2), TaskServiceImpl.java, ConfigurationHostSupplier.java. — One of this dimension's main actionable groups (10 warning-level).
Resolve the 1 HackComment finding(s) in Explicit Debt — start with actions.ts. — One of this dimension's main actionable groups (1 warning-level).
Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d17_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether the project's documentation is clear, complete, and useful.
Method: Judged by language model at low temperature (0.0-0.1) on a deterministic doc sample (READMEs plus first 25 architecture docs), with two-pass stability filtering. Advisory, sampled.
The documentation is comprehensive and well-structured for the Conductor ecosystem: each README documents its own directory (e.g. 'gRPC client', 'kafka-event-queue') rather than the repository as a whole, but it contains many architecture/design docs (389 total) covering topics such as OpenSearch 2.x and 3.x persistence modules, JSON_JQ_transform task, community-contribution tasks, shared playback recordings, Redis configuration for standalone/cluster/sentinel topologies, and Conductor Schemas with detailed schema files for workflow and task definitions. The READMEs are well-organized by topic (Usage, Configuration, Modules) and the document outline is visible in each one. (13 of 25 sampled documents could not be assessed: 1 of 2 evaluation groups failed.)
✓ On the Gold path — maintain.
Detailed fixes: d19_recommendation.md.
Do you agree with this assessment?
D20 · ADR Quality0.0 / 10Critical✓ Tool-verified
What it measures: Whether architecture decisions are recorded well (context, decision, consequences).
Method: Per-ADR judgment by language model at low temperature with two-pass stability; confidence is share of ADRs evaluated; enforcement-field presence detected deterministically. Advisory.
What it measures: Whether names — types, methods, variables — are clear and consistent.
Method: Judged by language model at low temperature (0.0-0.1) on a deterministic random symbol sample (fixed size, not exhaustive), with disclosed confidence band. Advisory, sampled.
6 of 50 build units (Gradle, npm) flagged as possibly oversized/incoherent.
Projects may be oversized for their cohesion
What to do
Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
Detailed fixes: d26_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether any secrets were ever committed — scanned across the full git history, not just now.
Method: Secret scan via TWO gitleaks detect passes in an isolated checkout — the full git history, then a second --no-git pass over the working tree as it stands — merged and de-duplicated by (rule, file, line); each match flagged High. Both invocations are recorded in the audit trail. Exhaustive; when the tool is absent, or when its output cannot be parsed into the expected shape, the dimension is WITHHELD as an explicit measurement gap on our side — unscored and excluded from the lens, never a hedged middling score.
3 finding(s): 0 critical, 3 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
REDACTED
REDACTED
What to do
Resolve the 3 High secret finding(s) in Secrets (history) — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (3 issue-level).
Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).
Detailed fixes: d28_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Real static-analysis (SAST) findings — likely security bugs in the code, any language.
Method: Polyglot static analysis via semgrep across the repo using the pinned, image-baked p/security-audit + p/owasp-top-ten rulesets (no scan-time registry fetch); severity rules (ERROR/WARNING/INFO) map to a full-band severity-weighted score. Exhaustive, deterministic; degrades on parse failure.
Coverage: semgrep pattern rules over all files — exhaustive for the rule set, blind to classes of bug without a rule (clean = no rule matched).
191 finding(s): 0 critical, 140 high, 51 medium, 0 low. 102 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. semgrep hit a parse error in 17 file(s) — `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlannerContextFetchTask.java`, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java`, `ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java` (line 257, line 260), `docs/overrides/404.html` (lines 1–4, line 24), `docs/overrides/main.html` (lines 1–3, lines 8–13, line 15, …), … (+12 more) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them. Separately, one or more rules could not re-parse an embedded snippet in 7 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
REDACTED
REDACTED
REDACTED
REDACTED
REDACTED
+ 6 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Resolve the 1 REDACTED finding(s) charged to Static Analysis (SAST) — the other 102 are reported here at file:line but scored by D36 (supply-chain provenance), which charges them once. — One of this dimension's main actionable groups (103 issue-level, 1 of them charged here).
Resolve the 16 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (5), REDACTED (3), REDACTED (2). — One of this dimension's main actionable groups (16 issue-level).
Resolve the 10 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (10 issue-level).
Detailed fixes: d29_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether any dependency has a known published vulnerability (CVE), direct or transitive, in ANY ecosystem the repository declares — Dart pub, Elixir and Erlang via Hex, Go modules, Java and Kotlin via Maven/Gradle, JavaScript/npm, .NET/NuGet, PHP/Composer, Python/PyPI, RubyGems, Rust/Cargo and Swift.
Method: Dependency-CVE scan across every ecosystem the repository declares, scored ONCE. Three sources are unioned and deduplicated by advisory identity (rule id + alias closure, CVE<->GHSA) scoped to package+version, keeping the worst severity: `osv-scanner --recursive` over osv.dev for Dart pub, Elixir/Hex (and Erlang, whose `rebar.lock` syft first converts to a CycloneDX SBOM the scanner reads, with rows attributed back to the lock), Go, Java and Kotlin via Maven/Gradle (and Scala, whose sbt build's pinned direct declarations are written into a CycloneDX SBOM the scanner reads, with rows attributed back to the build file), npm, PHP/Composer, Python/PyPI, RubyGems, Rust/Cargo and Swift; `trivy fs --scanners vuln` for npm lockfiles; and `dotnet list package --vulnerable --include-transitive` for NuGet (with per-advisory collapse of the project x target-framework fan-out), plus a DECLARED-dependency arm that resolves a published gem's gemspec against rubygems.org where no Gemfile.lock is committed. `SeverityScore(c,h,m,l, normalizer 8.0)`. NotApplicable only when NO ecosystem is readable; if any applicable ecosystem could not be scanned the findings are REPORTED and the score is withheld. Supersedes the npm and OSV arms, retired 2026-09-05.
+ 1 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Resolve the 60 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (48), REDACTED (9), REDACTED (2). — One of this dimension's main actionable groups (60 issue-level).
Resolve the 7 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (7). — One of this dimension's main actionable groups (7 issue-level).
Resolve the 4 High vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED (4). — One of this dimension's main actionable groups (4 issue-level).
Detailed fixes: d30_recommendation.md · top locations in Appendix A, every location in findings.md.
Resolve the 37 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (7), REDACTED (3), REDACTED (3). — One of this dimension's main actionable groups (37 warning-level).
Resolve the 6 High IaC finding(s) in IaC & Container Security — start with REDACTED (4), REDACTED, REDACTED. — One of this dimension's main actionable groups (6 issue-level).
Resolve the 1 Low IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 recommendation-level).
Detailed fixes: d31_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether anyone still has living knowledge of each file, or it has been orphaned — last understood long ago by someone now gone quiet. The sibling of the bus factor: D16 asks who owns it, D34 asks whether anyone still knows it.
Method: File orphaning as total living-knowledge decay below one focused-commit's worth within a year, computed per-file from the D16 decay model. Exhaustive, deterministic over fixed history.
139 of 1051 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java. Counted over 1051 of the 2184 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
Resolve the 5 Orphaned knowledge finding(s) in Knowledge Freshness — start with RedisExecutionDAO.java, KafkaObservableQueue.java, Query.java. — One of this dimension's main actionable groups (5 issue-level).
Resolve the 134 Orphaned file finding(s) in Knowledge Freshness — start with AbstractNode.java (2), Message.java (2), ConstValue.java (2). — One of this dimension's main actionable groups (134 recommendation-level).
Resolve the 1 Further orphaned files (smaller) finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
Detailed fixes: d34_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether files that change together actually belong together — pairs that repeatedly co-change in git history despite having no explicit code dependency, surfacing the hidden/logical coupling (and boundaries in the wrong place) a static scan can't see.
Method: Pairwise co-occurrence over the per-commit file sets in git history (production source only — tests and generated dropped): Degree-of-Coupling = shared ÷ min individual revisions, reported above noise floors (each file ≥10 revisions, ≥5 shared commits, ≥50% strength); sweeping commits excluded. Deterministic over fixed history.
Coverage: Population: PRODUCTION source files only — test and generated files are dropped before pairing, so a class co-changing with its own test (trivially ~100%) can't drown the real production↔production coupling. Pairs ranked by Degree-of-Coupling. A non-source file is never a coupling PARTICIPANT either: documentation, schemas, config and data files are dropped with the rest, so a code↔docs pair — a command and the reference page that restates it — is not reported however strongly the two co-change; nor is coupling that runs THROUGH a build step or config file.
Resolve the 2 Change coupling finding(s) in Change Coupling — start with MetadataServiceImpl.java, ExecutionService.java. — One of this dimension's main actionable groups (2 warning-level).
Detailed fixes: d35_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether the build pipeline provides supply-chain integrity — generated provenance/attestation, signed artifacts (cosign/sigstore), an SBOM, and pinned build actions. Presence of the configuration, not a runtime guarantee.
Method: Supply-chain provenance/signing read deterministically from CI/build config (.github/workflows, .gitlab-ci.yml, azure-pipelines, Jenkinsfile, .circleci) + the release surface: four signals — generated provenance/attestation (SLSA/in-toto/actions-attest), artifact signing (cosign/sigstore/gitsign), an SBOM (syft/sbom-action/*.spdx.json/*.cdx.json), and SHA-pinned build actions — scored 10·present/denom. NotApplicable without a build pipeline. Detects configuration presence, not runtime enforcement.
What it measures: Whether the repository publishes a coordinated-vulnerability-disclosure policy (SECURITY.md or security.txt) with a reporting contact, so finders know how to report a vulnerability. Presence of a policy file with a contact, not whether the policy is adequate or honoured.
Method: Vulnerability-disclosure policy read deterministically from the repo: a SECURITY.md (root/.github/docs) or .well-known/security.txt / security.txt, regex-checked for a reporting contact (email / URL / mailto). Present + contact → 10; present without a contact → 4; NotApplicable when no policy file exists (it may live off-repo). Detects the policy file's presence + contact, not its adequacy.
What it measures: Whether any dependency the repository declares is published as MALICIOUS rather than merely vulnerable — a package that is an attacker's work, in any ecosystem osv-scanner reads. Scored apart from D30 because the answer is binary: there is no safe version to upgrade to, and the fix is to remove the package and rotate every credential it could have read.
Method: The same dependency scan D30 reads, partitioned on the scanner's own classification rather than rescanned: a row is MALICIOUS when its id is in the `MAL-` space (the ossf/malicious-packages feed) OR its `database_specific.cwe_ids` carries `CWE-506` ("Embedded Malicious Code"). Both channels are structural; the summary text is deliberately NOT read, because a malicious-package record whose summary says only "Critical severity vulnerability" is a real shape ([GHSA redacted]) and a text matcher misses it. Scored BINARY: any surviving row is 0, whatever its severity and however many CVEs sit beside it — a hostile dependency is not a quantity. Applicability and degradation are D30's: NotApplicable only when no ecosystem is readable, and an unscannable ecosystem degrades rather than reading clean. SCORED, not informational.
What it measures: Whether anyone still ships security patches for the platform this repository RUNS ON — the runtime it pins and the framework majors its own constraints hold it to. Separate from D12 because the question differs: a current Django on an end-of-life Python is perfectly up to date and completely unsupported, and the fix is a migration rather than a version bump. What the repository says it merely SUPPORTS is never charged.
Method: End-of-life PLATFORM read from the repository's own declarations and graded against a FROZEN, dated table of vendor support dates — no network, no feed, no API, so this dimension answers identically inside a closed scan fence. Two subjects: a RUNTIME the project pins (a single or all-end-of-life TargetFramework, a .nvmrc or .python-version, a requires-python CAP) and a FRAMEWORK major a dependency constraint cannot move off (a caret, tilde or exact version; `vue@^2.7.16` pins Vue 2). A FLOOR is deliberately never charged — `requires-python = ">=3.8"` states what a package SUPPORTS, not what it runs on — and a multi-target project is charged only when EVERY target is out of support. Runtime 4.0/product capped 8.0, framework 1.5 capped 4.5. The table is safe to freeze because a statement about support that ended in the past cannot become false: it loses recall as it ages, never precision, and a test asserts every entry predates the freeze date. Disjoint from D31 (a container image's OS layer) and D29 (the toolchain a CI workflow installs). Abstains when the repository declares no platform this pass reads — never scores it clean.
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 1 platform declaration(s) and 78 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
✓ On the Gold path — maintain.
Detailed fixes: d44_recommendation.md.
Do you agree with this assessment?
Frontend & cross-cutting dimensions
R = React/JS · M = Maturity · P = Readiness.
AC1 · Text alternatives5.6 / 10Adequate✓ Tool-verified
Other · Accessibility — Whether non-text content carries a text alternative — img/area/input[type=image] have alt, a meaningful svg has a title or aria-label, video has a captions track, and object/embed/canvas have a name or fallback content. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: every img/area/input[type=image] checked for alt, svg[role=img] for a title/aria-label, video for a captions <track>. Components skipped, spreads suppressed. Deterministic, hard fact per element.
Coverage: Population: image/media elements — img, area, input[type=image], svg, video, object, embed, canvas — across the PARSED MARKUP files only (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx); components, hidden subtrees and dynamic-attribute elements are skipped. Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is NOT read by any producer, so it contributes no element to this population; where such a frontend is present the card discloses it as an analyzer gap rather than scoring around it.
An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative. — ui-next/src/components/EmptyPageIntro.tsx:100
An svg presented as an image needs a name — add a <title> child or an aria-label/aria-labelledby. — ui-next/src/components/features/flow/components/shapes/TaskCard/icons/Kafka.jsx:3
What to do
Add a text alternative — alt on images (alt="" for purely decorative ones), a title or aria-label on meaningful svg, an aria-label or inner fallback content on canvas, and a captions <track> on video.
Do you agree with this assessment?
AC2 · Forms & labels3.6 / 10Weak✓ Tool-verified
Other · Accessibility — Whether form controls have a programmatic label (an associated label, aria-label or aria-labelledby), buttons have text, links have an accessible name, a click handler on a plain element names the control it declares, fieldsets have a non-empty legend, known UI-library field components carry a label prop, and a placeholder isn't used as the only label. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: inputs/selects/textareas checked for an associated label[for]/wrapping label/aria-label/aria-labelledby (per document), buttons for accessible text, fieldsets for a legend; placeholder-only labelling flagged. Deterministic, hard fact per control.
Coverage: Population: form controls, buttons, links, fieldsets and known UI-library field components in the PARSED MARKUP files only (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx); components, hidden subtrees and spread/dynamic-attribute elements are skipped, so a control whose label arrives through a spread or a runtime expression is deliberately not judged. Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is not read at all.
This UI-library field component has no label / aria-label / aria-labelledby / id — and neither does anything it renders (a name prop is the form-submission key, not a label) — so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed. (×9) — ui-next/src/components/SubjectSelector/SubjectMultiPicker.tsx:39, ui-next/src/components/inputs/AdvancedSearchFieldPopper.tsx:129, ui-next/src/components/inputs/ConductorUpdateTaskFromEvent.tsx:36, …
This UI-library field component is named only by a placeholder — a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed. (×2) — ui-next/src/components/TagFilter.tsx:318, ui-next/src/pages/execution/AgentExecution/HumanInputPanel.tsx:178
This <div> carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to <button type="button"> — the right fix for its keyboard operability — does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label. (×3) — ui-next/src/components/features/flow/components/graphs/CustomEdgeButton.tsx:211, ui-next/src/components/features/flow/components/graphs/CustomEdgeButton.tsx:229, ui-next/src/components/features/flow/components/shapes/TaskCard/SwitchAdd.tsx:56
This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing it renders carries one either (a name prop is the form-submission key, not a label). The text inside it does not stand in for one: these compound APIs render a trigger with role="combobox" (or role="button"), and those roles take their name from the AUTHOR, not from their content — so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed. (×10) — ui-next/src/components/layout/section/ConductorSectionHeader.tsx:126, ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ChunkTextTaskForm.tsx:302, ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx:668, …
This <label> has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association — it is the TARGET of one, so a control still has to point at it. Give the label htmlFor="<the control's id>", move the control inside the label, or point the control's aria-labelledby at this label's id. (×3) — ui-next/src/pages/definition/GraphPanel.tsx:73, ui-next/src/pages/definitions/EventHandler.tsx:404, ui-next/src/pages/definitions/Scheduler/Schedules.tsx:789
What to do
Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label.
Other · Accessibility — Whether pages declare a language (well-formed BCP-47) and a non-empty title, expose exactly one main landmark and a sane heading order with non-empty headings, keep zoom enabled, title their iframes, give data tables header cells, and avoid meta-refresh. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: html lang, document <title>, a main landmark and heading order on full documents only, plus zoom-disabling viewports, untitled iframes and meta-refresh anywhere. Deterministic, per structural checkpoint.
Coverage: Population: the PARSED MARKUP documents (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx). The page-level checks — lang, title, single main landmark — fire ONCE PER FULL DOCUMENT (an <html> root) and never on a partial or component fragment, so a repo of fragments is assessed only on the per-element checks (heading order, table headers, iframe titles, meta-refresh, zoom). Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is not read at all.
No <main> (or role="main") means no "skip to content" target and a weaker landmark map. This document's body is only the mount point <div id="root">, so there is no content here to wrap — render the <main> from the component mounted into it. (×2) — ui-next/index.html:2, ui/public/index.html:2
What to do
Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
Other · Accessibility — Whether interactive behaviour is keyboard-reachable — no click handler on a non-interactive element lacking a role, tabindex and key handler, no element the repo's own CSS styles `cursor: pointer` without giving it any of the three, no unfocusable element whose only binding is a mouse enter/leave pair or a double-click, no positive tabindex, no href-less anchor, no placeholder-href (#/javascript) link acting as a button. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: click handlers on non-interactive elements lacking role+tabindex+key handler, positive tabindex values, and href-less anchors. Components skipped, spreads suppressed. Deterministic, hard fact per element.
Coverage: Population: elements that pose a keyboard-semantics question, in the PARSED MARKUP files only (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx) — a non-natively-interactive element carrying a click handler, a double-click or hover enter/leave binding, a pointer-only gesture on a tabindex="0" element, or `cursor: pointer` from the repo's own CSS; an href-less or placeholder-href (#, javascript:) anchor; and any element with a positive tabindex. Natively interactive elements used correctly (<button>, <a href>, form controls) are NOT in the population — there is nothing to judge — so a page of nothing but correct controls gives AC4 nothing to measure. Keyboard reachability is judged from the markup, never from a rendered page. ★ An interactive element declared in a tagged-template (html`…`) or hyperscript frontend is NOT in this population — no producer reads either — so an empty population is reported as an analyzer gap, never as "this repository has no interactive elements".
A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler. (×20) — ui-next/src/components/features/flow/components/graphs/CustomEdgeButton.tsx:211, ui-next/src/components/features/flow/components/graphs/CustomEdgeButton.tsx:229, ui-next/src/components/features/flow/components/graphs/CustomLabel.tsx:59, …
This <div> binds mouse-enter and mouse-leave and nothing else — no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}="0" so the element can receive that focus. — ui-next/src/components/features/flow/components/shapes/DynamicTasksCards.jsx:69
This <div> announces itself as a role="button" and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}="0" and an Enter/Space key handler, or make it a native <button>. If a parent widget owns the keyboard model, that parent must move focus onto the active role="button" or point aria-activedescendant at it. — ui-next/src/components/features/flow/components/shapes/TaskCard/SwitchAdd.tsx:56
What to do
Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
Other · Accessibility — Whether ARIA is used correctly — valid non-abstract roles, the ARIA state a role requires, valid (non-misspelled) aria-* attribute names, in-enum values for token-typed aria-* attributes, and no aria-hidden on (or wrapping) a focusable element. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: role values checked against the WAI-ARIA role set (abstract/invalid flagged), required ARIA state for a role, and aria-hidden on a focusable element. Deterministic, role/attribute level.
Coverage: Population: elements in the PARSED MARKUP files (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx) that carry a role or an aria-* attribute; roles and token values are checked against the ARIA enums exhaustively within that set. An expression-valued (dynamic) role or aria-* value is skipped rather than guessed, and markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is not read at all.
Other · Accessibility — Whether focus outlines aren't removed without a replacement, motion respects prefers-reduced-motion, and literal CSS colour pairs meet contrast — PARTIAL: inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS literals are read (hex/rgb/hsl/named), never computed/runtime/external-CDN colour. Static markup readiness, not a WCAG conformance claim.
Method: Static markup/CSS scan: inline outline:none/0, literal inline colour/background contrast against the 4.5:1 AA floor, and <style>-block animation without a prefers-reduced-motion guard. Deterministic but PARTIAL — only inline styles and in-repo CSS literals are visible.
Coverage: Population: styled elements in the PARSED MARKUP files (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx), plus in-repo <style> blocks, in-repo .css files and CSS-in-JS literals. Colour contrast is computed from LITERAL colour pairs only (hex/rgb/hsl/named, including var() tokens and Tailwind neutral utilities) — computed, runtime-themed and external-CDN colour is never resolved, so this is a partial read of contrast by construction. Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is not read at all.
<div> moves — its inline style sets `transition: transform .1s` — and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:. (×4) — ui-next/src/components/features/flow/components/graphs/PanAndZoomWrapper/PanAndZoomWrapper.tsx:276, ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx:955, ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:1986, …
<div> moves — its inline style sets `transition: transform 0.2s ease-in-out` — and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:. (×2) — ui-next/src/components/features/flow/components/shapes/DynamicTasksCards.jsx:100, ui-next/src/components/features/flow/components/shapes/TaskSummary.jsx:19
<div> moves — its inline style sets `transition: top 0.2s ease-in-out, left 0.2s ease-in-out` — and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:. — ui-next/src/components/features/flow/components/shapes/SideTaskCards.tsx:119
<div> moves — its inline style sets `animation: spin 1s linear infinite` — and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:. — ui/src/pages/errors/ErrorsInspector.jsx:675
`.cookbook-card` moves (`transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — docs/css/custom.css:521
`.framework-logo-card` moves (`transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — docs/css/custom.css:623
`.agent-concepts-next-step` moves (`transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — docs/css/custom.css:1129
`.agent-overview-card--link` moves (`transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — docs/css/custom.css:1177
`.integration-action-card` moves (`transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — docs/css/custom.css:1436
`.btn-arrow` moves (`transition: transform 0.2s`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — docs/css/custom.css:1997
`.logo-track` moves (`animation: marquee-scroll 30s linear infinite`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — docs/css/custom.css:2277
`.arch-card::before` moves (`transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1)`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — docs/css/custom.css:2553
`.hero-title` moves (`animation: fadeUp 0.6s ease-out 0.1s both`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — docs/css/custom.css:2794
`.hero-subtitle` moves (`animation: fadeUp 0.5s ease-out 0.2s both`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — docs/css/custom.css:2797
`.hero-actions` moves (`animation: fadeUp 0.5s ease-out 0.3s both`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — docs/css/custom.css:2800
`.hero-quickstart` moves (`animation: fadeUp 0.5s ease-out 0.4s both`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — docs/css/custom.css:2803
`.feature-card` moves (`animation: fadeUp 0.5s ease-out both`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — docs/css/custom.css:2806
`.section-label` moves (`animation: fadeUp 0.5s ease-out both`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — docs/css/custom.css:2815
`.arch-card` moves (`animation: fadeUp 0.5s ease-out both`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — docs/css/custom.css:2818
`.md-clipboard` moves (`transition: color 0.15s, transform 0.15s`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — docs/css/custom.css:2849
`.sdk-card` moves (`transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — docs/css/custom.css:2928
`.sdk-arrow` moves (`transition: color 0.2s, transform 0.2s`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — docs/css/custom.css:2960
What to do
Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1.
Do you agree with this assessment?
AC7 · A11y enforcement4.0 / 10Weak✓ Tool-verified
Other · Accessibility — Whether accessibility is ENFORCED in the toolchain — an accessibility checker configured over the markup (an a11y lint rule set, e.g. eslint-plugin-jsx-a11y or vuejs-accessibility where the project lints JavaScript) and an automated accessibility assertion wired into tests or CI (axe/pa11y/Lighthouse or an equivalent) — on the Documented→Verified→Prevented ladder.
Method: Repo config/CI scan: an accessibility checker configured over the markup (an a11y lint rule set such as eslint-plugin-jsx-a11y / vuejs-accessibility where JavaScript is linted) and an automated accessibility assertion in tests or CI (axe/pa11y/Lighthouse or equivalent), graded on the Documented→Verified→Prevented rungs. Deterministic, presence/rung detection.
Coverage: Population: the repository's own tooling configuration — lint config, test and CI files — NOT the markup. It is read for a configured accessibility checker and an automated accessibility assertion (axe/pa11y/Lighthouse, or a native-toolkit equivalent), and it credits an INVOCATION, never a mention: a licence filename, an import comment or a doc reference earns no rung. Enforcement configured entirely outside the repository leaves no evidence here and cannot be credited.
No accessibility enforcement found — no a11y linter (eslint-plugin-jsx-a11y) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 678 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository's test and CI files — matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here.
What to do
Enforce accessibility in the toolchain: add eslint-plugin-jsx-a11y, then assert with vitest-axe in tests, then gate axe/pa11y/Lighthouse in CI.
Other · Architecture — Whether any singleton service captures a scoped/transient dependency — a silent lifetime/threading bug.
Method: Roslyn scan: DI registrations parsed from AddSingleton/Scoped/Transient; each singleton checked for captured shorter-lifetime dependencies. Exhaustive, deterministic.
Other · Architecture — How the codebase splits by code ROLE — domain, application, infrastructure, test, generated. The significance map behind the knowledge/coupling weighting, and a DDD signal in its own right: a thin domain core under fat infrastructure is the anemic-domain smell, quantified. How each file's role is decided, because the split is only as good as that: a generated name or a build-output tree makes it Generated, a test project makes it Test, and otherwise the file's NAMESPACE and PATH words are matched against fixed vocabularies in a fixed ORDER — domain, then infrastructure, then application — so a file whose words hit two layers is counted under the earlier one. A production file matching none of them counts as application, so that share reads 'application or unclassified' rather than a measured application layer. Roles come from naming convention, never from what the code does. On this repository the split was taken from the source tree on disk rather than from a loaded .NET workspace, so a file's role is decided by its PATH segments alone — no declared namespace was available to add to the evidence — and generated output is excluded from the census entirely rather than counted as a generated share.
Method: Roslyn line-count by code ROLE: every source file classified Domain/Application/Infrastructure/Test/Generated by namespace + path convention (the shared CodeRoleClassifier), then significant lines summed per role. Deterministic; the advisory score is the business-logic (domain+application) share of production code.
Coverage: Population: ALL source files, each bucketed into ONE of five roles (Domain/Application/Infrastructure/Test/Generated) by namespace + path convention — a file whose layer isn't named in the convention falls to Application (the neutral default), and the split is line-count, not semantic depth or business value.
What to do
The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
Other · Architecture — Whether singleton services avoid mutable shared instance state that concurrent callers would race on.
Method: Roslyn scan: singleton field mutations unguarded by lock or Interlocked, per type; syntax-based guard detection. Deterministic, traceable per field.
`RestClientManager` is a singleton (@Bean: the container shares one instance across every request thread) but mutates instance state outside any lock (notifType, notifId; e.g. `notifType` in `postNotification` at line 180). — task-status-listener/src/main/java/com/netflix/conductor/contribs/listener/RestClientManager.java:41
`PostgresPollDataDAO` is a singleton (@Bean: the container shares one instance across every request thread) but mutates instance state outside any lock (lastFlushTime; e.g. `lastFlushTime` in `flushData` at line 213). — postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java:38
`IsolatedTaskQueueProducer` is a singleton (@Component: the container shares one instance across every request thread) but mutates instance state outside any lock (listeningQueues; e.g. `listeningQueues` in `addTaskQueues` at line 101). — core/src/main/java/com/netflix/conductor/core/execution/tasks/IsolatedTaskQueueProducer.java:44
`A2AWorkers` is a singleton (@Component: the container shares one instance across every request thread) but mutates instance state outside any lock (agentClients; e.g. `agentClients` in `register` at line 135). — ai/src/main/java/org/conductoross/conductor/ai/tasks/worker/A2AWorkers.java:72
What to do
Java/Kotlin: keep container singletons stateless — move per-request data into locals or a request-scoped bean — or back the state with java.util.concurrent types (ConcurrentHashMap, AtomicInteger/AtomicReference), guard it with synchronized / a Lock (Kotlin: withLock), or mark a flag that is only ever overwritten volatile (@Volatile).
Other · Architecture — Whether the project-reference graph is acyclic (cycles block independent build/deploy and signal eroding boundaries).
Method: Project reference cycles via elementary-DFS over real .csproj references, using the engine shared with D5/D7; cyclic versus acyclic. Exhaustive, deterministic.
Other · Architecture — Whether the codebase has a recognisable, scale-appropriate structure (a named architectural style, or modular enough for its size) rather than being an ad-hoc ball of mud.
Method: Roslyn plus csproj analysis: architecture style detection (DDD, clean, vertical-slice, CQRS) and structure fitness for repo size. Deterministic.
Other · Architecture — Whether interfaces stay focused rather than fat — the Interface-Segregation principle (SOLID 'I').
Method: Roslyn scan: public interface declared-member counts (accessors fold into their property/event); fat-interface threshold (over 15 declared members) flagged per type. Each finding also reports the distinct-OPERATION count — members counted by name, so an overload group counts once — which decides whether it states the caller-side ISP harm or the implementer-side burden of an overload set. TypeScript: exported interfaces that declare behaviour, counted over their REQUIRED operations (method signatures and function-typed properties with no `?`, once per signature) — data-shape interfaces and ambient .d.ts declarations are outside the population; JavaScript declares no interfaces and is not applicable. Deterministic, type-level.
`PluginRegistry` declares 26 required operations: `register`, `getPlugins`, `getRoutes`, `getPublicRoutes`, `getSidebarItems`, `getTaskForm`, `getTaskMenuItems`, `getAuthProvider`, `getSearchProviders`, `getSidebarExtensions`, `getTaskDocUrl`, `getTaskDocUrls`, `getGlobalComponents`, `getNewIntegrationModal`, `getPlaygroundHomePage`, `getAppLayout`, `getDependencySections`, `getTaskExecutionPanels`, `getTaskValidationErrors`, `runPreSaveValidation`, `getSchemaEditDialog`, `getSchemaPreviewDialog`, `getGeneratedKeyDialog`, `getLoginPage`, `getAuthGuard`, `getAccessToken`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — ui-next/src/plugins/registry/types.ts:585
`AdvancedSearchProps` declares 17 required operations: `doSearch`, `getTableTitle`, `setFreeText`, `setStatus`, `setStartTimeFrom`, `onStartFromChange`, `setStartTimeTo`, `onStartToChange`, `setEndTimeFrom`, `onEndFromChange`, `setEndTimeTo`, `onEndToChange`, `setFromDisplayTime`, `setToDisplayTime`, `setOpenDateSelect`, `setStartOpenDatePicker`, `setEndOpenDatePicker`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. (×2) — ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx:45, ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx:45
`BasicSearchProps` declares 17 required operations: `doSearch`, `getTableTitle`, `setFreeText`, `setStatus`, `setStartTimeFrom`, `onStartFromChange`, `setStartTimeTo`, `onStartToChange`, `setEndTimeFrom`, `onEndFromChange`, `setEndTimeTo`, `onEndToChange`, `setFromDisplayTime`, `setToDisplayTime`, `setOpenDateSelect`, `setStartOpenDatePicker`, `setEndOpenDatePicker`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. (×2) — ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx:40, ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx:40
`JedisCommands` declares 59 abstract methods: `del`, `evalsha`, `evalsha`, `exists`, `expire`, `get`, `getBytes`, `hdel`, `hexists`, `hget`, `hincrBy`, `hlen`, `hscan`, `hscan`, `hset`, `hset`, `hsetnx`, `hvals`, `incrBy`, `info`, `llen`, `lrange`, `ltrim`, `mget`, `mgetBytes`, `mset`, `persist`, `ping`, `rpush`, `sadd`, `scan`, `scard`, `scriptLoad`, `set`, `set`, `set`, `set`, `setnx`, `sismember`, `smembers`, and 19 more. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. Those 59 declarations carry 49 distinct name(s), so part of the width is overloading rather than separate responsibilities — but 49 operations clears the >15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — redis-api/src/main/java/com/netflix/conductor/redis/jedis/JedisCommands.java:26
`ExecutionDAO` declares 26 abstract methods: `addEventExecution`, `canSearchAcrossWorkflows`, `createTasks`, `createWorkflow`, `getInProgressTaskCount`, `getPendingTasksByWorkflow`, `getPendingTasksForTaskType`, `getPendingWorkflowCount`, `getPendingWorkflowsByType`, `getRunningWorkflowIds`, `getTask`, `getTasks`, `getTasks`, `getTasksForWorkflow`, `getWorkflow`, `getWorkflow`, `getWorkflowsByCorrelationId`, `getWorkflowsByType`, `removeEventExecution`, `removeFromPendingWorkflow`, `removeTask`, `removeWorkflow`, `removeWorkflowWithExpiry`, `updateEventExecution`, `updateTask`, `updateWorkflow`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. Those 26 declarations carry 24 distinct name(s), so part of the width is overloading rather than separate responsibilities — but 24 operations clears the >15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — core/src/main/java/com/netflix/conductor/dao/ExecutionDAO.java:23
`IndexDAO` declares 29 abstract methods: `addEventExecution`, `addMessage`, `addTaskExecutionLogs`, `asyncAddEventExecution`, `asyncAddMessage`, `asyncAddTaskExecutionLogs`, `asyncIndexTask`, `asyncIndexWorkflow`, `asyncRemoveTask`, `asyncRemoveWorkflow`, `asyncUpdateTask`, `asyncUpdateWorkflow`, `get`, `getEventExecutions`, `getMessages`, `getTaskExecutionLogs`, `getWorkflowCount`, `indexTask`, `indexWorkflow`, `removeTask`, `removeWorkflow`, `searchArchivableWorkflows`, `searchTaskSummary`, `searchTasks`, `searchWorkflowSummary`, `searchWorkflows`, `setup`, `updateTask`, `updateWorkflow`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — core/src/main/java/com/netflix/conductor/dao/IndexDAO.java:26
`WorkflowExecutor` declares 22 abstract methods: `decide`, `decideWithLock`, `getRunningWorkflowIds`, `getRunningWorkflows`, `getTask`, `getWorkflow`, `getWorkflows`, `pauseWorkflow`, `rerun`, `resetCallbacksForWorkflow`, `restart`, `resumeWorkflow`, `retry`, `scheduleNextIteration`, `skipTaskFromWorkflow`, `startAgentExecution`, `startAgentExecution`, `startWorkflow`, `startWorkflowIdempotent`, `terminateWorkflow`, `terminateWorkflow`, `updateTask`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. Those 22 declarations carry 20 distinct name(s), so part of the width is overloading rather than separate responsibilities — but 20 operations clears the >15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutor.java:32
`MetadataService` declares 22 abstract methods: `addEventHandler`, `findWorkflowDef`, `getAllEventHandlers`, `getEventHandlersForEvent`, `getLatestWorkflow`, `getTaskDef`, `getTaskDefs`, `getWorkflowDef`, `getWorkflowDefs`, `getWorkflowDefsLatestVersions`, `getWorkflowNames`, `getWorkflowNamesAndVersions`, `getWorkflowVersions`, `registerTaskDef`, `registerWorkflowDef`, `removeEventHandlerStatus`, `unregisterTaskDef`, `unregisterWorkflowDef`, `updateEventHandler`, `updateTaskDef`, `updateWorkflowDef`, `updateWorkflowDef`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. Those 22 declarations carry 21 distinct name(s), so part of the width is overloading rather than separate responsibilities — but 21 operations clears the >15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — core/src/main/java/com/netflix/conductor/service/MetadataService.java:33
`TaskService` declares 24 abstract methods: `ackTaskReceived`, `ackTaskReceived`, `allVerbose`, `batchPoll`, `getAllPollData`, `getAllQueueDetails`, `getExternalStorageLocation`, `getPendingTaskForWorkflow`, `getPollData`, `getTask`, `getTaskLogs`, `getTaskQueueSize`, `getTaskQueueSizes`, `getTasks`, `log`, `poll`, `removeTaskFromQueue`, `removeTaskFromQueue`, `requeuePendingTask`, `search`, `searchV2`, `signalTask`, `updateTask`, `updateTask`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. Those 24 declarations carry 21 distinct name(s), so part of the width is overloading rather than separate responsibilities — but 21 operations clears the >15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — core/src/main/java/com/netflix/conductor/service/TaskService.java:34
`WorkflowService` declares 28 abstract methods: `decideWorkflow`, `deleteWorkflow`, `getExecutionStatus`, `getExternalStorageLocation`, `getRunningWorkflows`, `getWorkflowModel`, `getWorkflows`, `getWorkflows`, `pauseWorkflow`, `rerunWorkflow`, `resetWorkflow`, `restartWorkflow`, `resumeWorkflow`, `retryWorkflow`, `searchWorkflows`, `searchWorkflows`, `searchWorkflowsByTasks`, `searchWorkflowsByTasks`, `searchWorkflowsByTasksV2`, `searchWorkflowsByTasksV2`, `searchWorkflowsV2`, `searchWorkflowsV2`, `skipTaskFromWorkflow`, `startWorkflow`, `startWorkflow`, `startWorkflow`, `terminateRemove`, `terminateWorkflow`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. Those 28 declarations carry 21 distinct name(s), so part of the width is overloading rather than separate responsibilities — but 21 operations clears the >15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — core/src/main/java/com/netflix/conductor/service/WorkflowService.java:37
`VideoOptions` declares 20 abstract methods: `getAspectRatio`, `getDuration`, `getFps`, `getGenerateAudio`, `getGenerateThumbnail`, `getGuidanceScale`, `getHeight`, `getInputImage`, `getModel`, `getMotion`, `getN`, `getNegativePrompt`, `getOutputFormat`, `getPersonGeneration`, `getResolution`, `getSeed`, `getSize`, `getStyle`, `getThumbnailTimestamp`, `getWidth`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — ai/src/main/java/org/conductoross/conductor/ai/video/VideoOptions.java:26
What to do
Split fat interfaces into focused role-interfaces so clients depend only on what they use.
Other · Architecture — Whether feature slices stay independent (no direct cross-slice references) — the discipline that makes vertical-slice architecture pay off.
Method: Roslyn scan (vertical-slice gated): feature slices resolved from namespaces (.Features.*, .Slices.*) or project names; cross-slice type references detected. Deterministic, traceable.
Other · Code Health — Unreviewed-generation residue in this repository's JavaScript/TypeScript: functions whose whole body still throws a "not implemented" error, and placeholder text (lorem ipsum, changeme/replace_me…) left in strings and JSX of non-test, non-generated code. Scored as a quality signature, never as a claim about authorship.
Method: Roslyn syntax scan: NotImplementedException throws and placeholder string literals in non-test, non-generated shipped code. Deterministic, code-shape signature.
Other · Code Health — Unfinished work detected by code SHAPE, not keywords, in this repository's JavaScript/TypeScript: functions that only throw a "not implemented" error, functions that take inputs and return a constant or do nothing, async functions that never await, dead `if (false)` branches, and skeleton classes most of whose methods are holes.
Method: Roslyn syntax scan: incompleteness by code shape (constant-returning methods, async-never-await, #if false branches, guards that return what the code already falls through to, tests an earlier guard already decided, comparisons against NaN, skeleton types), not keyword-gated. Deterministic, code-shape heuristic.
`silentlyRefreshToken` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — ui-next/src/components/features/auth/silentRefresh.ts:22
`onClick` is wired to an arrow whose body is empty — the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it. — ui-next/src/components/features/flow/components/RichAddTaskMenu/AddTaskSidebar.tsx:818
`onToggleTaskMenu` is wired to an arrow whose body is empty — the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it. — ui-next/src/components/features/flow/dragDrop/DraggableOverlay.tsx:67
The guard above `return option.title;` also returns `option.title`, so no input can make it matter. Implement the distinction that was intended, or delete the guard. — ui-next/src/components/features/tags/ReplaceTagsInput.tsx:80
The `if` and its `else` contain the same statements, so no input can make the condition matter. Implement the distinction that was intended, or drop the branch and keep the body. (×2) — ui-next/src/components/providers/sidebar/Sidebar.tsx:91, ui/src/components/diagram/WorkflowGraph.jsx:581
Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition. (×4) — ui-next/src/components/providers/sidebar/SidebarItem.tsx:327, ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:1332, ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:2097, …
`onChange` is wired to an arrow whose body is empty — the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it. (×6) — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/GRPCTaskForm/GRPCTaskForm.tsx:431, ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/HTTPTaskForm/EditTaskDefConfigModal.tsx:61, ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/HTTPTaskForm/EditTaskDefConfigModal.tsx:90, …
`onDeleteItem` is wired to an arrow whose body is empty — the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/KafkaTaskForm.tsx:55
The guard above `return true;` also returns `true`, so no input can make it matter. Implement the distinction that was intended, or delete the guard. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/hooks/useSchemaFormHandler.ts:29
`saveOrderAndVisibility` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — ui-next/src/pages/queueMonitor/state/service.ts:49
A test is skipped/ignored — coverage that looks present but never runs. Re-enable it or delete it so the green run means something. (×5) — ui-next/e2e/integration/llm-workflows.spec.ts:600, ui-next/e2e/integration/llm-workflows.spec.ts:636, ui-next/e2e/integration/llm-workflows.spec.ts:672, …
A bare `eslint-disable` or `@ts-nocheck` with no rule list switches every lint rule or the whole type checker off for the rest of the file — hidden debt. Disable the specific rule on the specific line, with a justification, instead. — ui-next/src/growthbook/plugins.ts:1
What to do
Clear the softer debt: re-enable or delete skipped tests, decide whether each empty function is a deliberate no-op (and say so in a comment), and replace blanket `eslint-disable` / `@ts-nocheck` with targeted, justified suppressions.
Maturity · Maturity — Whether the repo and its projects have a README, and whether it's substantive and current.
Method: Filesystem scan: README presence, word count, and headings for depth; git history for staleness. Exhaustive across root and project dirs, deterministic.
What to do
Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
Add a README to the 31 of 52 project(s) that lack one — worth up to 1.2 pts.
Maturity · Maturity — Whether key decisions (ADRs) and the high-level shape (C4/diagrams) are written down.
Method: Filesystem scan: ADR folder/naming conventions or content, plus Mermaid/PlantUML/C4/architecture.md discovery. Exhaustive, deterministic.
No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
Maturity · Maturity — Whether the README actually describes the code that exists (LLM-judged, advisory).
Method: Judged by language model at low temperature: README accuracy versus actual projects, within a disclosed tolerance. Advisory, not a measured number.
README.md runs `.\install.ps1 -All`, but `install.ps1` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — README.md:194
README.md runs `powershell -c "irm https://conductor-oss.github.io/conductor-skills/install.ps1 -OutFile install.ps1`, but `https:/conductor-oss.github.io/conductor-skills/install.ps1` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — README.md:197
README.md installs `@io-orkes/conductor-javascript` (`npm install @io-orkes/conductor-javascript`), but no REDACTED declares it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — README.md:208
README.md installs the package `conductor-csharp` (`dotnet add package conductor-csharp`), but no project or props file references it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — README.md:210
ai/README.md links to `url`, but `ai/url` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — ai/README.md:372
ai/README.md documents the environment variable `LITELLM_API_KEY`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — ai/README.md:714
docker/README.md links to `docker/server/config/config.properties`, but `docker/docker/server/config/config.properties` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docker/README.md:24
docker/README.md runs `yarn build:`, but no REDACTED declares a `build:` script. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docker/README.md:61
nats-streaming/README.md links to `amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/config/AMQPEventQueueProperties.java`, but `nats-streaming/amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/config/AMQPEventQueueProperties.java` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — nats-streaming/README.md:32
ui-next/README.md names `docker/build-push-action`, but no file or folder `docker/build-push-action` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — ui-next/README.md:263
docs/quickstart/first-agent.md installs `@io-orkes/conductor-javascript` (`npm install @io-orkes/conductor-javascript`), but no REDACTED declares it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/quickstart/first-agent.md:117
docs/quickstart/first-agent.md installs the package `conductor-ai` (`dotnet add package conductor-ai`), but no project or props file references it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/quickstart/first-agent.md:155
docs/quickstart/first-worker.md installs `@io-orkes/conductor-javascript` (`npm install @io-orkes/conductor-javascript`), but no REDACTED declares it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/quickstart/first-worker.md:202
docs/quickstart/first-worker.md runs `npx tsx quickstart.ts`, but `quickstart.ts` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/quickstart/first-worker.md:249
docs/quickstart/first-worker.md installs the package `conductor-csharp` (`dotnet add package conductor-csharp`), but no project or props file references it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/quickstart/first-worker.md:262
docs/devguide/ai/agent-configuration.md documents the setting `context_window_budget`, but no code or configuration file names `context_window_budget`. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/devguide/ai/agent-configuration.md:30
docs/devguide/ai/agent-configuration.md documents the setting `local_code_execution`, but no code or configuration file names `local_code_execution`. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/devguide/ai/agent-configuration.md:42
docs/devguide/ai/agent-configuration.md documents the setting `allowed_languages`, but no code or configuration file names `allowed_languages`. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/devguide/ai/agent-configuration.md:43
docs/devguide/ai/agent-configuration.md documents the setting `on_event`, but no code or configuration file names `on_event`. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/devguide/ai/agent-configuration.md:62
docs/devguide/ai/agent-configuration.md documents the setting `run_settings`, but no code or configuration file names `run_settings`. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/devguide/ai/agent-configuration.md:63
docs/devguide/ai/first-ai-agent.md documents the environment variable `CONDUCTOR_AGENT_LLM_MODEL`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/devguide/ai/first-ai-agent.md:56
docs/devguide/how-tos/conductor-skills.md runs `.\install.ps1 -All`, but `install.ps1` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/devguide/how-tos/conductor-skills.md:39
docs/devguide/how-tos/conductor-skills.md names `.github/copilot-instructions.md`, but no file or folder `.github/copilot-instructions.md` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/devguide/how-tos/conductor-skills.md:321
docs/devguide/running/source.md documents the environment variable `CONDUCTOR_VER`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/devguide/running/source.md:52
docs/documentation/cli/index.md documents the environment variable `INSTALL_DIR`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/documentation/cli/index.md:30
docs/documentation/cli/index.md documents the environment variable `CONDUCTOR_SERVER_TYPE`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/documentation/cli/index.md:98
docs/documentation/cli/index.md documents the environment variable `CONDUCTOR_PROFILE`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/documentation/cli/index.md:101
docs/documentation/clientsdks/csharp-sdk.md installs the package `conductor-csharp` (`dotnet add package conductor-csharp --version VERSION`), but no project or props file references it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/documentation/clientsdks/csharp-sdk.md:12
docs/documentation/clientsdks/go-sdk.md documents the environment variable `CONDUCTOR_CLIENT_HTTP_TIMEOUT`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/documentation/clientsdks/go-sdk.md:170
docs/documentation/clientsdks/js-sdk.md installs `@io-orkes/conductor-javascript` (`npm install @io-orkes/conductor-javascript`), but no REDACTED declares it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/documentation/clientsdks/js-sdk.md:12
docs/documentation/clientsdks/js-sdk.md runs `npx tsx quickstart.ts`, but `quickstart.ts` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/documentation/clientsdks/js-sdk.md:105
docs/documentation/clientsdks/js-sdk.md documents the environment variable `CONDUCTOR_WORKER_ALL_POLL_INTERVAL`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/documentation/clientsdks/js-sdk.md:213
docs/documentation/clientsdks/js-sdk.md documents the environment variable `CONDUCTOR_WORKER_ALL_CONCURRENCY`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/documentation/clientsdks/js-sdk.md:214
docs/documentation/clientsdks/js-sdk.md documents the environment variable `CONDUCTOR_WORKER_SEND_EMAIL_CONCURRENCY`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/documentation/clientsdks/js-sdk.md:217
docs/documentation/clientsdks/js-sdk.md documents the environment variable `CONDUCTOR_WORKER_PROCESS_PAYMENT_DOMAIN`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/documentation/clientsdks/js-sdk.md:218
docs/documentation/clientsdks/rust-sdk.md documents the environment variable `CONDUCTOR_WORKER_ALL_POLL_INTERVAL_MILLIS`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/documentation/clientsdks/rust-sdk.md:201
docs/documentation/clientsdks/rust-sdk.md documents the environment variable `CONDUCTOR_WORKER_ALL_THREAD_COUNT`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/documentation/clientsdks/rust-sdk.md:202
docs/documentation/clientsdks/rust-sdk.md documents the environment variable `CONDUCTOR_WORKER_ALL_DOMAIN`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/documentation/clientsdks/rust-sdk.md:203
docs/documentation/clientsdks/rust-sdk.md documents the environment variable `CONDUCTOR_WORKER_GREETINGS_THREAD_COUNT`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/documentation/clientsdks/rust-sdk.md:206
docs/devguide/ai/cookbook/agent-tool-calling.md documents the environment variable `CONDUCTOR_AGENT_LLM_MODEL`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/devguide/ai/cookbook/agent-tool-calling.md:31
What to do
Reconcile the README with reality: README.md runs `.\install.ps1 -All`, but `install.ps1` does not exist; README.md runs `powershell -c "irm https://conductor-oss.github.io/conductor-skills/install.ps1 -OutFile install.ps1`, but `https:/conductor-oss.github.io/conductor-skills/install.ps1` does not exist; README.md installs `@io-orkes/conductor-javascript` (`npm install @io-orkes/conductor-javascript`), but no REDACTED declares it; README.md installs the package `conductor-csharp` (`dotnet add package conductor-csharp`), but no project or props file references it; ai/README.md links to `url`, but `ai/url` does not exist.
Readiness · Readiness — Whether an automated pipeline builds and tests every change.
Method: Filesystem scan: CI workflow files (.github/workflows, .gitlab-ci.yml, etc.) for build and test stages. Exhaustive, deterministic.
`pnpm prettier:check` invokes prettier in the mode that REWRITES the files it reformats and exits 0 whatever it changed. The rewrite happens inside the runner's throwaway checkout and is then discarded, so the step passes on a badly-formatted change exactly as it passes on a clean one — it enforces nothing, and no other step in this file reads the result. `--check` is the flag that turns the same invocation into a gate: it leaves the files alone and exits non-zero when anything would have been reformatted. — REDACTED:48
What to do
Add `--check` to the prettier step in `REDACTED` so a change that is not formatted fails CI, instead of being silently reformatted into a checkout that is thrown away — or, if reformatting the branch is the intent, commit the result back so the fix reaches the repository.
Do you agree with this assessment?
P10 · Library API & versioning10.0 / 10Exemplary○ Nothing flagged
Readiness · Readiness — For a library: a deliberate (small) public API surface and explicit semantic versioning so consumers can depend on it safely.
Method: Roslyn scan: public API surface area and semantic-versioning markers (SemVer attributes, changelog entries) for libraries; off .NET, a library is the ecosystem's publication act (an npm package that is not private and names an entry point, a PyPI distribution with a build system, a Rust library crate, a Maven/Gradle module that publishes, a Go module with no package main, a gemspec, a Composer library, a SwiftPM library product, a pub.dev or Hex package), its surface is the share of types the language model records as public (Rust, Swift, Java, Kotlin, Go, Dart; not measured where the model records no type visibility or, as in TypeScript, only module-level export), and its version is read from the manifest, a semver CHANGELOG, release tooling or semver git tags. Exhaustive, deterministic.
Only 39/41 runnable modules use logging (modules with no entry point or server are excluded — they are libraries a runnable module hosts). Silent: `.`, `annotations-processor`.
`ui-next/src/components/ErrorBoundary.tsx` reports through `console.*` at line 27 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/components/ErrorBoundary.tsx:27
`ui-next/src/components/features/agent/useAiContext.ts` reports through `console.*` at line 56 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/components/features/agent/useAiContext.ts:56
`ui-next/src/components/features/charts/chartUtils.ts` reports through `console.*` at line 70 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/components/features/charts/chartUtils.ts:70
`ui-next/src/components/features/charts/chartUtils.ts` reports through `console.*` at line 94 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/components/features/charts/chartUtils.ts:94
`ui-next/src/components/features/flow/components/RichAddTaskMenu/state/actions.ts` reports through `console.*` at line 94 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/components/features/flow/components/RichAddTaskMenu/state/actions.ts:94
`ui-next/src/components/features/flow/components/graphs/PanAndZoomWrapper/exportDiagram.ts` reports through `console.*` at line 66 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/components/features/flow/components/graphs/PanAndZoomWrapper/exportDiagram.ts:66
`ui-next/src/components/features/flow/state/service.ts` reports through `console.*` at line 104 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/components/features/flow/state/service.ts:104
`ui-next/src/pages/definition/EditorPanel/CodeEditorTab/CodeTab.tsx` reports through `console.*` at line 168 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/pages/definition/EditorPanel/CodeEditorTab/CodeTab.tsx:168
`ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SimpleTaskNameInput.tsx` reports through `console.*` at line 115 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SimpleTaskNameInput.tsx:115
`ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/MCPTaskForm.tsx` reports through `console.*` at line 236 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/MCPTaskForm.tsx:236
`ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ChunkTextTaskForm.tsx` reports through `console.*` at line 227 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ChunkTextTaskForm.tsx:227
`ui-next/src/pages/eventMonitor/EventMonitorDetail/Refresher/state/services.ts` reports through `console.*` at line 29 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/pages/eventMonitor/EventMonitorDetail/Refresher/state/services.ts:29
`ui-next/src/pages/eventMonitor/EventMonitorDetail/Refresher/state/services.ts` reports through `console.*` at line 44 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/pages/eventMonitor/EventMonitorDetail/Refresher/state/services.ts:44
`ui-next/src/pages/eventMonitor/EventMonitorDetail/Refresher/state/services.ts` reports through `console.*` at line 64 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/pages/eventMonitor/EventMonitorDetail/Refresher/state/services.ts:64
`ui-next/src/pages/execution/WorkflowIntrospection.tsx` reports through `console.*` at line 327 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/pages/execution/WorkflowIntrospection.tsx:327
`ui-next/src/pages/execution/WorkflowIntrospection.tsx` reports through `console.*` at line 866 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/pages/execution/WorkflowIntrospection.tsx:866
`ui-next/src/pages/execution/AgentExecution/AgentExecutionTab.tsx` reports through `console.*` at line 65 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/pages/execution/AgentExecution/AgentExecutionTab.tsx:65
`ui-next/src/pages/execution/AgentExecution/AgentExecutionTab.tsx` reports through `console.*` at line 129 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/pages/execution/AgentExecution/AgentExecutionTab.tsx:129
`ui-next/src/pages/scheduler/Schedule.tsx` reports through `console.*` at line 184 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/pages/scheduler/Schedule.tsx:184
`ui-next/src/plugins/registry/registry.ts` reports through `console.*` at line 89 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/plugins/registry/registry.ts:89
`ui-next/src/plugins/registry/registry.ts` reports through `console.*` at line 103 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/plugins/registry/registry.ts:103
`ui-next/src/plugins/registry/registry.ts` reports through `console.*` at line 423 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/plugins/registry/registry.ts:423
`ui-next/src/shared/createAndDisplayApplication/MetadataBanner.tsx` reports through `console.*` at line 247 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/shared/createAndDisplayApplication/MetadataBanner.tsx:247
`ui-next/src/utils/utils.ts` reports through `console.*` at line 62 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/utils/utils.ts:62
`ui-next/src/utils/utils.ts` reports through `console.*` at line 70 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/utils/utils.ts:70
`ui-next/src/utils/utils.ts` reports through `console.*` at line 370 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/utils/utils.ts:370
`ui-next/src/utils/monitoring.ts` reports through `console.*` at line 16 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/utils/monitoring.ts:16
`ui-next/src/utils/monitoring.ts` reports through `console.*` at line 17 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/utils/monitoring.ts:17
`ui-next/src/utils/monitoring.ts` reports through `console.*` at line 18 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/utils/monitoring.ts:18
`ui-next/src/utils/hooks/useConductorProjectBuilder.ts` reports through `console.*` at line 188 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/utils/hooks/useConductorProjectBuilder.ts:188
`ui-next/src/utils/hooks/useConductorProjectBuilder.ts` reports through `console.*` at line 243 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — ui-next/src/utils/hooks/useConductorProjectBuilder.ts:243
What to do
Extend structured logging to the remaining runnable modules so everything you run is diagnosable in production.
Route service-code `console.*` output through the module's structured logger (with named fields), so delivery outcomes and failures reach the log pipeline with a level.
Readiness · Readiness — Whether SAST, secret/dependency scanning and performance benchmarking are wired in (presence, not runtime).
Method: Filesystem scan: SAST configuration, dependency-update automation, secret scanning, and a benchmark harness or benchmark step — in this repository's own ecosystem. Exhaustive, deterministic.
What to do
Enable Dependabot/Renovate or a dependency-review gate.
Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
Readiness · Readiness — Whether releases are automated and safely reversible (probes, rolling updates, approval gates) — from manifests/pipeline files, not the live environment.
Method: Filesystem scan: deployment manifests/IaC (K8s YAML, Helm, Terraform) for rolling updates, probes, approval gates, migration hooks. Exhaustive, deterministic.
Do you agree with this assessment?
P5 · DR & Backup7.0 / 10Strong✓ Tool-verified
Readiness · Readiness — Whether disaster recovery is planned and codified — backups, geo-recovery, RTO/RPO, persistence guarantees — from IaC + container manifests + docs, never the live cloud.
Method: Filesystem scan: disaster recovery, backup, geo-recovery, RTO/RPO, persistence guarantees from IaC, manifests, and docs. Exhaustive, deterministic, never a live environment.
What to do
Document RTO/RPO and a tested restore procedure (a backup config alone isn't disaster recovery).
Readiness · Readiness — Whether outbound HTTP calls are wrapped in resilience (retry/timeout/circuit-breaker) so a failing dependency doesn't cascade.
Method: Source scan: outbound HTTP clients and what bounds them — resilience handlers (Polly, AddStandardResilienceHandler) on .NET; on Go, the JVM, Python, JavaScript/TypeScript, Ruby, PHP, Rust, Elixir, Swift, Dart and Erlang, a timeout, deadline, retry or breaker beside each call, or a process-wide client default (a framework-wide deadline such as Drupal core's, Laravel's or actix's awc counts). Exhaustive, deterministic.
`RestClient.builder(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout. — ai/src/main/java/org/conductoross/conductor/ai/providers/cohere/api/CohereApi.java:316
`restTemplateBuilder.build(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout. — rest/src/main/java/com/netflix/conductor/rest/startup/KitchenSinkInitializer.java:68
`urlopen(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout. — scripts/capture_cookbook_verification.py:22
What to do
Set connect and read timeouts on every client (`RestTemplateBuilder.connectTimeout/readTimeout`, WebClient `responseTimeout`, `HttpRequest.Builder.timeout`, `HttpURLConnection.setReadTimeout`, Feign `connectTimeout`/`readTimeout` in configuration), and wrap calls to dependencies in resilience4j `@Retry`/`@CircuitBreaker`/`@TimeLimiter` (or Spring Retry).
Pass `timeout=` on every `requests`/`httpx` call (requests has no default and will wait forever), mount an `HTTPAdapter(max_retries=Retry(...))` on shared sessions, and wrap calls to flaky dependencies in `tenacity` retries or a `pybreaker` circuit breaker.
Readiness · Readiness — Whether database schema changes go through versioned migrations rather than being auto-created from the model at startup.
Method: Roslyn scan: EF Core DbContext for a versioned migrations directory versus bare EnsureCreated usage; off .NET, a file scan of dependency manifests, migration histories (Flyway, Liquibase, Alembic, Django, Rails, Prisma, TypeORM, Knex/Sequelize, golang-migrate, goose, Laravel, Doctrine, Diesel/sqlx) and schema auto-create in production source or config. Exhaustive, deterministic.
Readiness · Performance — Whether asynchronous code stays responsive — it avoids sync-over-async blocking (a .NET .Wait()/.GetAwaiter().GetResult(), a time.sleep or blocking HTTP call inside a Python coroutine, a *Sync call inside an async JavaScript function, block_on inside a Rust async fn, runBlocking inside a Kotlin suspend function, block() inside a Reactor publisher) that stalls a thread or event loop and risks deadlock, and, where the code is a reusable library on .NET, awaits with ConfigureAwait(false) so it never captures and stalls its caller's context.
Method: Production-source scan: sync-over-async blocking counted everywhere — .Wait()/.GetAwaiter().GetResult() in .NET; off .NET, read from the language model, a blocking call inside an async function (Python, TS/JS, Rust, Kotlin, Swift, Dart) or inside a Java method returning a Reactor Mono/Flux or a Scala method returning a Future or effect — and, for a .NET library with ≥5 awaits, the share of awaits using ConfigureAwait(false). Deterministic, syntax/text detection.
`execSync` in `globalSetup` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — ui-next/e2e/integration/global-setup.ts:129
`mkdirSync` in `globalSetup` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — ui-next/e2e/integration/global-setup.ts:132
`writeFileSync` in `globalSetup` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — ui-next/e2e/integration/global-setup.ts:133
`existsSync` in `globalTeardown` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — ui-next/e2e/integration/global-teardown.ts:30
`unlinkSync` in `globalTeardown` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — ui-next/e2e/integration/global-teardown.ts:36
`execSync` in `globalTeardown` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — ui-next/e2e/integration/global-teardown.ts:48
What to do
TypeScript/JavaScript: use the promise APIs (fs/promises, a promisified child_process.execFile, the async zlib/crypto functions) and await them instead of the *Sync variants.
Do you agree with this assessment?
R1 · Type Safety8.6 / 10Strong✓ Tool-verified
React / JS · Code Health — How much of the frontend is typed TypeScript vs untyped JavaScript.
Method: Frontend file inventory: the share of typed TypeScript vs untyped JavaScript across the source tree. Deterministic, exhaustive over frontend files.
What to do
Migrate the remaining .js/.jsx files to TypeScript.
React / JS · Code Health — Near-exact copy-pasted blocks of substantial extent across the frontend (the D4 clone algorithm over JS/TS tokens, D-386): a block is reported only where its copies still agree on most of their own identifiers and literals, or were renamed as they were pasted but kept most of their constants, and where the copies carry enough code to stand on their own or the copied extent reaches 30 lines — so a re-implementation sharing neither names nor values, and a small pasted declaration, are both found and deliberately not reported, and a clean R10 is not a claim that nothing was copied.
Method: Near-exact copy-pasted blocks of substantial extent across the frontend (the D4 clone algorithm run over JS/TS tokens). Masking finds the candidates; a block is reported when its copies still agree on most of their own identifiers and literals, or when a renamed copy still agrees on most of its constants, AND the copies carry enough code to stand on their own — or when the copied extent reaches 30 lines. So a re-implementation sharing neither names nor values, and a small pasted declaration, are deliberately not counted. Deterministic.
50 duplicated blocks under the repository root have copies in at least two of the sibling directories ui, ui-next — 41 of them are reported below, and 9 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 50 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 50 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 50 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — REDACTED:209
49 duplicated blocks under ui-next/src/pages/ have copies in at least two of the sibling directories agent, definition, definitions, eventMonitor, execution, executions (+4 more sibling(s) not listed) — 29 of them are reported below, and 20 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 49 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 49 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 49 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx:9
32 duplicated blocks under ui-next/src/ have copies in at least two of the sibling directories components, pages, shared, utils — 18 of them are reported below, and 14 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 32 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 32 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 32 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — ui-next/src/components/ui/inputs/ConductorArrayField.tsx:65
23 duplicated blocks under ui-next/src/pages/definition/ have copies in at least two of the sibling directories ConfirmLocalCopyDialog, EditorPanel, EventHandler, RunWorkflow, WorkflowMetadata, confirmSave (+3 more sibling(s) not listed) — 6 of them are reported below, and 17 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 23 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 23 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 23 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/HTTPTaskForm/state/services.ts:86
22 duplicated blocks under ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ have copies in at least two of the sibling directories DoWhileTaskForm, EventTaskForm, GRPCTaskForm, GetWorkflowTaskForm, HTTPTaskForm, INLINETaskForm (+9 more sibling(s) not listed) — 19 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 22 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 22 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 22 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/GRPCTaskForm/GRPCTaskForm.tsx:40
8 duplicated blocks under ui-next/src/components/ have copies in at least two of the sibling directories FlatMapForm, SubjectSelector, features, layout, react-hook-form, ui — 6 of them are reported below, and 2 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 8 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 8 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 8 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — ui-next/src/components/react-hook-form/ReactHookFormFlatMapForm.tsx:58
ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx:9 · ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx:2 — these 2 files are line-for-line copies of one another — 377 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done. — ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx:9
ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx:83 · ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx:82 — the two spans are one implementation copied and then locally edited — 1377 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx:83
ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx:1 · ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx:1 — these 2 files are line-for-line copies of one another — 305 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done. — ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx:1
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/GRPCTaskForm/GRPCTaskForm.tsx:40 · ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/HTTPTaskForm/HTTPTaskForm.tsx:74 — the two spans are one implementation copied and then locally edited — 847 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/GRPCTaskForm/GRPCTaskForm.tsx:40
ui-next/src/pages/agent/executions/AgentSearch.tsx:2 · ui-next/src/pages/executions/WorkflowSearch.tsx:2 — these 2 files are line-for-line copies of one another — 160 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done. — ui-next/src/pages/agent/executions/AgentSearch.tsx:2
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ChunkTextTaskForm.tsx:199 · ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ParseDocumentTaskForm.tsx:295 — the two spans are one implementation copied and then locally edited — 642 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ChunkTextTaskForm.tsx:199
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/JOINTaskForm/JoinCodeBlock.tsx:30 · ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SwitchTaskForm/SwitchCodeBlock.tsx:35 — the two spans are one implementation copied and then locally edited — 638 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/JOINTaskForm/JoinCodeBlock.tsx:30
ui/src/pages/executions/ResultsTable.jsx:44 · ui/src/pages/executions/TaskResultsTable.jsx:91 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — ui/src/pages/executions/ResultsTable.jsx:44
ui-next/src/pages/agent/executions/BulkActionModule.tsx:1 · ui-next/src/pages/executions/BulkActionModule.tsx:1 — these 2 files are line-for-line copies of one another — 119 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done. — ui-next/src/pages/agent/executions/BulkActionModule.tsx:1
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/INLINETaskForm/InlineCodeBlock.tsx:85 · ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/JOINTaskForm/JoinCodeBlock.tsx:89 — the two spans are one implementation copied and then locally edited — 522 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/INLINETaskForm/InlineCodeBlock.tsx:85
ui-next/src/pages/executions/Task/AdvanceSearch.tsx:45 · ui-next/src/pages/executions/Task/BasicSearch.tsx:51 — the two spans are one implementation copied and then locally edited — 466 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — ui-next/src/pages/executions/Task/AdvanceSearch.tsx:45
REDACTED:209 · REDACTED:179 — the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour — the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator's options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents. — REDACTED:209
ui-next/src/components/features/flow/components/RichAddTaskMenu/AddTaskSidebar.tsx:219 · ui-next/src/components/features/flow/components/RichAddTaskMenu/QuickAddMenu.tsx:243 — the two spans are one implementation copied and then locally edited — 433 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — ui-next/src/components/features/flow/components/RichAddTaskMenu/AddTaskSidebar.tsx:219
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/DoWhileTaskForm/DoWhileCodeBlock.tsx:110 · ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SwitchTaskForm/SwitchCodeBlock.tsx:103 — the two spans are one implementation copied and then locally edited — 451 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/DoWhileTaskForm/DoWhileCodeBlock.tsx:110
ui-next/src/pages/definition/EventHandler/eventhandlers/FormComponent/ActionForms/StartAgentTask.tsx:35 · ui-next/src/pages/definition/EventHandler/eventhandlers/FormComponent/ActionForms/StartWorkflowTask.tsx:29 — the two spans are one implementation copied and then locally edited — 417 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — ui-next/src/pages/definition/EventHandler/eventhandlers/FormComponent/ActionForms/StartAgentTask.tsx:35
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/StartWorkflowTaskForm/StartWorkflowTaskForm.tsx:64 · ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SubWorkflowOperatorForm/SubWorkflowOperatorForm.tsx:67 — the two spans are one implementation copied and then locally edited — 311 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/StartWorkflowTaskForm/StartWorkflowTaskForm.tsx:64
ui/src/pages/definition/SchedulerDefinition.jsx:21 · ui/src/pages/definition/TaskDefinition.jsx:16 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — ui/src/pages/definition/SchedulerDefinition.jsx:21
ui/src/pages/definition/SaveEventHandlerDialog.jsx:1 · ui/src/pages/definition/SaveSchedulerDialog.jsx:1 · ui/src/pages/definition/SaveTaskDialog.jsx:3 — these 3 files are line-for-line copies of one another — 82 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done. — ui/src/pages/definition/SaveEventHandlerDialog.jsx:1
ui/src/pages/definition/EventHandlerDefinition.jsx:82 · ui/src/pages/definition/TaskDefinition.jsx:73 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — ui/src/pages/definition/EventHandlerDefinition.jsx:82
ui-next/src/pages/agent/CloneAgentDialog.tsx:59 · ui-next/src/pages/definitions/dialog/CloneWorkflowDialog.tsx:89 — the two spans are one implementation copied and then locally edited — 382 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — ui-next/src/pages/agent/CloneAgentDialog.tsx:59
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ConductorObjectOrStringInput.tsx:15 · ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ConductorValueInput.tsx:16 — the two spans are one implementation copied and then locally edited — 365 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ConductorObjectOrStringInput.tsx:15
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/LLMFormFields/LLMFormFieldsWrapper.tsx:39 · ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/LLMFormFields/LLMFormFieldsWrapper.tsx:133 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/LLMFormFields/LLMFormFieldsWrapper.tsx:39
ui/src/pages/executions/TaskSearch.jsx:94 · ui/src/pages/executions/WorkflowSearch.jsx:84 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — ui/src/pages/executions/TaskSearch.jsx:94
ui-next/src/pages/executions/SchedulerExecutions.tsx:126 · ui-next/src/pages/executions/TaskSearch.tsx:252 — the two spans are one implementation copied and then locally edited — 374 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — ui-next/src/pages/executions/SchedulerExecutions.tsx:126
ui-next/src/pages/definitions/EventHandler.tsx:371 · ui-next/src/pages/definitions/Scheduler/Schedules.tsx:757 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — ui-next/src/pages/definitions/EventHandler.tsx:371
ui-next/src/pages/definitions/EventHandler.tsx:207 · ui-next/src/pages/definitions/Workflow.tsx:320 — the two spans are one implementation copied and then locally edited — 306 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — ui-next/src/pages/definitions/EventHandler.tsx:207
ui-next/src/pages/agent/AgentDefinitions.tsx:293 · ui-next/src/pages/definitions/Workflow.tsx:451 — the two spans are one implementation copied and then locally edited — 260 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — ui-next/src/pages/agent/AgentDefinitions.tsx:293
ui-next/src/pages/definitions/dialog/CloneDialog.tsx:69 · ui-next/src/pages/definitions/dialog/CloneWorkflowDialog.tsx:100 — the two spans are one implementation copied and then locally edited — 309 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — ui-next/src/pages/definitions/dialog/CloneDialog.tsx:69
ui/src/pages/execution/Legend.jsx:1 · ui/src/pages/kitchensink/DiagramTest.jsx:1 — these 2 files are line-for-line copies of one another — 64 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done. — ui/src/pages/execution/Legend.jsx:1
ui-next/src/pages/executions/TaskSearch.tsx:166 · ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx:267 — the two spans are one implementation copied and then locally edited — 310 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — ui-next/src/pages/executions/TaskSearch.tsx:166
ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx:722 · ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:1572 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx:722
ui-next/src/pages/executions/DateControlComponent.tsx:166 · ui-next/src/pages/executions/DateControlComponent.tsx:288 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — ui-next/src/pages/executions/DateControlComponent.tsx:166
ui-next/src/pages/executions/ResultsTable.tsx:286 · ui-next/src/pages/executions/TaskResultsTable.tsx:309 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — ui-next/src/pages/executions/ResultsTable.tsx:286
ui-next/src/components/ui/inputs/ConductorArrayField.tsx:65 · ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/HTTPTaskForm/ConductorAdditionalHeaders.tsx:84 — the two spans are one implementation copied and then locally edited — 214 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — ui-next/src/components/ui/inputs/ConductorArrayField.tsx:65
What to do
Act on each finding's own remediation rather than one rule: the move depends on what recurs. Where the copies are executable blocks, give the shared part one home and call it from each site; where they are declarations, a listing, a specialisation already delegating to its base, or one shape repeated per entity, there is no call site and the move is a shared type, a generated set or a factory — sometimes there is nothing to extract.
React / JS · Architecture — Conformance to the detected frontend architecture layout (feature-sliced / layered src) plus cross-package deep-import rules (D-386).
Method: Conformance to the detected frontend layout (feature-sliced / layered src) plus cross-package deep-import rules, over the module graph. Deterministic.
ui-next/src/pages/agent/AgentDefinition.tsx:5 imports ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx against the feature-sliced rules. — ui-next/src/pages/agent/AgentDefinition.tsx:5
ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx:38 imports ui-next/src/pages/executions/DateControlComponent.tsx against the feature-sliced rules. — ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx:38
ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx:34 imports ui-next/src/pages/executions/DateControlComponent.tsx against the feature-sliced rules. — ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx:34
ui-next/src/pages/definition/ConfirmLocalCopyDialog/ConfirmLocalCopyDialog.tsx:6 imports ui-next/src/pages/runWorkflow/runWorkflowUtils.ts against the feature-sliced rules. — ui-next/src/pages/definition/ConfirmLocalCopyDialog/ConfirmLocalCopyDialog.tsx:6
ui-next/src/pages/definition/ConfirmLocalCopyDialog/state/service.ts:3 imports ui-next/src/pages/runWorkflow/runWorkflowUtils.ts against the feature-sliced rules. — ui-next/src/pages/definition/ConfirmLocalCopyDialog/state/service.ts:3
ui-next/src/pages/definition/EditorPanel/CodeEditorTab/state/actions.ts:11 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — ui-next/src/pages/definition/EditorPanel/CodeEditorTab/state/actions.ts:11
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/AgentTaskForm.tsx:18 imports ui-next/src/pages/agent/types.ts against the feature-sliced rules. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/AgentTaskForm.tsx:18
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/StartWorkflowTaskForm/StartWorkflowTaskForm.tsx:13 imports ui-next/src/pages/runWorkflow/IdempotencyForm.tsx against the feature-sliced rules. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/StartWorkflowTaskForm/StartWorkflowTaskForm.tsx:13
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/StartWorkflowTaskForm/StartWorkflowTaskForm.tsx:14 imports ui-next/src/pages/runWorkflow/types.ts against the feature-sliced rules. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/StartWorkflowTaskForm/StartWorkflowTaskForm.tsx:14
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SubWorkflowOperatorForm/SubWorkflowOperatorForm.tsx:14 imports ui-next/src/pages/runWorkflow/IdempotencyForm.tsx against the feature-sliced rules. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SubWorkflowOperatorForm/SubWorkflowOperatorForm.tsx:14
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SubWorkflowOperatorForm/SubWorkflowOperatorForm.tsx:15 imports ui-next/src/pages/runWorkflow/types.ts against the feature-sliced rules. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SubWorkflowOperatorForm/SubWorkflowOperatorForm.tsx:15
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/TaskFormHeader/state/actions.ts:2 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/TaskFormHeader/state/actions.ts:2
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/TaskFormStyles.ts:1 imports ui-next/src/pages/styles.js against the feature-sliced rules. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/TaskFormStyles.ts:1
ui-next/src/pages/definition/EditorPanel/TaskFormTab/helpers.ts:7 imports ui-next/src/pages/runWorkflow/types.ts against the feature-sliced rules. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/helpers.ts:7
ui-next/src/pages/definition/EditorPanel/WorkflowPropertiesFormTab/state/actions.ts:2 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — ui-next/src/pages/definition/EditorPanel/WorkflowPropertiesFormTab/state/actions.ts:2
ui-next/src/pages/definition/EventHandler/eventhandlers/FormComponent/ActionForms/StartAgentTask.tsx:10 imports ui-next/src/pages/agent/types.ts against the feature-sliced rules. — ui-next/src/pages/definition/EventHandler/eventhandlers/FormComponent/ActionForms/StartAgentTask.tsx:10
ui-next/src/pages/definition/EventHandler/eventhandlers/FormComponent/ActionForms/StartWorkflowTask.tsx:13 imports ui-next/src/pages/runWorkflow/IdempotencyForm.tsx against the feature-sliced rules. — ui-next/src/pages/definition/EventHandler/eventhandlers/FormComponent/ActionForms/StartWorkflowTask.tsx:13
ui-next/src/pages/definition/EventHandler/eventhandlers/FormComponent/ActionForms/StartWorkflowTask.tsx:14 imports ui-next/src/pages/runWorkflow/types.ts against the feature-sliced rules. — ui-next/src/pages/definition/EventHandler/eventhandlers/FormComponent/ActionForms/StartWorkflowTask.tsx:14
ui-next/src/pages/definition/EventHandler/eventhandlers/state/actions.ts:4 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — ui-next/src/pages/definition/EventHandler/eventhandlers/state/actions.ts:4
ui-next/src/pages/definition/RunWorkflow/RunWorkflowForm.tsx:9 imports ui-next/src/pages/runWorkflow/IdempotencyForm.tsx against the feature-sliced rules. — ui-next/src/pages/definition/RunWorkflow/RunWorkflowForm.tsx:9
ui-next/src/pages/definition/RunWorkflow/state/actions.ts:15 imports ui-next/src/pages/runWorkflow/runWorkflowUtils.ts against the feature-sliced rules. — ui-next/src/pages/definition/RunWorkflow/state/actions.ts:15
ui-next/src/pages/definition/RunWorkflow/state/actions.ts:21 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — ui-next/src/pages/definition/RunWorkflow/state/actions.ts:21
ui-next/src/pages/definition/WorkflowDefinition.tsx:18 imports ui-next/src/pages/styles.js against the feature-sliced rules. — ui-next/src/pages/definition/WorkflowDefinition.tsx:18
ui-next/src/pages/definition/WorkflowMetadata/EditInPlaceWrapper/state/actions.ts:2 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — ui-next/src/pages/definition/WorkflowMetadata/EditInPlaceWrapper/state/actions.ts:2
ui-next/src/pages/definition/WorkflowMetadata/state/actions.ts:2 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — ui-next/src/pages/definition/WorkflowMetadata/state/actions.ts:2
ui-next/src/pages/definition/confirmSave/state/actions.ts:5 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — ui-next/src/pages/definition/confirmSave/state/actions.ts:5
ui-next/src/pages/definition/errorInspector/state/actions.ts:2 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — ui-next/src/pages/definition/errorInspector/state/actions.ts:2
ui-next/src/pages/definition/state/action.ts:17 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — ui-next/src/pages/definition/state/action.ts:17
ui-next/src/pages/definition/state/hook.ts:11 imports ui-next/src/pages/runWorkflow/runWorkflowUtils.ts against the feature-sliced rules. — ui-next/src/pages/definition/state/hook.ts:11
ui-next/src/pages/definition/state/services.ts:3 imports ui-next/src/pages/runWorkflow/runWorkflowUtils.ts against the feature-sliced rules. — ui-next/src/pages/definition/state/services.ts:3
ui-next/src/pages/definition/task/TaskDefinitionButtons.tsx:26 imports ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/TestTaskButton/OpenTestTaskButton.tsx, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — ui-next/src/pages/definition/task/TaskDefinitionButtons.tsx:26
ui-next/src/pages/definition/task/state/actions.ts:6 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — ui-next/src/pages/definition/task/state/actions.ts:6
ui-next/src/pages/definitions/Workflow.tsx:21 imports ui-next/src/pages/executions/SplitWorkflowDefinitionButton/SplitWorkflowDefinitionButton.tsx against the feature-sliced rules. — ui-next/src/pages/definitions/Workflow.tsx:21
ui-next/src/pages/definitions/Workflow.tsx:22 imports ui-next/src/pages/executions/SplitWorkflowDefinitionButton/ImportBpmnButton.tsx against the feature-sliced rules. — ui-next/src/pages/definitions/Workflow.tsx:22
ui-next/src/pages/definitions/Workflow.tsx:23 imports ui-next/src/pages/runWorkflow/runWorkflowUtils.ts against the feature-sliced rules. — ui-next/src/pages/definitions/Workflow.tsx:23
ui-next/src/pages/definitions/dialog/CloneScheduleDialog.tsx:12 imports ui-next/src/pages/scheduler/schedulerHooks.ts against the feature-sliced rules. — ui-next/src/pages/definitions/dialog/CloneScheduleDialog.tsx:12
ui-next/src/pages/definitions/dialog/CloneWorkflowDialog.tsx:15 imports ui-next/src/pages/definition/commonService.ts against the feature-sliced rules. — ui-next/src/pages/definitions/dialog/CloneWorkflowDialog.tsx:15
ui-next/src/pages/execution/TaskList/state/actions.ts:11 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — ui-next/src/pages/execution/TaskList/state/actions.ts:11
ui-next/src/pages/execution/UpdateTaskStatusForm.tsx:8 imports ui-next/src/pages/styles.js against the feature-sliced rules. — ui-next/src/pages/execution/UpdateTaskStatusForm.tsx:8
ui-next/src/pages/executions/SplitWorkflowDefinitionButton/SplitWorkflowDefinitionButton.tsx:9 imports ui-next/src/pages/runWorkflow/runWorkflowUtils.ts against the feature-sliced rules. — ui-next/src/pages/executions/SplitWorkflowDefinitionButton/SplitWorkflowDefinitionButton.tsx:9
What to do
Fix the listed violations: respect the layer/slice order — import only through a slice's public index and never upward into a higher layer (38 rows); import through the target package's declared public entry rather than a deep path into its internals or a relative path into its directory (12 rows); move the shared test helper into a source directory production code may depend on (1 row).
React / JS · Code Health — Per-function cyclomatic/cognitive complexity from the token-level function scanner (D-386) — real branching, not a regex heuristic.
Method: Per-function cyclomatic/cognitive complexity from a token-level function scanner (real branching, not a regex heuristic), computed over every frontend function. Deterministic.
transformWorkflowExecutionToAgentRun has cyclomatic complexity 119 and cognitive complexity 207; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:931
SummaryContent has cyclomatic complexity 114 and cognitive complexity 122; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx:1002
(anonymous) has cyclomatic complexity 103 and cognitive complexity 131; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:1018
SidebarItem has cyclomatic complexity 96 and cognitive complexity 79; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — ui-next/src/components/providers/sidebar/SidebarItem.tsx:45
buildTurnNodes has cyclomatic complexity 77 and cognitive complexity 182; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:896
(anonymous) has cyclomatic complexity 68 and cognitive complexity 136; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — REDACTED:281
WorkflowIntrospection has cyclomatic complexity 67 and cognitive complexity 99; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — ui-next/src/pages/execution/WorkflowIntrospection.tsx:216
NodeCard has cyclomatic complexity 51 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:237
AgentDetailPanel has cyclomatic complexity 42 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx:1699
Execution has cyclomatic complexity 38 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — ui-next/src/pages/execution/Execution.tsx:276
TaskSummary has cyclomatic complexity 37 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — ui-next/src/pages/execution/TaskSummary.tsx:19
(anonymous) has cyclomatic complexity 36 and cognitive complexity 75; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — REDACTED:83
(anonymous) has cyclomatic complexity 34 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — REDACTED:41
main has cyclomatic complexity 32 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — ui-next/scripts/playwright-coverage-report.mjs:225
AgentInspector has cyclomatic complexity 32 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx:193
RightPanel has cyclomatic complexity 31 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — ui-next/src/pages/execution/RightPanel/RightPanel.tsx:74
SubAgentNode has cyclomatic complexity 30 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — ui-next/src/pages/execution/AgentExecution/SubAgentTree.tsx:53
(anonymous) has cyclomatic complexity 29 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — ui-next/src/utils/hooks/useConductorProjectBuilder.ts:73
What to do
Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
Do you agree with this assessment?
R3 · Large Files7.9 / 10Strong✓ Tool-verified
React / JS · Code Health — How many source files exceed the large-file threshold.
Method: Components/modules exceeding the large-file threshold, counted exhaustively across the frontend source tree. Deterministic.
ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx has 2154 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx:1
ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts has 2056 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:1
ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx has 1969 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:1
ui-next/src/pages/definition/state/machine.ts has 1338 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/definition/state/machine.ts:1
ui-next/src/pages/definition/state/action.ts has 1079 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/definition/state/action.ts:1
ui-next/src/pages/creatorFlags/CreatorFlags.tsx has 1029 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/creatorFlags/CreatorFlags.tsx:1
ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx has 971 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx:1
ui-next/src/components/features/flow/components/RichAddTaskMenu/QuickAddMenu.tsx has 891 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/components/features/flow/components/RichAddTaskMenu/QuickAddMenu.tsx:1
ui-next/src/pages/definitions/Scheduler/Schedules.tsx has 879 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/definitions/Scheduler/Schedules.tsx:1
ui-next/src/components/features/flow/components/RichAddTaskMenu/AddTaskSidebar.tsx has 827 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/components/features/flow/components/RichAddTaskMenu/AddTaskSidebar.tsx:1
ui-next/src/pages/execution/Execution.tsx has 816 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/execution/Execution.tsx:1
ui-next/src/pages/execution/WorkflowIntrospection.tsx has 805 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/execution/WorkflowIntrospection.tsx:1
ui/src/pages/errors/ErrorsInspector.jsx has 805 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui/src/pages/errors/ErrorsInspector.jsx:1
ui-next/src/components/features/flow/components/RichAddTaskMenu/taskGenerator.ts has 804 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/components/features/flow/components/RichAddTaskMenu/taskGenerator.ts:1
ui-next/src/pages/scheduler/Schedule.tsx has 799 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/scheduler/Schedule.tsx:1
ui-next/src/utils/cloudTemplates.ts has 759 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/utils/cloudTemplates.ts:1
ui-next/src/utils/query.ts has 754 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/utils/query.ts:1
ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx has 724 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx:1
ui-next/src/utils/fieldHelpers.tsx has 703 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/utils/fieldHelpers.tsx:1
ui-next/src/pages/runWorkflow/RunWorkflow.tsx has 697 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/runWorkflow/RunWorkflow.tsx:1
ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx has 675 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx:1
ui-next/src/pages/definition/task/form/TaskDefinitionForm.tsx has 667 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/definition/task/form/TaskDefinitionForm.tsx:1
ui-next/src/pages/definition/state/taskModifier/taskModifier.ts has 655 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/definition/state/taskModifier/taskModifier.ts:1
ui/src/components/diagram/WorkflowGraph.jsx has 652 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui/src/components/diagram/WorkflowGraph.jsx:1
ui/src/theme/theme.js has 648 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui/src/theme/theme.js:1
ui-next/src/plugins/registry/types.ts has 630 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/plugins/registry/types.ts:1
ui-next/src/pages/execution/AgentExecution/AgentRunView.tsx has 627 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/execution/AgentExecution/AgentRunView.tsx:1
ui-next/src/components/features/agents/AgentSnapshotDetails.tsx has 608 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/components/features/agents/AgentSnapshotDetails.tsx:1
ui-next/src/utils/date.ts has 589 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/utils/date.ts:1
ui-next/src/pages/definitions/Workflow.tsx has 568 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/definitions/Workflow.tsx:1
ui-next/src/pages/definition/EditorPanel/TaskFormTab/TaskFormContent.tsx has 567 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/TaskFormContent.tsx:1
ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx has 565 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx:1
ui-next/src/pages/execution/state/machine.ts has 564 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/execution/state/machine.ts:1
ui/src/components/diagram/WorkflowDAG.js has 561 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui/src/components/diagram/WorkflowDAG.js:1
ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx has 551 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx:1
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ChunkTextTaskForm.tsx has 546 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ChunkTextTaskForm.tsx:1
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ParseDocumentTaskForm.tsx has 540 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ParseDocumentTaskForm.tsx:1
ui-next/src/pages/definitions/Task.tsx has 538 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/definitions/Task.tsx:1
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/GRPCTaskForm/GRPCTaskForm.tsx has 537 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/GRPCTaskForm/GRPCTaskForm.tsx:1
REDACTED has 537 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — REDACTED:1
What to do
Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package.
Do you agree with this assessment?
R4 · Test Coverage8.0 / 10Strong✓ Tool-verified
React / JS · Readiness — Static test reachability (D-386): the share of production files reachable from any test via the import graph — measured without running anything.
Method: Static test reachability: the share of production files reachable from any test via the import graph — measured without running anything. Deterministic.
No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one. (×40) — REDACTED:1, ui/src/pages/errors/ErrorsInspector.jsx:1, ui/src/theme/colors.js:1, …
What to do
Add tests that import the unreached modules (directly or through their public entry).
React / JS · Readiness — How outdated the npm dependencies are (a maturity signal). JS/npm CVEs are scored separately in D30 (JS/npm Dependency Vulnerabilities).
Method: npm dependency staleness from manifest/registry metadata (a maturity signal; JS/npm CVEs are scored separately in D30, which answers dependency vulnerabilities for every ecosystem). Deterministic.
43 outdated package(s); JS/npm CVEs scored in D30
What to do
Bump outdated dependencies to current versions to limit upgrade debt.
Do you agree with this assessment?
R6 · Tooling10.0 / 10Exemplary✓ Tool-verified
React / JS · Readiness — Whether the project wires up test, lint and typecheck — detected from each REDACTED script's COMMAND (eslint / tsc / vitest / jest / playwright), not just its name, and corroborated against CI-workflow invocations so a tool run only in CI still counts.
Method: REDACTED scanned for test/lint/typecheck script wiring. Deterministic presence check.
Do you agree with this assessment?
R7 · Dead Code6.9 / 10Adequate✓ Tool-verified
React / JS · Code Health — Files unreachable from every application/tooling/test entry point, and exports nothing imports (module-graph reachability, D-386).
Method: Dead code: files unreachable from every application/tooling/test entry point plus exports nothing imports, via module-graph reachability. Deterministic, exhaustive over the import graph.
Unreachable from the 67 application, 14 tooling and 176 test entry point(s) detected in this repo. Gate removals on `npm run build` — an undetected custom entry would make these reachable.
no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make (×27) — ui-next/src/components/features/flow/components/shapes/testDiagrams.js, ui-next/src/pages/definitions/dialog/ShareWorkflowDialog.tsx, ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/TaskFormFooter.tsx, …
no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui-next/src/growthbook/growthbookInstance.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — ui-next/src/growthbook/plugins.ts
no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui-next/src/components/features/getStartedSample/GetStartedSample.tsx) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — ui-next/src/utils/hooks/useConductorProjectBuilder.ts
no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui-next/src/components/features/charts/index.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it (×4) — ui-next/src/components/features/charts/ErrorsChart.tsx, ui-next/src/components/features/charts/LatencyChart.tsx, ui-next/src/components/features/charts/CacheChart.tsx, …
no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 5 in-repo import(s) from 5 other file(s) do name it (ui-next/src/components/features/charts/CacheChart.tsx, ui-next/src/components/features/charts/ErrorsChart.tsx, ui-next/src/components/features/charts/LatencyChart.tsx and 2 more) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — ui-next/src/components/features/charts/chartUtils.ts
no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui-next/src/utils/hooks/useEditorForm.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — ui-next/src/utils/reactHookForm.ts
no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui-next/src/components/ui/ConductorSlider.tsx) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — ui-next/src/components/ui/ConductorSliderStateless.tsx
no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/TaskFormFooter.tsx) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ArrayForm.tsx
no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui-next/src/pages/definition/WorkflowMetadata/EditInPlaceWrapper/EditInPlaceFieldWrapper.tsx) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — ui-next/src/components/ui/inputs/EditInPlace.tsx
no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/UpdateSecretForm/index.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/UpdateSecretForm/UpdateSecretTaskForm.tsx
What to do
Delete the dead files and unused exports — every line is maintenance cost and rebuild-estimate inflation with zero runtime value.
React / JS · Readiness — npm dependency truthfulness (D-386): unused dependencies, imports not declared anywhere, and type-/test-only packages shipped as production deps.
Method: npm dependency truthfulness: unused dependencies, imports declared nowhere, and type-/test-only packages shipped as production deps — from the manifest + import graph. Deterministic.
Imported but not declared in any reachable REDACTED — installs work only by hoisting accident. (×2) — ui/src/setupTests.js:5, ui/src/data/scheduler.js:5
Declared in REDACTED but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it. (×3)
What to do
Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
React / JS · Architecture — Import cycles in the module graph (D-386) — files that can only be understood and changed together.
Method: Import cycles in the module graph, detected exhaustively over JS/TS imports (the same cycle detection as the .NET coupling dimension). Deterministic.
Other · Security — Only what this repository's own non-C# files could be read for was assessed — markup this repository SHIPS is scored for third-party script integrity whether or not the repository serves it itself, since a page handed to a consumer runs in that consumer’s origin — and because this repository commits the configuration that serves its own HTTP surface, that configuration could be read in full for the security response headers it sets. Nothing else in this dimension was assessed: the transport, cookie, input-validation and crypto controls are read from a source model that was not loaded for this repository’s language, so their absence here is not a finding about this repository.
Method: Roslyn plus filesystem scan: HSTS/security headers, secure cookies, input validation, middleware order, weak crypto (MD5/SHA1/DES); HTTPS-metadata context-aware. On a repository with no .NET source it reads JavaScript/TypeScript, Dart, Ruby, Scala, Rust or Elixir source itself (test, vendored, generated and minified paths not) for the arms that hold whether or not the code serves HTTP: a weak hash or cipher, key material fixed in the source, a TLS client that accepts any certificate, and (JavaScript/TypeScript, Ruby, Scala, Rust and Elixir) an obsolete TLS version; the server controls are not assessed there, and a Dart, Ruby, Scala, Rust or Elixir repository that serves no HTTP of its own is N/A on them. Deterministic.
`//js.hs-scripts.com/20882608.js` is executed by this page with no Subresource Integrity. Whoever can answer that request — the CDN, anyone who compromises it, anyone on the network path — runs arbitrary script in this page's origin, with its session. The URL also names no version, so it resolves to whatever that origin serves at fetch time — the executed bytes can change with nobody touching this repository. 2 such include(s) across the repository's markup. — ui-next/src/components/App.tsx:84
Set: Content-Security-Policy, Permissions-Policy, Referrer-Policy, X-Content-Type-Options, X-Frame-Options. Missing: Strict-Transport-Security — the four headers that carry the points of this card's security-headers term (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options), 0.5 each. (−0.5 on this card.) — docker/server/nginx/nginx.conf:1
What to do
Pin third-party scripts and verify them: name an exact version in the URL and add an `integrity="sha384-…"` hash alongside `crossorigin="anonymous"` (both are required — an integrity hash on a cross-origin script without `crossorigin` is not evaluated, it blocks the script). Where the vendor ships a continuously-updated loader and publishes no stable hash (tag managers, analytics, chat widgets), Subresource Integrity is not available: constrain it instead with a `Content-Security-Policy` that names the exact origins allowed to execute, and drop the script from the pages that do not need it. Where the page is shipped inside a package that others host, prefer vendoring the asset and serving it from the app’s own origin, so no consumer inherits a third-party dependency they did not choose.
Add Strict-Transport-Security beside the headers already set; Content-Security-Policy is the one that pays for itself first, then Strict-Transport-Security, then nosniff and a frame policy.
Other · Code Health — Whether the code avoids sync-over-async (deadlock-prone blocking on tasks) and async void.
Method: Roslyn syntax scan: async methods scanned for .Wait()/.GetAwaiter().GetResult() and async-void outside event handlers. Deterministic, hard fact per invocation.
Other · Code Health — Whether any branch is dead by construction — a switch arm whose label can never equal a case-normalised subject, or an `else if` whose predicate the arm above has already swallowed.
Method: Roslyn syntax + semantics: switch labels compared against the subject's own case normaliser, and if/else-if chains checked for a literal an earlier arm's containment test already swallows. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X13 · Undrained process stream10.0 / 10Exemplary○ Nothing flagged
Other · Code Health — Whether a child process that has BOTH standard streams redirected drains both — reading one to the end while the other is never read deadlocks once the child fills the unread pipe.
Method: Roslyn syntax + semantics: ProcessStartInfo launches with both streams redirected, checked for a drain of each stream across the enclosing type. On a repository with no .NET source it reads JavaScript/TypeScript off the engine’s own token stream (test, vendored and minified paths not) with the same rule: a `spawn` imported from `child_process` whose stdout and stderr are both pipes (no options, no `stdio`, or `stdio` of `'pipe'`), bound to a local that never leaves its scope, where exactly one of the two streams is read, the other never, and the child’s `close`/`exit` (or the read stream’s end) is awaited; a shell redirect in the call’s arguments or a `kill` of the child suppresses it. The same rule reads Python’s `subprocess.Popen`, Dart’s `Process.start`, Ruby’s `Open3.popen3`, and Scala’s JDK process starts (`new ProcessBuilder(…).start()` with no `redirectErrorStream`/`redirectError`/`redirectOutput`/`inheritIO`, `Runtime.getRuntime.exec`) where one of `getInputStream`/`getErrorStream` is read and the other never while `waitFor()` is called or the read stream is read to its end. Deterministic, provable per finding. Advisory.
Other · Security — Whether a hand-rolled public/private IP check can be walked past — a method that unwraps IPv4-mapped IPv6 but returns the opposite verdict for the same host written as IPv4-compatible, 6to4 or NAT64.
Method: Roslyn syntax + semantics: methods that unwrap IPv4-mapped IPv6 and hand-roll IPv4 range carve-outs, checked for whether the IPv6 branch also accounts for the IPv4-compatible, 6to4 and NAT64 embeddings. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X15 · Unvalidated length from an untrusted reader10.0 / 10Exemplary○ Nothing flagged
Other · Security — Whether a length read out of the stream being parsed is bounded before it is allocated or read — an unchecked count taken from the input lets the input choose the allocation.
Method: Roslyn syntax + semantics: integer lengths read from a BinaryReader and spent on a bulk read or an array allocation, checked for any comparison or bounding call on the value anywhere in the method. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether a loop that shortens a string until it fits a length budget has a floor — one with none grinds the value down to the empty string, or past it into a negative-length `Substring`.
Method: Roslyn syntax + semantics: while/do loops whose body's only effect on a string is to drop its last character, checked for whether anything — a direct comparison on the length, a body guard, a break — bounds that length below. On a repository with no .NET source it reads JavaScript/TypeScript off the engine’s own token stream (test, vendored and minified paths not) with the same rule: a `while`/`do` loop whose body’s one assignment to a value is `x = x.slice(0, -1)` or `x = x.slice|substring|substr(0, x.length - 1)`, driven by a condition that reads `x.length` only as a term of a larger expression — never compared directly, never tested for truthiness, and with no other read of `x` — and whose body has no `break`, `return`, `throw` or `if` naming `x`. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X17 · Uncapped recursion over a caller-supplied document3.2 / 10Weak✓ Tool-verified
Other · Security — Whether a walk that recurses through a JSON/XML tree handed in by its caller bounds how deep it will go — an uncapped walk lets the document's nesting choose the stack depth, and the resulting StackOverflowException cannot be caught.
Method: Roslyn syntax + semantics: methods that take a JSON/XML document node and call themselves with a child of it, reachable from an externally-callable member of the same type that accepts a document, checked for any depth parameter, descent counter or threaded arithmetic anywhere in the walk. On a repository with no .NET source it reads TypeScript off the engine’s own token stream (test, vendored, generated and minified paths and `.d.ts` not) with the same rule: a function or method with a parameter typed as a document value — `unknown`, `any`, `object`, `Record<string, unknown|any>`, a JSON alias (`JsonValue`, `JSONObject`, …) or a DOM node global the file does not rebind — that calls itself (bare, or through `this` for a method, or hands itself to a call over the value as in `value.map(walk)`) with something it took out of that value and never through an ancestor accessor such as `closest()` or `parentElement`, that is exported or reached from an exported function (a public method of the same exported class) taking such a value, and that names no depth, level, nesting, recursion, remaining or budget anywhere and threads no `+`/`-` arithmetic through a self-call. Plain JavaScript is not read: with no annotation nothing tells a parsed document from a tree the code built itself. Deterministic, provable per finding. Advisory.
`replace` is public and takes `value: object` from its caller, and it calls itself at line 50 (`replace`) with a piece of `value` (and at line 52) — and nowhere in `replace` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. Python's parsers accept far more nesting than its stack allows: `json.loads` turns 3,000 bytes of brackets into 1,500 levels and `xml.etree.ElementTree` parses tens of thousands, while a walk like this one raises `RecursionError` once it passes the interpreter's default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any `try` the worker or the program exits with it. Raising `sys.setrecursionlimit` only moves the number the document has to beat. Thread a depth argument through `replace` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack. — scripts/validate_cookbook_ai_examples.py:50
`valueContainsVariableTaskReference` is exported and takes `value: any` from its caller, and it calls itself at line 107 (`valueContainsVariableTaskReference`) with a piece of `value` — and nowhere in `valueContainsVariableTaskReference` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `valueContainsVariableTaskReference` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack. — ui-next/src/pages/definition/errorInspector/state/service.ts:107
`handlebarsMatcherExtractor` is exported and takes `val: any` from its caller, and it calls itself at line 193 (`handlebarsMatcherExtractor`) with a piece of `val` (and at line 197) — and nowhere in `handlebarsMatcherExtractor` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `handlebarsMatcherExtractor` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack. — ui-next/src/utils/workflow.ts:193
`removeNullAndHiddenKeys` is exported and takes `value: any` from its caller, and it calls itself at line 107 (`removeNullAndHiddenKeys`) with a piece of `value` — and nowhere in `removeNullAndHiddenKeys` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `removeNullAndHiddenKeys` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack. — ui-next/src/utils/reactHookForm.ts:107
`extractVariablesFromJSON` is exported, takes a document from its caller (line 5) and hands it to `processObject`, which calls itself at line 19 (`processObject`) with a piece of `obj` — and nowhere in `processObject` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `processObject` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack. — REDACTED:19
What to do
Each finding names the externally-callable member that accepts the document and the self-call that descends, and states that no depth parameter or counter exists anywhere in the walk. Confirm from the two, then thread a depth argument through the walk and reject documents past a fixed maximum, or rewrite it with an explicit stack.
Other · Code Health — Whether a type's disposal matches what it OWNS — releasing what it created, leaving alone what it was handed, and not declaring a finalizer for state that has nothing unmanaged to finalize.
Method: Roslyn syntax + semantics: every assignment to a disposable field is read to decide whether the type CREATED the value or was handed it, and the type's disposal is checked against that answer — an injected interface it disposes, a value it constructed and never releases, a finalizer on a type holding nothing unmanaged, and a disposable local whose every reference is a plain member read. A value handed to a container that disposes its contents (a parent control's `Controls` collection, a component `IContainer`) is released by that container and is not reported; generated code is out of population. On a repository with no .NET source the same ownership questions are read in JavaScript/TypeScript off the engine’s own token stream (test, vendored, generated and minified paths not): a class declaring `dispose()`, `[Symbol.dispose]()` or `[Symbol.asyncDispose]()` that disposes a field it was handed through a constructor parameter typed as a repository interface or resolved by a dependency-injection container; that assigns a field only ever from `new X(…)` of a disposable class and neither releases it anywhere in the class nor names it in its disposal member or a method that member calls, nor hands it to anything else; and a `const`/`let` local built from literals only whose every reference opens a statement operating on a non-release member of it. A class is disposable when every repository declaration of its name declares or inherits a disposal member, or when it is a documented library disposable (`vscode` EventEmitter, CancellationTokenSource and Disposable; three.js geometries, materials, textures, render targets, renderers, controls and composers). The finalizer arm has no JavaScript counterpart: a class cannot declare one. Dart is read for the owned-and-never-released arm: a Flutter `State` (or a class declaring `dispose()`/`close()`) whose library-private field is written only with direct creations of a framework controller, `FocusNode`, `StreamController` or periodic `Timer` (or a `.listen(…)` into a field declared `StreamSubscription`), which nothing in the class or its library releases (`dispose`/`close`/`cancel`) and which is never handed on except as a named argument. Ruby is read for the owned-and-never-released arm and the abandoned-local arm: a class declaring an instance `close`, `dispose`, `shutdown`, `stop`, `disconnect` or `terminate` whose instance variable is written only with a blockless core descriptor creation (`File.open`/`new`, `Tempfile`, `Dir.open`, `IO.popen`, the `socket` and `openssl` socket classes) that no method of the class closes and that is never handed on (passed, returned, stored, exposed by `attr_reader`, delegated) — a class whose superclass or mixin lies outside the repository is not judged — and a blockless creation read through and dropped (`File.open(path).read`) or held in a local that is never closed, returned, passed or stored (a `&:read` block-pass, an `autoclose: false` borrow and a `fileno` hand-over are not abandonment). PHP is read for the same two arms: a class (not a trait, and not one using a trait) declaring an instance `close`, `dispose`, `shutdown`, `stop`, `disconnect` or `terminate` whose `private` property (or a `final` class's `protected` one) is written only with a direct core `fopen`, `tmpfile`, `popen`, `proc_open`, `fsockopen`, `stream_socket_client`/`server` or `opendir` that nothing in the class closes (`fclose`, `pclose`, `closedir`, `unset`, a reset to `null`) and that is never handed on, and a handle held in a function's local, or read through as the argument of a reader, that is never closed, returned, passed, captured or stored; a `php://` stream, `curl_init`, `SplFileObject`, `PDO` and a function the repository declares under the core name are not read. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether a method that temporarily changes state belonging to the whole process — the working directory, an environment variable — puts it back on EVERY path: a restore reached only when nothing throws leaks the change to the rest of the process.
Method: Roslyn syntax + semantics: method bodies that write the process working directory or an environment variable and write it back in the same body, checked for whether that restore sits in a `finally`/`catch` or only on the straight-line path. On a repository with no .NET source the same rule reads production JavaScript/TypeScript off the engine’s own token stream (test, vendored and minified paths not): `process.chdir`, `process.env.NAME =`/`["NAME"] =` and `delete process.env.NAME`, and Deno’s `Deno.chdir`/`Deno.env.set`/`Deno.env.delete`, paired per function body (a nested function or arrow is its own body, and module top-level code is none), where the last write puts back a local the body captured from the same global or deletes a variable the first write set, with at least one statement between them; a write in a `catch`/`finally` of that body silences it. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether async functions that make a cancellable request accept or pass on an AbortSignal (adoption curve).
Method: Roslyn scan: every async method (excluding framework-fixed overrides/Blazor handlers) checked for CancellationToken parameter presence. Deterministic, adoption percentage. On a repository with no .NET source it reads JavaScript/TypeScript off the engine’s own token stream (test, vendored and minified paths not) with the same question: every named async function that itself makes a request an AbortSignal can cancel (global `fetch`, axios and its file-local instances, ky, ofetch) counts, and it is compliant when its parameters or body name a signal or it hands one of its own parameters to the request as options; signatures a framework fixes (JSX event handlers, route and lifecycle exports, request-first handlers, `override`, `'use server'` modules, TanStack `mutationFn`) are exempt unless they take a signal. Deterministic, adoption percentage.
Only 0/10 async functions that make a cancellable request (fetch, axios, ky, ofetch) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up — a page navigated away from, an unmounted component, a timed-out job. Take a `signal` (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice — judge against how the function is used.
`fetchStatus` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — ui-next/src/pages/execution/AgentExecution/HumanInputPanel.tsx:61
`callRespond` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — ui-next/src/pages/execution/AgentExecution/HumanInputPanel.tsx:84
`fetchWithContext` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — ui-next/src/plugins/fetch.ts:35
`fetchCloudTemplates` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — ui-next/src/utils/cloudTemplates.ts:77
`fetchWorkflowAndCatch` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — ui-next/src/utils/cloudTemplates.ts:108
`fetchTask` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — ui-next/src/utils/cloudTemplates.ts:131
`fetchUserForms` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — ui-next/src/utils/cloudTemplates.ts:155
`fetchSchemas` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — ui-next/src/utils/cloudTemplates.ts:171
`fetchIntegrationAndModels` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — ui-next/src/utils/cloudTemplates.ts:187
`fetchPrompts` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — ui-next/src/utils/cloudTemplates.ts:212
What to do
Thread an AbortSignal through async functions that make requests, so the work stops when its caller gives up.
Other · Code Health — Whether an argument guard throws the exception its own condition describes — a guard that rejects a value for being EMPTY and reports it as `NullPointerException` (Java, Kotlin, Scala), `ArgumentError.notNull` (Dart) or `ArgumentNullException` (F#'s `nullArg`) tells the caller a parameter was null when it provably was not.
Method: Roslyn syntax: `throw new ArgumentNullException(nameof(p))` statements controlled by an `if`, whose condition is read for a test that is true of a NON-null `p` — an emptiness test that dereferences it (`p.Count == 0`, `!p.Any()`) or a BCL predicate documented true of the empty value (`string.IsNullOrEmpty(p)`). Deterministic, provable per finding. Advisory.
Other · Code Health — Whether a `when` guard is free of side effects — a guard that increments a counter or assigns while deciding whether its arm matches applies that change during PATTERN MATCHING, on an arm that may not be selected, and skips it entirely when a short-circuit to its left answers first.
Method: Roslyn syntax: `when` guards on case labels and switch-expression arms, read for a mutation (`++`/`--`/assignment) sitting in a position the guard's own `&&`/`||`/`??`/`?:`/`?.` can skip. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether a method that TAKES a lock or semaphore and gives it back from a flag-guarded `finally` returns the value that flag implies — reporting success while the guard hands the primitive back admits a second caller the exclusion was there to keep out, and reporting failure while the guard keeps it leaves nothing to ever give it back.
Method: Roslyn syntax: `try` statements whose `finally` releases a synchronisation primitive under a bare local-bool guard, where the method also TOOK that same primitive before the `try`, checked for a `return` of a bool literal whose value disagrees with the flag state the method's own straight-line assignments put it in. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether the work a diagnostic log line costs is paid only when that line is wanted — C# evaluates a call's arguments BEFORE the call, so a trace/debug message joined or projected out of a collection is built in full on every pass, and then discarded by a sink the shipped configuration leaves switched off.
Method: Roslyn syntax: log calls at a diagnostic level (a `Log`-prefixed method naming Trace/Debug/Verbose, or a bare `Debug`/`Trace`/`Verbose` on a receiver named for a logger), whose argument list is read for a call whose cost scales with a sequence — a LINQ operator, a materialisation, `string.Join`, a serializer — with no enclosing level check or conditional-compilation region. On a repository with no .NET source it reads JavaScript/TypeScript off the engine’s own token stream (test, vendored and minified paths not) with the same rule: a `debug`/`trace`/`verbose` call on a receiver named for a logger, or a `log`-prefixed method naming the level, whose argument calls an array operator (`map`/`filter`/`reduce`/`sort`/…), `Array.from`, `Object.keys/values/entries`, `JSON.stringify`/`util.inspect` over anything but a literal, or an array `join` — outside any arrow or function passed as an argument, which the logger calls only when the level is on — with no enclosing `if`, `&&` or `?:` whose condition names a level, a level string, or the `NODE_ENV`/`__DEV__`/`DEV` build switch. Deterministic, provable per finding. Advisory.
`debug` at line 253 is called with an argument built by `nextTasks.stream()` (line 256), whose cost grows with the collection it walks. Java evaluates a call's arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached — and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no `isDebugEnabled`/`isTraceEnabled` test, no debug flag, no lambda or `Supplier` the logger calls only when the level is on. — core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java:253
`debug` at line 269 is called with an argument built by `unScheduledTasks.stream()` (line 271), whose cost grows with the collection it walks. Java evaluates a call's arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached — and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no `isDebugEnabled`/`isTraceEnabled` test, no debug flag, no lambda or `Supplier` the logger calls only when the level is on. — core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java:269
`debug` at line 81 is called with an argument built by `String.join("…", workflowIds)` (line 83), whose cost grows with the collection it walks. Java evaluates a call's arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached — and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no `isDebugEnabled`/`isTraceEnabled` test, no debug flag, no lambda or `Supplier` the logger calls only when the level is on. — core/src/main/java/com/netflix/conductor/core/reconciliation/WorkflowReconciler.java:81
`debug` at line 100 is called with an argument built by `polledTasks.stream()` (line 102), whose cost grows with the collection it walks. Java evaluates a call's arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached — and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no `isDebugEnabled`/`isTraceEnabled` test, no debug flag, no lambda or `Supplier` the logger calls only when the level is on. — core/src/main/java/com/netflix/conductor/service/TaskServiceImpl.java:100
`debug` at line 341 is called with an argument built by `objectMapper.writeValueAsString(workflow)` (line 344), whose cost grows with the collection it walks. Java evaluates a call's arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached — and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no `isDebugEnabled`/`isTraceEnabled` test, no debug flag, no lambda or `Supplier` the logger calls only when the level is on. — core/src/main/java/org/conductoross/conductor/core/execution/WorkflowSweeper.java:341
What to do
In Java, put the construction behind the logger's own check (`if (log.isDebugEnabled())` for SLF4J and Log4j, `if (logger.isLoggable(Level.FINE))` for java.util.logging), or hand the logger a lambda it calls only when the level is on (Log4j 2's `Supplier` overloads, SLF4J 2's `log.atDebug().addArgument(() -> …)`). A `{}` placeholder alone is not the fix: it defers the formatting, not the stream, join or serialisation in the argument.
Do you agree with this assessment?
X24 · Document value interpolated into markup unescaped10.0 / 10Exemplary○ Nothing flagged
Other · Security — Whether text read out of the document being converted is escaped before it is written into generated markup — a value the document's author chose, interpolated into an attribute the surrounding literal delimits, can close that attribute and open another.
Method: Roslyn semantic model over the whole compilation: a string-typed `Value`/`InnerText`/`InnerXml`/`Text` member declared inside `DocumentFormat.OpenXml` or `System.Xml` is a taint SOURCE, propagated through assignments, returns, arguments, tuple elements and string composition to its transitive closure, then read at interpolated-string holes that sit in a markup position the surrounding literal itself delimits. Escaper/encoder calls and enclosing validator conditions cut the flow. Flow- and container-insensitive by construction. A second arm needs no provenance at all and reports a type that CONTRADICTS ITSELF — the same expression escaped at one delimited markup hole and interpolated raw at another hole in the same markup position of the same type, which the type's own escaping proves is a defect without knowing where the value came from. On a repository with no .NET source it reads JavaScript/TypeScript off the token stream with the same rule: a DOM read of raw document text (`getAttribute`, `textContent`, `innerText`, `nodeValue`) is the source, propagated through local bindings and string composition, and judged at template-literal and concatenation holes in the same two delimited markup positions; escapers and validating conditions cut it, and documentation-site, test, vendored and minified scripts are not read. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether a value the caller is invited to supply is the value the type actually uses — a constructor parameter stored in a private field that nothing ever reads while the default it was given is spelled out a second time at the site that should have read it, a keyed lookup that falls back to a different setting than the one its key names while the same type falls back to the matching one for that same key, or a culture-sensitive parse given no format provider by a type that feeds its own settable culture to the same kind of parse elsewhere, or a number an entry point writes to standard output under the host's culture while the same entry point formats with the invariant culture elsewhere. Either way, every caller who supplies a value silently gets something else.
Method: Roslyn syntax: private instance fields of a non-partial type assigned in a constructor from one of its own parameters with a `??` fallback, checked for whether anything in the type body reads the field and whether that same fallback expression is spelled out again outside the constructor; and `??` fallbacks onto a member access from a lookup call carrying exactly one string literal, grouped by that key across the type and checked for a fallback member whose folded name disagrees with the key while a sibling site for the same key agrees with it. On a repository with no .NET source the first two arms read JavaScript/TypeScript off the engine’s own token stream (tests included, bundles and vendored paths not): a `#x`, `private` or `private` parameter-property instance field filled in the constructor from a parameter (or one member of one) through `??`/`||` or a parameter default, never read anywhere in the file by name, whose constructed default is spelled again in the class body; and `lookup("key") ?? s.member` grouped by key per class, or per module outside every class. The culture arm has no JavaScript counterpart: its parses take no locale. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether a value handed from a callback to the body that waits on it crosses on something built to be crossed — a `Queue<T>`/`List<T>`/`Dictionary<K,V>` written inside an event handler and read back outside it is mutated by two flows at once, and the semaphore or completion source beside it orders how MANY items exist while leaving the collection's own head, tail and backing array unprotected.
Method: Roslyn syntax: method, accessor, local-function and lambda bodies that declare BOTH a non-thread-safe generic collection (`Queue`/`Stack`/`List`/`Dictionary`/`HashSet`/`Sorted*`/`LinkedList`) and a synchronisation primitive (`SemaphoreSlim`/`TaskCompletionSource`/`ManualResetEvent(Slim)`/`AutoResetEvent`/`CountdownEvent`) as locals, then read for a `+=`-registered lambda that raises that primitive while the body outside every lambda waits on it — and, in that scope, a mutating call on the collection inside the lambda paired with a mention of it outside. Any `lock` in the scope abstains it. On a repository with no .NET source the same handoff is read in Java off the engine’s own token stream (test source sets, vendored and demonstration paths not): an `ArrayList`/`LinkedList`/`ArrayDeque`/`PriorityQueue`/`Hash*`/`LinkedHash*`/`Tree*` local and a `CountDownLatch`/`Semaphore`/`CompletableFuture` local, a lambda or anonymous class that raises the primitive and mutates the collection, and a wait outside it; any `synchronized` or `lock()` abstains the body. Because each of those primitives orders what the callback wrote before raising it, only a touch that provably overlaps the callback is convicted: one after the registration and before the next wait, or one in a loop registered-before, waiting on every pass and not declaring the collection. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X27 · Collection changed while being enumerated7.5 / 10Strong✓ Tool-verified
Other · Code Health — Whether an enhanced `for` leaves the collection it is walking alone — a body that adds to or removes from the very collection the loop is iterating invalidates the fail-fast iterator it is holding, so the next `next()` throws `ConcurrentModificationException` and the remaining elements are never seen. Whether a `for` loop leaves the `dict`, `set` or `deque` it is walking alone — CPython's iterators over those check that the collection has not changed size since the loop began, so a body that removes from (or empties) the very collection the loop is walking makes the next step raise `RuntimeError: dictionary changed size during iteration` and the remaining items are never seen.
Method: Roslyn syntax + semantics: `foreach` statements whose body calls a structural mutator (`Add`/`Remove`/`Clear`/`Insert`/…) on the very expression the loop is enumerating. Two arms. ARM A — the source is a concrete fragile BCL collection, or a live `Keys`/`Values` view over one, and the mutator resolves to that same collection's own member; concurrent and immutable collections and arrays are outside the population by construction, since their enumerators survive a structural change. ARM B — the source is an argument-less accessor CALL on a receiver whose body is in source: the accessor must return a stored field VERBATIM and a sibling member must structurally change that same field, both read off the implementations rather than from the members' names. A mutation the loop provably exits immediately after (`break`/`return`/`throw`/`goto`), or one written inside a nested loop or a lambda, is counted and never reported. Deterministic, provable per finding. Advisory.
`this.tasks` is enumerated directly, and line 473 calls `this.tasks.addAll(…)` inside the loop body — a structural change to a `LinkedList`. The loop's hidden iterator is fail-fast, so its next `next()` throws `ConcurrentModificationException`: every pass that reaches this call ends the loop by exception instead of by running out of elements, and the remaining elements are never seen. — common/src/main/java/com/netflix/conductor/common/metadata/workflow/WorkflowDef.java:472
What to do
Each finding names the two spans that cannot both stand — the enhanced `for` source, and the call inside the body that structurally changes that same collection. Confirm from those two, then pick one: remove through the iterator itself (`Iterator<T> it = c.iterator(); … it.remove();`) or replace the loop with `c.removeIf(…)`; iterate a copy (`for (T x : new ArrayList<>(c))`); collect what needs changing and apply it after the loop; or — where the loop was only ever meant to act on the first match — `break` immediately after the mutation, which is the one shape that is already safe. In Python: Each finding names the two lines that cannot both stand — the `for` over the collection (or its `keys()`/`values()`/`items()` view), and the call inside the body that changes its size. Confirm from those two, then pick one: walk a snapshot (`for k in list(d):`, `for x in s.copy():`); build the result instead of editing in place (`d = {k: v for k, v in d.items() if keep(v)}`); collect what needs removing and remove it after the loop; or — where only the first match was ever meant — `break` straight after the change, which is the one shape that is already safe.
Do you agree with this assessment?
X28 · Index access outside its own emptiness guard10.0 / 10Exemplary○ Nothing flagged
Other · Code Health — Whether a condition that tests a value for emptiness indexes that same value only where the test holds — an `||` written one parenthesis too far to the left leaves an index access outside the guard beside it, so the empty case the guard exists to anticipate reaches the index and throws.
Method: Roslyn syntax only, no semantic model: the OUTERMOST `&&`/`||` of every boolean condition, read for a symbol the condition tests for emptiness (`string.IsNullOrEmpty`/`IsNullOrWhiteSpace`, a `Length`/`Count` comparison against a literal, `Any()`, a `Length`/`Count` pattern, or a comparison against `""`) and ALSO indexes. Each `symbol[...]` access is placed by a boolean-reachability walk from the access up to the outermost connective: an access is COVERED when some enclosing step has it in the right operand and the left operand, under the truth value that step forces, proves the symbol non-empty — a recursion over `&&`/`||` whose true- and false-directions are asymmetric. A finding needs BOTH an uncovered access and a covered one on the same symbol in the same condition, which is the agreeing twin that separates a misplaced parenthesis from an unrelated length test. Bare index accesses with no emptiness test in the condition are neither counted nor reported; a non-identifier receiver and a lambda nested inside the condition are outside the population. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X29 · Per-element action decided by a fixed element10.0 / 10Exemplary○ Nothing flagged
Other · Code Health — Whether a decision taken once per element is taken ABOUT that element — a test inside a counted loop that reads a fixed subscript of the very collection its guarded statement indexes by the loop variable applies element zero's answer to all of them, so the elements that differ from it are all handled wrongly, and in the same direction.
Method: Roslyn syntax only, no semantic model: every `for` statement declaring exactly ONE loop variable, and every `if` inside its body that is not under a nested loop or a lambda. A site enters the population when the `if`’s condition never mentions the loop variable while the statement it guards indexes some collection by that variable ALONE (`c[i]`; `c[i + 1]` and `c[i, j]` are outside it). A finding additionally needs the AGREEING TWIN at the same-collection grain: the condition must read THAT SAME collection at a subscript that does not move — written into the condition, or reached through a local declared BEFORE the loop, so an alias bound inside the body is not followed. Both collection expressions must be simple identifiers. On a repository with no .NET source the same rule reads JavaScript/TypeScript off the engine’s own token stream (tests included, bundles and vendored paths not): a `for (let|var|const x = …; …; …)` with one declarator and a braced body, an alias followed only when it is declared before the loop in a block that encloses it and never assigned inside the loop. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether exceptions are handled rather than silently swallowed or rethrown with lost stack traces.
Method: Roslyn syntax scan: every catch clause counted; empty catches and bare rethrows flagged. Population is all catch clauses, not estimated. Deterministic, hard fact.
`catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. (×20) — agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:406, agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentspanAIModelProvider.java:221, agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/controller/ProviderController.java:127, …
An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it. (×18) — agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentspanAIModelProvider.java:245, agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentStreamRegistry.java:193, agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentStreamRegistry.java:279, …
`catch (RuntimeException)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. — agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java:889
`catch` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. — ui-next/src/pages/scheduler/Schedule.tsx:569
What to do
Swallowed exception (caught, then discarded)
Do you agree with this assessment?
X30 · Support guard that admits what it rejects10.0 / 10Exemplary○ Nothing flagged
Other · Code Health — Whether a guard written as a NEGATED `||` says what its author meant — `!(a || b || x != k)` is `!a && !b && x == k` by De Morgan, so a bail-out that mixes capabilities the code needs with a fault it refuses turns inside out: it fires only where the capabilities are ABSENT, and lets every value the fault term names walk straight into the body that cannot handle it.
Method: Roslyn syntax only, no semantic model: every logical-not whose operand is a parenthesised `||` chain of two or more disjuncts, flattened (a left-nested `a || b || c` read once would see `(a || b)` as one disjunct). A site enters the population on that shape alone. A finding additionally needs the disjuncts to DISAGREE in polarity: at least one bare boolean read — an identifier or member access, never an invocation, which is a predicate rather than a capability flag — and at least one `x != <constant>`, the only form that negates into an exact-value pin (`== null` negates into a looser requirement and is outside the fault set). Consistently-polarised disjunctions, all-fault or all-capability, are counted and never reported; a negated `&&` is outside the population entirely. No same-receiver gate: it was measured to cost a real defect and remove no false positive. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether log calls use message templates (queryable) rather than interpolated strings.
Method: Roslyn syntax scan: every log call-site counted; interpolated-string first-argument violations flagged. Population is all log calls, not estimated. On a repository with no .NET source it reads JavaScript/TypeScript off the engine’s own token stream (test, vendored and minified paths not) with the same rule: a `trace`/`debug`/`info`/`warn`/`error`/`fatal`/`verbose`/`silly`/`http`/`log` call on a receiver named for a logger, in a package whose own or an enclosing `REDACTED` declares a logger that carries values as fields (pino, pino-http, nestjs-pino, Fastify, winston, bunyan, tslog, LogTape, roarr), whose first deciding argument is a template literal with substitutions; an object-literal fields argument is stepped over, a plain string message clears the call. Python is read the same way: a `debug`/`info`/`warning`/`error`/`exception`/`critical`/`log` call on a logger in a file that imports the standard library’s `logging` or structlog (loguru, which formats at the call, is not judged), whose message is a whole f-string with a non-constant field; a `%`-formatted, `.format()`-ed or concatenated message is not convicted, as in C#. PHP is read the same way: a PSR-3 level call (`emergency`…`debug`, `log`) on a logger (`$logger`, `$this->logger`, Laravel’s `Log::`, `logger()`, `\Drupal::logger()`) in a package whose `composer.json` requires a PSR-3 logger or a framework that hands one out (psr/log, Monolog, Laravel, Symfony, Drupal, CakePHP), or a file that imports one, whose message is a double-quoted string interpolating a variable; a single-quoted message clears the call, and `sprintf` or `.` concatenation is not convicted, as in C#. Dart is read the same way: a `trace`/`debug`/`info`/`warn`/`error`/`fatal` call on Sentry’s structured logger (`Sentry.logger`) whose message is a whole string literal interpolating a value (`$name`, `${…}`); the `Sentry.logger.fmt` template API clears the call. Dart that logs only through loggers with one message and no fields (package:logging, package:logger, talker, dart:developer) is not applicable rather than a reach gap. Ruby is read the same way: a `trace`/`debug`/`info`/`warn`/`error`/`fatal` call on the console gem’s `Console` (declared by a Gemfile, gemspec or Gemfile.lock, or required) or, where SemanticLogger, Ougai or dry-logger is declared or required, on a receiver named for a logger (`logger`, `@logger`, `Rails.logger`, `log`), whose first deciding argument is, as the whole argument, a double-quoted string interpolating a non-constant value (`#{…}`, `#@ivar`); a plain literal clears the call, keyword arguments are the fields, and a block, `%`-format or `+` concatenation is not convicted. Ruby that logs only through the standard Logger (Rails.logger) is not applicable rather than a reach gap. Deterministic.
`info` at line 139 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:139
`info` at line 308 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:308
`debug` at line 215 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.debug("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:215
`error` at line 222 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:222
`info` at line 345 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:345
`info` at line 351 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:351
`info` at line 359 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:359
`info` at line 367 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:367
`info` at line 389 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:389
`info` at line 272 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/eventqueue/SQSObservableQueue.java:272
`info` at line 275 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/eventqueue/SQSObservableQueue.java:275
`info` at line 285 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/eventqueue/SQSObservableQueue.java:285
`info` at line 286 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/eventqueue/SQSObservableQueue.java:286
`debug` at line 160 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.debug("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/config/cache/CacheableMetadataDAO.java:160
`debug` at line 129 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.debug("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/config/cache/CacheableEventHandlerDAO.java:129
`error` at line 163 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/com/netflix/conductor/core/events/DefaultEventQueueManager.java:163
`info` at line 169 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/com/netflix/conductor/core/events/queue/DefaultEventQueueProcessor.java:169
`error` at line 2754 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2754
`error` at line 2807 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2807
`debug` at line 144 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.debug("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java:144
`error` at line 114 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — REDACTED:114
`error` at line 113 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/conductoross/conductor/core/execution/tasks/annotated/AnnotatedWorkflowSystemTask.java:113
`error` at line 125 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/conductoross/conductor/core/execution/tasks/annotated/AnnotatedWorkflowSystemTask.java:125
`info` at line 265 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:265
`error` at line 282 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:282
`info` at line 42 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — grpc-server/src/main/java/com/netflix/conductor/grpc/server/GRPCServer.java:42
`info` at line 108 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/TaskServiceImpl.java:108
`error` at line 189 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — http-task/src/main/java/com/netflix/conductor/tasks/http/HttpTask.java:189
`trace` at line 135 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.trace("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:135
`info` at line 63 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSStreamObservableQueue.java:63
`error` at line 66 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSStreamObservableQueue.java:66
`error` at line 104 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSStreamObservableQueue.java:104
`error` at line 122 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSStreamObservableQueue.java:122
`error` at line 134 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSStreamObservableQueue.java:134
`info` at line 47 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSObservableQueue.java:47
`error` at line 50 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSObservableQueue.java:50
`error` at line 79 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSObservableQueue.java:79
`error` at line 97 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSObservableQueue.java:97
`error` at line 109 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSObservableQueue.java:109
`info` at line 71 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:71
Other · Code Health — Whether strict null checking is enabled and not undermined by heavy `!` assertion — TypeScript's `strictNullChecks` (which `strict` turns on) is what makes `string` exclude `null` and `undefined`, and the postfix `!` is the operator that silences it.
Method: Roslyn compiler-options scan: NullableContextOptions per project; null-forgiving (!) suppression density per 1k syntax nodes. Deterministic, adoption plus suppression penalty.
~1.6 `!` null assertions per 1k TypeScript source lines — 236 assertion(s) across the 144311 source line(s) of the 1123 TypeScript file(s) read, which is the only code the operator asserts anything in (a `!` in a `.js` file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: ui-next/src/components/FlatMapForm/ConductorAutocompleteVariables.tsx (13), ui-next/src/components/features/flow/nodes/mapper/crumbs.ts (13), ui-next/src/pages/definition/EditorPanel/TaskFormTab/TaskFormContent.tsx (11). Each one tells the compiler to trust the author about null, suppressing the very diagnostic `strictNullChecks` exists to produce.
What to do
The findings name the configuration each number was taken from and, for the assertions, the files that hold them. Turn null checking on where it is off — `"strict": true` in the base tsconfig that the others extend switches `strictNullChecks` on with the rest of the family — and then resolve the assertions rather than adding to them. A `!` on a value the checker could show to be null is a promise the author cannot check from where they are standing, and each one is a `TypeError: Cannot read properties of null` waiting for the path that makes it true; where the value genuinely cannot be null, say something the checker can see instead (narrow it with a test, make the property required, drop the `?`).
Do you agree with this assessment?
WCAG coverage — what static analysis assessed
Statically assessed 15 of 55 WCAG 2.2 Level A/AA success criteria (27%; ≈30% of the 50 WCAG 2.1 AA criteria for EN 301 549). The other 40 require runtime or manual evaluation. Partial signal only (a clean result is necessary, not sufficient; static analysis fully verifies none). This is accessibility readiness, not a conformance claim — a WCAG conformance claim requires manual evaluation (WCAG-EM 1.0).
The score is the rank-weighted fold of these lenses (worst-heaviest), each including its meta-dimensions; a lens with a Critical contributor is capped at Fair (its band reads "gated by …") and is never the strongest area however high its average.
Unscored — 3 check(s) recorded observations but carry no score
These checks ran and found something, but they do not carry a score — either by design (an advisory check reports evidence rather than grading it) or because they could not be scored here. They are excluded from the score for that reason, not because there was nothing to see.
X10 Duplicated predicate — 25 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
X7 Silent fallback defaults — 15 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
X9 Subsumed condition operand — 2 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 3 control(s) we could not find positive evidence for
These checks grade a working control, and the repository shows no evidence of one. That is deliberately not scored as a zero: a repository cannot show an ops runbook, a database TTL or an infrastructure-side audit log, so absence of evidence here is not evidence the control is missing. It is also not a statement that the check is irrelevant to this codebase — the thing it grades applies; we just could not see it. Excluded from the score either way.
C3 Audit Trail — Not assessed: these audit controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks audit controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
C4 Data Retention — Not assessed: these retention controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks retention controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
C5 Data-Subject Rights — Not assessed: these data-subject rights controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks data-subject rights controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
Not included — 32 check(s) not relevant to this codebase
These checks had nothing to measure here (no tests, no git history, the codebase is small, or the architecture style doesn't apply), so they're omitted above rather than scored low.
AX4 Dependency direction — not applicable to a vertical-slice architecture (the inward-dependency rule is for layered/clean styles)
AX8 Test isolation — no test/production split to check
AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
AXR1 Runtime accessibility — compose up failed (exit 18 — an image could not be pulled) — conductor-elasticsearch Pulling conductor-server Pulling conductor-redis Pulling conductor-server Warning Get "https://registry-1.docker.io/v2/": Forbidden conductor-redis Error Get "https://registry-1.docker.io/v2/": Forbidden conductor-elasticsearch Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: conductor-server Warning Get "https://registry-1.docker.io/v2/": Forbidden conductor-redis Error Get "https://registry-1.docker.io/v2/": Forbidden conductor-elasticsearch Error context canceled WARNING: Some service image(s) must be built from source by running: docker compose build conductor-server Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
C1 Data Protection — Not assessed: these personal data controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks personal data controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
D11 Test Reliability — Test reliability not scored — polyglot repository, one half's runner produced no measurement
D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
D24 Comment Value — No inline comments to assess — comment value is not applicable here.
D25 ADR Conformance — no ADRs to check
D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.java), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
D32 Data Compliance (PII/GDPR) — 6 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
D8 Code Coverage — Coverage not measured — polyglot repository, one half has no runner
DM1 Domain Modelling — applicable but not scored (2 of 3 signals for this style — below the bar we score at): 88 value object(s); 36 domain event(s); its domain events are published by services or handlers — no domain entity raises one
ED1 Event-Driven — not scored — this repository shows only 1 of the 3 signals this lens looks for (2 event handler(s))
ED5 Idempotency — Not assessed, and this one is on us: 2 command handler(s) or message consumer(s) were found here, but this check does not yet recognise persistence writes in this repository's language. Idempotency was neither confirmed nor ruled out — this is a limit of the analyzer, not a finding about your code.
ES1 Event Sourcing — not scored — this repository shows only 1 of the 3 signals this lens looks for (an Axon event-sourcing framework (@Aggregate/@CommandHandler/@EventSourcingHandler annotations))
P12 CI test-gate honesty — Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
P9 Domain vs controller coverage — coverage data present for 988 file(s), but no domain-layer files were identified: no covered file's path contains any of the markers this check keys on (/domain/, /aggregates/, /valueobjects/, /domainmodel/, .domain/, /entities/), which are matched case-insensitively anywhere in the path. With no domain partition there is nothing to compare the web/controller layer against — if this repository keeps its business rules under a folder named none of those, that naming is what the check cannot see, not the domain logic.
PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for `@Benchmark` in a Java, Kotlin or Scala file importing JMH or kotlinx-benchmark, Jetpack Benchmark's `measureRepeated` in a file importing androidx.benchmark, or JMH/kotlinx-benchmark/androidx.benchmark in a pom.xml, Gradle or sbt build, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
PF2 Allocation hygiene — Not applicable: allocation awareness is rated where code engineers for it — at least 400 production lines that ship benchmarks or already use allocation-aware idioms (8 or more). This repository's Java code has 167,399 production line(s), 3 such use(s) and no benchmarks, so there is no allocation work to rate. The card is reward-only: its absence costs nothing.
SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
The findings behind the scores, grouped by severity, then by dimension and kind. The high-severity issues are enumerated in full below; items per group are capped at 25 with any overflow stated explicitly per group, never silently truncated. The complete machine-readable list of every finding (all severities) is the companion findings.md in this report's bundle.
AC4 · Keyboard semantics· Click handler on a non-interactive <div> · ×17
Click handler on a non-interactive <div> ui-next/src/components/features/flow/components/graphs/CustomEdgeButton.tsx:211— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
Click handler on a non-interactive <div> ui-next/src/components/features/flow/components/graphs/CustomEdgeButton.tsx:229— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
Click handler on a non-interactive <div> ui-next/src/components/features/flow/components/graphs/CustomLabel.tsx:59— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
Click handler on a non-interactive <div> ui-next/src/components/features/flow/components/shapes/SideTaskCards.tsx:105— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
Click handler on a non-interactive <div> ui-next/src/components/features/flow/components/shapes/SideTaskCards.tsx:158— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
Click handler on a non-interactive <div> ui-next/src/components/features/flow/components/shapes/SwitchJoinPseudoTask.jsx:12— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
Click handler on a non-interactive <div> ui-next/src/components/features/flow/components/shapes/TaskCard/TaskCard.tsx:93— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
Click handler on a non-interactive <div> ui-next/src/components/features/flow/components/shapes/TerminalTask.jsx:20— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
Click handler on a non-interactive <div> ui-next/src/pages/definition/GraphPanel.tsx:77— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
Click handler on a non-interactive <div> ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:285— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
Click handler on a non-interactive <div> ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:373— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
Click handler on a non-interactive <div> ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:449— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
Click handler on a non-interactive <div> ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:571— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
Click handler on a non-interactive <div> ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:661— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
Click handler on a non-interactive <div> ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:777— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
Click handler on a non-interactive <div> ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:1919— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
Click handler on a non-interactive <div> ui-next/src/pages/execution/WorkflowIntrospection.tsx:577— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
D10 · Test Quality· No assertions (empty test) · ×5
No assertions (empty test): testRemovalListener ai/src/test/java/org/conductoross/conductor/ai/vectordb/PostgresVectorDBTest.java:331— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): test es8-persistence/src/test/java/org/conductoross/conductor/es8/dao/query/parser/TestGroupedExpression.java:23— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): test os-persistence-v2/src/test/java/org/conductoross/conductor/os2/dao/query/parser/TestGroupedExpression.java:23— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): test os-persistence-v3/src/test/java/org/conductoross/conductor/os3/dao/query/parser/TestGroupedExpression.java:23— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): test es7-persistence/src/test/java/com/netflix/conductor/es7/dao/query/parser/TestGroupedExpression.java:23— Test method has an empty body — it asserts nothing and exercises no code.
Orphaned knowledge redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:1— No living knowledge remains for this large file — its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites.
Orphaned knowledge kafka-event-queue/src/main/java/com/netflix/conductor/kafkaeq/eventqueue/KafkaObservableQueue.java:1— No living knowledge remains for this large file — its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites.
Orphaned knowledge sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:1— No living knowledge remains for this large file — its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites.
Orphaned knowledge cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraMetadataDAO.java:1— No living knowledge remains for this large file — its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites.
Orphaned knowledge core/src/main/java/com/netflix/conductor/service/WorkflowServiceImpl.java:1— No living knowledge remains for this large file — its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites.
D30 · Dependency Vulnerabilities· High vulnerability · ×4
REDACTED
REDACTED
REDACTED
REDACTED
AC2 · Forms & labels· Custom control with no accessible name on <div> · ×3
Custom control with no accessible name on <div> ui-next/src/components/features/flow/components/graphs/CustomEdgeButton.tsx:211— This <div> carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to <button type="button"> — the right fix for its keyboard operability — does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label.
Custom control with no accessible name on <div> ui-next/src/components/features/flow/components/graphs/CustomEdgeButton.tsx:229— This <div> carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to <button type="button"> — the right fix for its keyboard operability — does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label.
Custom control with no accessible name on <div> ui-next/src/components/features/flow/components/shapes/TaskCard/SwitchAdd.tsx:56— This <div> carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to <button type="button"> — the right fix for its keyboard operability — does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label.
AC2 · Forms & labels· <label> that labels no control · ×3
<label> that labels no control ui-next/src/pages/definition/GraphPanel.tsx:73— This <label> has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association — it is the TARGET of one, so a control still has to point at it. Give the label htmlFor="<the control's id>", move the control inside the label, or point the control's aria-labelledby at this label's id.
<label> that labels no control ui-next/src/pages/definitions/EventHandler.tsx:404— This <label> has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association — it is the TARGET of one, so a control still has to point at it. Give the label htmlFor="<the control's id>", move the control inside the label, or point the control's aria-labelledby at this label's id.
<label> that labels no control ui-next/src/pages/definitions/Scheduler/Schedules.tsx:789— This <label> has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association — it is the TARGET of one, so a control still has to point at it. Give the label htmlFor="<the control's id>", move the control inside the label, or point the control's aria-labelledby at this label's id.
AC4 · Keyboard semantics· Click handler on a non-interactive <span> · ×2
Click handler on a non-interactive <span> ui-next/src/components/ui/StackTrace.tsx:26— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
Click handler on a non-interactive <span> ui-next/src/pages/execution/RightPanel/SummaryTask.tsx:41— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
AC1 · Text alternatives· <img> without a text alternative · ×1
<img> without a text alternative ui-next/src/components/EmptyPageIntro.tsx:100— An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative.
AC1 · Text alternatives· <svg role="img"> without an accessible name · ×1
<svg role="img"> without an accessible name ui-next/src/components/features/flow/components/shapes/TaskCard/icons/Kafka.jsx:3— An svg presented as an image needs a name — add a <title> child or an aria-label/aria-labelledby.
AC4 · Keyboard semantics· Click handler on a non-interactive <foreignObject> · ×1
Click handler on a non-interactive <foreignObject> ui-next/src/components/features/flow/components/graphs/CustomNode.jsx:50— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
AC4 · Keyboard semantics· Hover-only interaction on <div> · ×1
Hover-only interaction on <div> ui-next/src/components/features/flow/components/shapes/DynamicTasksCards.jsx:69— This <div> binds mouse-enter and mouse-leave and nothing else — no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}="0" so the element can receive that focus.
AC4 · Keyboard semantics· Clickable role="button" that no keyboard user can reach · ×1
Clickable role="button" that no keyboard user can reach ui-next/src/components/features/flow/components/shapes/TaskCard/SwitchAdd.tsx:56— This <div> announces itself as a role="button" and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}="0" and an Enter/Space key handler, or make it a native <button>. If a parent widget owns the keyboard model, that parent must move focus onto the active role="button" or point aria-activedescendant at it.
Unlisted import '@testing-library/jest-dom' ui/src/setupTests.js:5— Imported but not declared in any reachable REDACTED — installs work only by hoisting accident.
FunctionTooLong: agentExecutionUtils.transformWorkflowExecutionToAgentRun ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:931— FunctionTooLong — transformWorkflowExecutionToAgentRun runs 943 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 843 over it, 9.43× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: CreatorFlags.CreatorFlags ui-next/src/pages/creatorFlags/CreatorFlags.tsx:173— FunctionTooLong — CreatorFlags runs 642 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 542 over it, 6.42× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: QuickAddMenu.QuickAddMenu ui-next/src/components/features/flow/components/RichAddTaskMenu/QuickAddMenu.tsx:191— FunctionTooLong — QuickAddMenu runs 593 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 493 over it, 5.93× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: Schedule.Schedule ui-next/src/pages/scheduler/Schedule.tsx:82— FunctionTooLong — Schedule runs 591 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 491 over it, 5.91× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: AddTaskSidebar.AddTaskSidebar ui-next/src/components/features/flow/components/RichAddTaskMenu/AddTaskSidebar.tsx:114— FunctionTooLong — AddTaskSidebar runs 590 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 490 over it, 5.90× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: TaskDefinitionForm.TaskDefinitionForm ui-next/src/pages/definition/task/form/TaskDefinitionForm.tsx:44— FunctionTooLong — TaskDefinitionForm runs 556 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 456 over it, 5.56× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: BasicSearch.BasicSearch ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx:90— FunctionTooLong — BasicSearch runs 526 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 426 over it, 5.26× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: BasicSearch.BasicSearch ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx:81— FunctionTooLong — BasicSearch runs 497 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 397 over it, 4.97× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: AgentDetailPanel.SummaryContent ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx:1002— FunctionTooLong — SummaryContent runs 472 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 372 over it, 4.72× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: Schedules.ScheduleDefinitions ui-next/src/pages/definitions/Scheduler/Schedules.tsx:302— FunctionTooLong — ScheduleDefinitions runs 471 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 371 over it, 4.71× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: AgentDetailPanel.AgentDetailPanel ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx:1699— FunctionTooLong — AgentDetailPanel runs 462 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 362 over it, 4.62× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: Execution.Execution ui-next/src/pages/execution/Execution.tsx:276— FunctionTooLong — Execution runs 451 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 351 over it, 4.51× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: RunWorkflow.RunWorkflow ui-next/src/pages/runWorkflow/RunWorkflow.tsx:185— FunctionTooLong — RunWorkflow runs 434 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 334 over it, 4.34× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: HTTPTaskForm.HTTPTaskForm ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/HTTPTaskForm/HTTPTaskForm.tsx:37— FunctionTooLong — HTTPTaskForm runs 420 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 320 over it, 4.20× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: Workflow.WorkflowDefinitions ui-next/src/pages/definitions/Workflow.tsx:62— FunctionTooLong — WorkflowDefinitions runs 409 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 309 over it, 4.09× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: AgentTaskForm.AgentTaskForm ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/AgentTaskForm.tsx:51— FunctionTooLong — AgentTaskForm runs 398 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 298 over it, 3.98× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: AdvancedSearch.AdvancedSearch ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx:86— FunctionTooLong — AdvancedSearch runs 393 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 293 over it, 3.93× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: Task.TaskDefinitions ui-next/src/pages/definitions/Task.tsx:56— FunctionTooLong — TaskDefinitions runs 391 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 291 over it, 3.91× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: AdvancedSearch.AdvancedSearch ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx:88— FunctionTooLong — AdvancedSearch runs 379 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 279 over it, 3.79× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: RightPanel.RightPanel ui-next/src/pages/execution/RightPanel/RightPanel.tsx:74— FunctionTooLong — RightPanel runs 372 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 272 over it, 3.72× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: EventHandler.EventDefinitionList ui-next/src/pages/definitions/EventHandler.tsx:64— FunctionTooLong — EventDefinitionList runs 362 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 262 over it, 3.62× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: ChunkTextTaskForm.ChunkTextTaskForm ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ChunkTextTaskForm.tsx:175— FunctionTooLong — ChunkTextTaskForm runs 343 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 243 over it, 3.43× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: DataTable.DataTable ui-next/src/components/ui/DataTable/DataTable.tsx:83— FunctionTooLong — DataTable runs 340 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 240 over it, 3.40× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: SidebarItem.SidebarItem ui-next/src/components/providers/sidebar/SidebarItem.tsx:45— FunctionTooLong — SidebarItem runs 336 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 236 over it, 3.36× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: TaskSearch.TaskSearch ui-next/src/pages/executions/TaskSearch.tsx:59— FunctionTooLong — TaskSearch runs 327 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 227 over it, 3.27× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
No assertions: rpcPathSuffix_routesToJsonRpcHandler agentspan/src/test/java/org/conductoross/conductor/ai/agentspan/a2a/A2AAgentServerResourceTest.java:140— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: testPassthroughGuardPreventsCrashOnNullModel agentspan/src/test/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompilerTest.java:753— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: permitsAValidSpecThatAdvertisesAnExternalApiServer agentspan/src/test/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTaskSecurityTest.java:185— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: acceptsAllSupportedKeywordsAtTopLevel agentspan/src/test/java/org/conductoross/conductor/ai/agentspan/runtime/util/SchemaSubsetValidatorTest.java:25— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: nullOrEmptySchemaIsNoOp agentspan/src/test/java/org/conductoross/conductor/ai/agentspan/runtime/util/SchemaSubsetValidatorTest.java:57— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: invalidPersistedMetadataIsReportedAsAnAdapterFailure agentspan/src/test/java/org/conductoross/conductor/ai/agentspan/ConductorAgentSpanConfigurationIntegrationTest.java:153— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: unserializableMetadataIsReportedAsAnAdapterFailure agentspan/src/test/java/org/conductoross/conductor/ai/agentspan/ConductorAgentSpanConfigurationIntegrationTest.java:172— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: rpcPathSuffix_routesToJsonRpcHandler ai/src/test/java/org/conductoross/conductor/ai/a2a/server/A2AServerResourceTest.java:228— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: getAgentCard_parsesCardFromWellKnownPath ai/src/test/java/org/conductoross/conductor/ai/a2a/A2AServiceTest.java:94— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: ssrfValidation_acceptsPublicUrl ai/src/test/java/org/conductoross/conductor/ai/a2a/A2AServiceTest.java:345— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: testWaitAndSuccessfulConnection ai/src/test/java/org/conductoross/conductor/ai/vectordb/PostgresVectorDBTest.java:193— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: testConfirmUploadAlreadyUploaded core/src/test/java/org/conductoross/conductor/core/storage/FileStorageServiceImplTest.java:107— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: testConfirmUploadFileNotOnStorage core/src/test/java/org/conductoross/conductor/core/storage/FileStorageServiceImplTest.java:116— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: testCreateFileRequiresWorkflowId core/src/test/java/org/conductoross/conductor/core/storage/FileStorageServiceImplTest.java:222— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: testDownloadContentRejectsFileNotUploaded core/src/test/java/org/conductoross/conductor/core/storage/FileStorageServiceImplTest.java:207— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: testDownloadContentRejectsUnrelatedWorkflow core/src/test/java/org/conductoross/conductor/core/storage/FileStorageServiceImplTest.java:173— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: testDownloadForbiddenWhenCallerNotInFamily core/src/test/java/org/conductoross/conductor/core/storage/FileStorageServiceImplTest.java:243— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: testDownloadForbiddenWhenFileHasNoWorkflowId core/src/test/java/org/conductoross/conductor/core/storage/FileStorageServiceImplTest.java:233— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: testGetDownloadUrlNotUploaded core/src/test/java/org/conductoross/conductor/core/storage/FileStorageServiceImplTest.java:214— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: testGetFileMetadataNotFound core/src/test/java/org/conductoross/conductor/core/storage/FileStorageServiceImplTest.java:324— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: testGetUploadUrlNotFound core/src/test/java/org/conductoross/conductor/core/storage/FileStorageServiceImplTest.java:90— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: testMetadataRejectsUnrelatedWorkflow core/src/test/java/org/conductoross/conductor/core/storage/FileStorageServiceImplTest.java:386— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: testUploadContentRequiresExactOwner core/src/test/java/org/conductoross/conductor/core/storage/FileStorageServiceImplTest.java:151— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: testUploadMutationRejectsWorkflowFamilyMember core/src/test/java/org/conductoross/conductor/core/storage/FileStorageServiceImplTest.java:369— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: testUploadUrlRequiresExactOwner core/src/test/java/org/conductoross/conductor/core/storage/FileStorageServiceImplTest.java:363— This method's body runs code, and no assertion was recognised in it. Recognised: JUnit's assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5's list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito's verify and the `assert` statement, in the test body and in helper methods of the test's own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
TooManyMethods: TaskModel core/src/main/java/com/netflix/conductor/model/TaskModel.java:33— TooManyMethods — 120 methods. The bar is 30 methods; this is 90 over it, 4.00× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: Task common/src/main/java/com/netflix/conductor/common/metadata/tasks/Task.java:33— TooManyMethods — 103 methods. The bar is 30 methods; this is 73 over it, 3.43× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: ConductorProperties core/src/main/java/com/netflix/conductor/core/config/ConductorProperties.java:30— TooManyMethods — 91 methods. The bar is 30 methods; this is 61 over it, 3.03× the bar. This type is bound by @ConfigurationProperties, so its accessors ARE the configuration keys: grouping members onto a nested type renames every key beneath it, and keeping the keys means the delegate still needs the full pass-through pair, which does not reduce the count. To reduce it, treat the split as a key migration — move each cohesive group onto its own bound type and publish the new key names, keeping the old ones accepted for a deprecation period. Where the key surface has to stay as it is, that is a decision to record rather than a change to make.
TooManyMethods: WorkflowTask common/src/main/java/com/netflix/conductor/common/metadata/workflow/WorkflowTask.java:40— TooManyMethods — 82 methods. The bar is 30 methods; this is 52 over it, 2.73× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: AbstractProtoMapper grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:67— TooManyMethods — 81 methods. The bar is 30 methods; this is 51 over it, 2.70× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: WorkflowModel core/src/main/java/com/netflix/conductor/model/WorkflowModel.java:29— TooManyMethods — 77 methods. The bar is 30 methods; this is 47 over it, 2.57× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: WorkflowExecutorOps core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:78— TooManyMethods — 76 methods. The bar is 30 methods; this is 46 over it, 2.53× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: Monitors core/src/main/java/com/netflix/conductor/metrics/Monitors.java:42— TooManyMethods — 70 methods. The bar is 30 methods; this is 40 over it, 2.33× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: RedisProperties redis-configuration/src/main/java/com/netflix/conductor/redis/config/RedisProperties.java:29— TooManyMethods — 70 methods. The bar is 30 methods; this is 40 over it, 2.33× the bar. This type is bound by @ConfigurationProperties, so its accessors ARE the configuration keys: grouping members onto a nested type renames every key beneath it, and keeping the keys means the delegate still needs the full pass-through pair, which does not reduce the count. To reduce it, treat the split as a key migration — move each cohesive group onto its own bound type and publish the new key names, keeping the old ones accepted for a deprecation period. Where the key surface has to stay as it is, that is a decision to record rather than a change to make.
TooManyMethods: JedisProxy redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisProxy.java:43— TooManyMethods — 68 methods. The bar is 30 methods; this is 38 over it, 2.27× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: MySQLExecutionDAO mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:47— TooManyMethods — 66 methods. The bar is 30 methods; this is 36 over it, 2.20× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: TaskDef common/src/main/java/com/netflix/conductor/common/metadata/tasks/TaskDef.java:37— TooManyMethods — 65 methods. The bar is 30 methods; this is 35 over it, 2.17× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: Workflow common/src/main/java/com/netflix/conductor/common/run/Workflow.java:31— TooManyMethods — 64 methods. The bar is 30 methods; this is 34 over it, 2.13× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: ElasticSearchRestDAOV7 es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:88— TooManyMethods — 63 methods. The bar is 30 methods; this is 33 over it, 2.10× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: ElasticSearchRestDAOV8 es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:70— TooManyMethods — 63 methods. The bar is 30 methods; this is 33 over it, 2.10× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: OpenSearchRestDAO os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:83— TooManyMethods — 62 methods. The bar is 30 methods; this is 32 over it, 2.07× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: OpenSearchRestDAO os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:70— TooManyMethods — 62 methods. The bar is 30 methods; this is 32 over it, 2.07× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: AgentCompiler agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:39— TooManyMethods — 61 methods. The bar is 30 methods; this is 31 over it, 2.03× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: UnifiedJedisCommands redis-api/src/main/java/com/netflix/conductor/redis/jedis/UnifiedJedisCommands.java:28— TooManyMethods — 61 methods. The bar is 30 methods; this is 31 over it, 2.03× the bar. Most of these members implement jedis.JedisCommands (49 of 51 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member.
TooManyMethods: JedisClusterCommands redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisClusterCommands.java:36— TooManyMethods — 61 methods. The bar is 30 methods; this is 31 over it, 2.03× the bar. Most of these members implement jedis.JedisCommands (49 of 51 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member.
TooManyMethods: JedisStandalone redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisStandalone.java:28— TooManyMethods — 61 methods. The bar is 30 methods; this is 31 over it, 2.03× the bar. Most of these members implement jedis.JedisCommands (49 of 51 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member.
TooManyMethods: WorkflowDef common/src/main/java/com/netflix/conductor/common/metadata/workflow/WorkflowDef.java:36— TooManyMethods — 60 methods. The bar is 30 methods; this is 30 over it, 2.00× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: PostgresExecutionDAO postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:48— TooManyMethods — 60 methods. The bar is 30 methods; this is 30 over it, 2.00× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: InMemoryJedisCommands redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/InMemoryJedisCommands.java:32— TooManyMethods — 60 methods. The bar is 30 methods; this is 30 over it, 2.00× the bar. Most of these members implement jedis.JedisCommands (49 of 50 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member.
TooManyMethods: SqliteExecutionDAO sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:48— TooManyMethods — 60 methods. The bar is 30 methods; this is 30 over it, 2.00× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
FileTooLong: compiler/MultiAgentCompiler.java agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java— FileTooLong — 2552 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2052 over it, 5.10× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: compiler/AgentCompiler.java agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java— FileTooLong — 2521 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2021 over it, 5.04× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: execution/WorkflowExecutorOps.java core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java— FileTooLong — 2045 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: WorkflowExecutorOps (78-2985). The bar is 500 significant lines; this is 1545 over it, 4.09× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: AgentExecution/AgentDetailPanel.tsx ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx— FileTooLong — 1843 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1343 over it, 3.69× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: AgentExecution/AgentExecutionDiagram.tsx ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx— FileTooLong — 1632 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1132 over it, 3.26× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: AgentExecution/agentExecutionUtils.ts ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts— FileTooLong — 1590 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1090 over it, 3.18× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: grpc/AbstractProtoMapper.java grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java— FileTooLong — 1432 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: AbstractProtoMapper (67-1919). The bar is 500 significant lines; this is 932 over it, 2.86× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: compiler/ToolCompiler.java agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java— FileTooLong — 1409 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 909 over it, 2.82× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: service/PlanAndCompileTask.java agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java— FileTooLong — 1205 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 705 over it, 2.41× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: index/OpenSearchRestDAO.java os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java— FileTooLong — 1043 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: OpenSearchRestDAO (70-1427). The bar is 500 significant lines; this is 543 over it, 2.09× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: index/ElasticSearchRestDAOV7.java es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java— FileTooLong — 1006 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: ElasticSearchRestDAOV7 (88-1398). The bar is 500 significant lines; this is 506 over it, 2.01× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: index/ElasticSearchRestDAOV8.java es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java— FileTooLong — 994 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: ElasticSearchRestDAOV8 (70-1327). The bar is 500 significant lines; this is 494 over it, 1.99× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: service/AgentService.java agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java— FileTooLong — 968 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 468 over it, 1.94× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: index/OpenSearchRestDAO.java os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java— FileTooLong — 960 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: OpenSearchRestDAO (83-1347). The bar is 500 significant lines; this is 460 over it, 1.92× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: util/JavaScriptBuilder.java agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java— FileTooLong — 897 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 397 over it, 1.79× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: service/SchedulerService.java scheduler/core/src/main/java/io/orkes/conductor/scheduler/service/SchedulerService.java— FileTooLong — 889 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: SchedulerService (69-1226). The bar is 500 significant lines; this is 389 over it, 1.78× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: state/action.ts ui-next/src/pages/definition/state/action.ts— FileTooLong — 808 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 308 over it, 1.62× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: AgentExecution/AgentDefinitionView.tsx ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx— FileTooLong — 804 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 304 over it, 1.61× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: creatorFlags/CreatorFlags.tsx ui-next/src/pages/creatorFlags/CreatorFlags.tsx— FileTooLong — 786 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: CreatorFlags (173-1088). The bar is 500 significant lines; this is 286 over it, 1.57× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: service/SkillRegistryService.java agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java— FileTooLong — 782 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: SkillRegistryService (62-1037). The bar is 500 significant lines; this is 282 over it, 1.56× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: dao/MySQLExecutionDAO.java mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java— FileTooLong — 767 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: MySQLExecutionDAO (47-1089). The bar is 500 significant lines; this is 267 over it, 1.53× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: execution/DeciderService.java core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java— FileTooLong — 754 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: DeciderService (59-1059). The bar is 500 significant lines; this is 254 over it, 1.51× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: RichAddTaskMenu/QuickAddMenu.tsx ui-next/src/components/features/flow/components/RichAddTaskMenu/QuickAddMenu.tsx— FileTooLong — 751 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: QuickAddMenu (191-940). The bar is 500 significant lines; this is 251 over it, 1.50× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: dao/PostgresExecutionDAO.java postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java— FileTooLong — 728 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: PostgresExecutionDAO (48-1032). The bar is 500 significant lines; this is 228 over it, 1.46× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: dao/SqliteExecutionDAO.java sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java— FileTooLong — 728 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: SqliteExecutionDAO (48-1032). The bar is 500 significant lines; this is 228 over it, 1.46× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
TodoComment cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:195— // TODO: write into multiple shards based on number of tasks — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:250— // TODO: calculate the shard number the task belongs to — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:355— // TODO: implement for query against multiple shards — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:464— // TODO: calculate number of shards and iterate — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:771— // TODO: calculate shard number based on seq and maxTasksPerShard — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment core/src/main/java/com/netflix/conductor/core/events/DefaultEventProcessor.java:281— // TODO: Switch to @Retryable annotation on SimpleActionProcessor.execute() — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment core/src/main/java/com/netflix/conductor/core/execution/mapper/SwitchTaskMapper.java:130— // TODO break out this recursive call using function composition of what needs to be — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment core/src/main/java/com/netflix/conductor/core/execution/mapper/DecisionTaskMapper.java:105— // TODO break out this recursive call using function composition of what needs to be — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment core/src/main/java/com/netflix/conductor/core/execution/mapper/ForkJoinDynamicTaskMapper.java:196— // TODO this is a cyclic dependency, break it out using function — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment core/src/main/java/com/netflix/conductor/core/execution/mapper/ForkJoinDynamicTaskMapper.java:309— // TODO: Remove this parameter in the later releases — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment core/src/main/java/com/netflix/conductor/core/execution/mapper/ForkJoinDynamicTaskMapper.java:581— // TODO create a custom pair — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment core/src/main/java/com/netflix/conductor/core/execution/mapper/DynamicTaskMapper.java:142— // TODO this is a common pattern in code base can — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java:184— // TODO: change this to method that cancels then deletes — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment grpc-client/src/main/java/com/netflix/conductor/client/grpc/WorkflowClient.java:163— // TODO — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment ui-next/src/components/features/flow/nodes/mapper/switch.ts:259— // TODO — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/WorkflowServiceImpl.java:64— // TODO: better handling of optional 'version' — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/MetadataServiceImpl.java:96— // TODO replace this with gRPC exception interceptor. — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment postgres-persistence/src/test/java/com/netflix/conductor/postgres/performance/PerformanceTest.java:452— // // TODO — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment rest/src/main/java/com/netflix/conductor/rest/controllers/TaskResource.java:107— // TODO: Return cancelled task — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment ui-next/src/components/features/flow/components/RichAddTaskMenu/taskGenerator.ts:279— // TODO check this in the mapper. array of array else it will break — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment ui-next/src/components/features/flow/components/graphs/PanAndZoomWrapper/PanAndZoomWrapper.tsx:74— // TODO this has to be in xstate. — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment ui-next/src/components/features/flow/components/graphs/PanAndZoomWrapper/PanAndZoomWrapper.tsx:85— // TODO this has to be in xstate. — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment ui-next/src/components/features/flow/nodes/mapper/subWorkflow.ts:85— // TODO fix when using sdk — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment ui-next/src/components/features/flow/nodes/mapper/join.ts:142— // TODO fix when using sdk types — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment ui-next/src/components/features/flow/nodes/mapper/forkJoin.ts:9— // TODO maybe get rid of this. — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
ClassTooLong: WorkflowExecutorOps core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:78— ClassTooLong — 1988 significant lines (blank, comment-only and punctuation-only lines excluded), 76 methods. The bar is 400 significant lines; this is 1588 over it, 4.97× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: AbstractProtoMapper grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:67— ClassTooLong — 1368 significant lines (blank, comment-only and punctuation-only lines excluded), 81 methods. The bar is 400 significant lines; this is 968 over it, 3.42× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: OpenSearchRestDAO os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:70— ClassTooLong — 991 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods. The bar is 400 significant lines; this is 591 over it, 2.48× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: ElasticSearchRestDAOV8 es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:70— ClassTooLong — 942 significant lines (blank, comment-only and punctuation-only lines excluded), 63 methods. The bar is 400 significant lines; this is 542 over it, 2.36× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: ElasticSearchRestDAOV7 es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:88— ClassTooLong — 936 significant lines (blank, comment-only and punctuation-only lines excluded), 63 methods. The bar is 400 significant lines; this is 536 over it, 2.34× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: OpenSearchRestDAO os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:83— ClassTooLong — 895 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods. The bar is 400 significant lines; this is 495 over it, 2.24× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: SchedulerService scheduler/core/src/main/java/io/orkes/conductor/scheduler/service/SchedulerService.java:69— ClassTooLong — 838 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods. The bar is 400 significant lines; this is 438 over it, 2.10× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: MySQLExecutionDAO mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:47— ClassTooLong — 739 significant lines (blank, comment-only and punctuation-only lines excluded), 66 methods. The bar is 400 significant lines; this is 339 over it, 1.85× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: SkillRegistryService agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java:62— ClassTooLong — 737 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. The bar is 400 significant lines; this is 337 over it, 1.84× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: DeciderService core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java:59— ClassTooLong — 718 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 318 over it, 1.80× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: PostgresExecutionDAO postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:48— ClassTooLong — 699 significant lines (blank, comment-only and punctuation-only lines excluded), 60 methods. The bar is 400 significant lines; this is 299 over it, 1.75× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: SqliteExecutionDAO sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:48— ClassTooLong — 699 significant lines (blank, comment-only and punctuation-only lines excluded), 60 methods. The bar is 400 significant lines; this is 299 over it, 1.75× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: CreatorFlags ui-next/src/pages/creatorFlags/CreatorFlags.tsx:1— ClassTooLong — 642 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 242 over it, 1.61× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: CassandraExecutionDAO cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:46— ClassTooLong — 635 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 235 over it, 1.59× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: AMQPObservableQueue amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:56— ClassTooLong — 617 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 217 over it, 1.54× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: AgentChatCompleteTaskMapper agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:76— ClassTooLong — 597 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 197 over it, 1.49× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: Task common/src/main/java/com/netflix/conductor/common/metadata/tasks/Task.java:33— ClassTooLong — 594 significant lines (blank, comment-only and punctuation-only lines excluded), 103 methods. The bar is 400 significant lines; this is 194 over it, 1.49× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: QuickAddMenu ui-next/src/components/features/flow/components/RichAddTaskMenu/QuickAddMenu.tsx:1— ClassTooLong — 593 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 193 over it, 1.48× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: Schedule ui-next/src/pages/scheduler/Schedule.tsx:1— ClassTooLong — 591 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 191 over it, 1.48× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: AddTaskSidebar ui-next/src/components/features/flow/components/RichAddTaskMenu/AddTaskSidebar.tsx:1— ClassTooLong — 590 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 190 over it, 1.48× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: ErrorsInspector ui/src/pages/errors/ErrorsInspector.jsx:1— ClassTooLong — 583 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 183 over it, 1.46× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: LLMHelper ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:84— ClassTooLong — 580 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 180 over it, 1.45× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: TaskDefinitionForm ui-next/src/pages/definition/task/form/TaskDefinitionForm.tsx:1— ClassTooLong — 556 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 156 over it, 1.39× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: RedisExecutionDAO redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:45— ClassTooLong — 536 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 136 over it, 1.34× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: BasicSearch ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx:1— ClassTooLong — 526 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 126 over it, 1.32× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
+ 16 more in this group — see findings.md.
R4 · Test Coverage· No test reaches this file · ×40
No test reaches this file REDACTED:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui/src/pages/errors/ErrorsInspector.jsx:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui/src/theme/colors.js:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui/src/theme/theme.js:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui-next/scripts/playwright-coverage-report.mjs:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui/src/pages/definition/WorkflowDefinition.jsx:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui/src/pages/errors/errorsInspectorStyles.js:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui/src/components/diagram/PanAndZoomWrapper.jsx:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui/src/pages/kitchensink/KitchenSink.jsx:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file REDACTED:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui/src/pages/kitchensink/EnhancedTable.jsx:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui/src/pages/execution/Execution.jsx:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file REDACTED:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui-next/src/growthbook/plugins.ts:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui/src/pages/executions/SchedulerExecutions.jsx:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui-next/src/pages/definitions/dialog/ShareWorkflowDialog.tsx:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui-next/src/utils/hooks/useConductorProjectBuilder.ts:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui/src/pages/executions/TaskSearch.jsx:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui/src/pages/workbench/WorkbenchForm.jsx:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui/src/pages/execution/RightPanel.jsx:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui/src/pages/executions/WorkflowSearch.jsx:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui/src/pages/executions/TaskResultsTable.jsx:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui/src/pages/errors/hooks/useWorkflowErrorGroups.js:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui/src/pages/executions/BulkActionModule.jsx:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/TaskFormFooter.tsx:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
Duplicated block (5 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1820— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1820-1824 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3151-3158 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (5 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1100— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1100-1104 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1980-1984 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1100` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (5 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2075— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2075-2079 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1998-2002 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2075` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (5 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2120— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2120-2124 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2214-2218 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (5 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:383— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:383-387 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1621-1625 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:383` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (5 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1445— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1445-1449 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1463-1467 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1450` calls `put` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1468` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (5 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:356— ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:356-360 | ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:463-467 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:356` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (5 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/pdf/PdfDocumentRenderer.java:127— ai/src/main/java/org/conductoross/conductor/ai/pdf/PdfDocumentRenderer.java:127-131 | ai/src/main/java/org/conductoross/conductor/ai/pdf/PdfDocumentRenderer.java:333-337 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (5 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:170— ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:170-174 | ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java:213-217 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:170` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (5 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java:86— ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java:86-90 | ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java:152-156 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java:149` calls `setAutoCommit` and `ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java:83` does not — after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (5 lines × 2) redis-configuration/src/main/java/com/netflix/conductor/redis/config/RedisClusterConfiguration.java:78— redis-configuration/src/main/java/com/netflix/conductor/redis/config/RedisClusterConfiguration.java:78-82 | redis-configuration/src/main/java/com/netflix/conductor/redis/config/RedisSentinelConfiguration.java:74-79 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `redis-configuration/src/main/java/com/netflix/conductor/redis/config/RedisClusterConfiguration.java:77` calls `ConfigurationHostSupplier` and `redis-configuration/src/main/java/com/netflix/conductor/redis/config/RedisSentinelConfiguration.java:71` does not — after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (5 lines × 2) scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerArchivalDAO.java:315— scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerArchivalDAO.java:315-319 | scheduler/redis-persistence/src/main/java/org/conductoross/conductor/scheduler/redis/dao/RedisSchedulerArchivalDAO.java:203-207 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerArchivalDAO.java:315` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (5 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AzureFoundryAgentClient.java:438— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AzureFoundryAgentClient.java:438-442 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/BedrockAgentClient.java:252-256 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (5 lines × 2) common/src/main/java/com/netflix/conductor/common/run/Workflow.java:555— common/src/main/java/com/netflix/conductor/common/run/Workflow.java:555-559 | core/src/main/java/com/netflix/conductor/model/WorkflowModel.java:494-498 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (5 lines × 2) common/src/main/java/com/netflix/conductor/common/run/Workflow.java:565— common/src/main/java/com/netflix/conductor/common/run/Workflow.java:565-569 | core/src/main/java/com/netflix/conductor/model/WorkflowModel.java:440-444 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (5 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:806— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:806-810 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:793-797 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: `ParserException` names `com.netflix.conductor.es7.dao.query.parser.internal.ParserException` in one and `org.conductoross.conductor.os2.dao.query.parser.internal.ParserException` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (5 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1036— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1036-1040 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1023-1027 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: `ParserException` names `com.netflix.conductor.es7.dao.query.parser.internal.ParserException` in one and `org.conductoross.conductor.os2.dao.query.parser.internal.ParserException` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (5 lines × 2) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:558— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:558-562 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqlitePollDataDAO.java:48-52 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqlitePollDataDAO.java` as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (5 lines × 2) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:144— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:144-148 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:194-198 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java` as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 217 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (5 lines × 2) os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:471— os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:471-475 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:469-473 — before extracting anything, compare `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` and `os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 439 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: `HttpStatus` names `org.apache.hc.core5.http.HttpStatus` in one and `org.apache.http.HttpStatus` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (5 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:133— postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:133-137 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:128-132 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (5 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:119— postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:119-123 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java:135-139 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (5 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:92— postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:92-96 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:92-96 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java` as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 342 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (5 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:140— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:140-144 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2709-2713 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (5 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2825— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2825-2829 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2838-2842 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2825` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (6 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:529— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:529-534 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:546-551 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java` and `ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java` as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:529` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (6 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:601— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:601-606 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:538-543 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java` and `ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java` as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:601` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (6 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1064— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1064-1069 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1090-1095 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1064` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (6 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1746— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1746-1751 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3270-3275 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (6 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2889— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2889-2894 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3392-3397 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (6 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:308— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:308-314 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:459-464 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:308` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (6 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:411— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:411-416 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1628-1633 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:411` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:407` calls `contains` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1627` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (6 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:610— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:610-616 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1577-1582 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (6 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:108— ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:108-113 | ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:152-157 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (6 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java:160— ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java:160-165 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAI.java:197-202 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java:160` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java:158` calls `GeminiVideoModel` and `ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAI.java:195` does not — after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (6 lines × 2) REDACTED:221— REDACTED:221-226 | REDACTED:229-234 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (6 lines × 2) core/src/main/java/com/netflix/conductor/core/execution/mapper/DecisionTaskMapper.java:73— core/src/main/java/com/netflix/conductor/core/execution/mapper/DecisionTaskMapper.java:73-78 | core/src/main/java/com/netflix/conductor/core/execution/mapper/SwitchTaskMapper.java:73-78 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (6 lines × 2) core/src/main/java/com/netflix/conductor/core/execution/tasks/ExclusiveJoin.java:49— core/src/main/java/com/netflix/conductor/core/execution/tasks/ExclusiveJoin.java:49-55 | core/src/main/java/com/netflix/conductor/core/execution/tasks/Join.java:65-70 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/com/netflix/conductor/core/execution/tasks/ExclusiveJoin.java:49` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (6 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:98— postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:98-103 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java:109-119 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:98` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (6 lines × 2) redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisProxy.java:211— redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisProxy.java:211-216 | redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisProxy.java:228-233 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisProxy.java:211` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (6 lines × 2) scheduler/core/src/main/java/io/orkes/conductor/dao/archive/SchedulerSearchQuery.java:76— scheduler/core/src/main/java/io/orkes/conductor/dao/archive/SchedulerSearchQuery.java:76-81 | scheduler/core/src/main/java/io/orkes/conductor/dao/archive/SchedulerSearchQuery.java:84-89 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (6 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:347— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:347-352 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AServerResource.java:223-228 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (6 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:354— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:354-359 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AServerResource.java:230-235 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (6 lines × 2) es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:1321— es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:1321-1326 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/Es8BulkIngestionSupport.java:121-126 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (6 lines × 2) kafka-event-queue/src/main/java/com/netflix/conductor/kafkaeq/config/KafkaEventQueueProperties.java:180— kafka-event-queue/src/main/java/com/netflix/conductor/kafkaeq/config/KafkaEventQueueProperties.java:180-185 | workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/kafka/KafkaWorkflowStatusPublisherProperties.java:104-109 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `kafka-event-queue/src/main/java/com/netflix/conductor/kafkaeq/config/KafkaEventQueueProperties.java:180` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (6 lines × 2) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:107— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:107-112 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:110-115 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (6 lines × 2) scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:89— scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:89-94 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerDAO.java:85-90 — before extracting anything, compare `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java` and `scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerDAO.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (6 lines × 2) scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:97— scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:97-102 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerDAO.java:93-98 — before extracting anything, compare `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java` and `scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerDAO.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (6 lines × 2) scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:192— scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:192-197 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerDAO.java:186-191 — before extracting anything, compare `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java` and `scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerDAO.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (6 lines × 2) workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/archive/ArchivingWithTTLWorkflowStatusListener.java:115— workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/archive/ArchivingWithTTLWorkflowStatusListener.java:115-120 | workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/archive/ArchivingWorkflowToS3.java:167-172 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
+ 7 more in this group — see findings.md.
D30 · Dependency Vulnerabilities· Medium CVE · ×31
Duplicated block (7 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:574— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:574-580 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:322-328 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java` and `ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java` as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (7 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:198— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:198-204 | ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:113-119 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java` and `ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 159 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:198` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:205` calls `setMessages` and `ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:120` does not — after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (7 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:292— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:292-298 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:390-396 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:397` calls `add` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:299` does not — after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (7 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:364— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:364-370 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:634-640 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (7 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:962— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:962-968 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1246-1252 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (7 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1624— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1624-1630 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:305-312 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (7 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:205— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:205-211 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:349-357 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (7 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2123— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2123-2129 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2556-2562 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (7 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3199— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3199-3205 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3510-3517 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3510` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (7 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:219— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:219-225 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:232-238 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:219` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:230` calls `put`, `getConfig`, `getOrDefault` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:218` does not — after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (7 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:85— ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:85-91 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIResponsesChatModel.java:82-89 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:85` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (7 lines × 2) cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:426— cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:426-432 | cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:449-455 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:426` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (7 lines × 2) cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/util/Statements.java:372— cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/util/Statements.java:372-378 | cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/util/Statements.java:545-551 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/util/Statements.java:372` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (7 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:664— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:664-670 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:651-657 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:664` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: `SearchResponse` names `org.elasticsearch.action.search.SearchResponse` in one and `org.opensearch.action.search.SearchResponse` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (7 lines × 2) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:858— grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:858-864 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1284-1290 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind `from` to `Task` in one and `TaskSummary` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH — their common supertype where they have one, or a new abstraction over them where they do not — and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (7 lines × 2) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1397— grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1397-1403 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1682-1688 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind `from` to `Workflow` in one and `WorkflowSummary` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH — their common supertype where they have one, or a new abstraction over them where they do not — and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (7 lines × 2) os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:322— os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:322-328 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:310-316 — before extracting anything, compare `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` and `os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 439 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (7 lines × 2) os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:850— os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:850-856 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:935-941 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (7 lines × 2) scheduler/core/src/main/java/io/orkes/conductor/scheduler/rest/SchedulerResource.java:93— scheduler/core/src/main/java/io/orkes/conductor/scheduler/rest/SchedulerResource.java:93-99 | scheduler/core/src/main/java/io/orkes/conductor/scheduler/rest/SchedulerResource.java:188-194 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (7 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:361— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:361-367 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AServerResource.java:248-254 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (7 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:550— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:550-556 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:298-304 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java` and `ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java` as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (7 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:503— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:503-509 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java:874-880 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (7 lines × 2) mysql-persistence/src/main/java/com/netflix/conductor/mysql/config/MySQLConfiguration.java:147— mysql-persistence/src/main/java/com/netflix/conductor/mysql/config/MySQLConfiguration.java:147-153 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/config/PostgresConfiguration.java:200-206 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
Duplicated block (7 lines × 2) nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/config/NATSStreamConfiguration.java:77— nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/config/NATSStreamConfiguration.java:77-83 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/config/JetStreamConfiguration.java:65-71 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind `properties` to `NATSStreamProperties` in one and `JetStreamProperties` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH — their common supertype where they have one, or a new abstraction over them where they do not — and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (7 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:58— postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:58-64 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:58-64 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java` as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 767 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:58` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it. Note first that the copies are not typed on the same thing: `ExecutorsUtil` names `com.netflix.conductor.postgres.util.ExecutorsUtil` in one and `com.netflix.conductor.sqlite.util.ExecutorsUtil` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
+ 5 more in this group — see findings.md.
D4 · Code Duplication· Members sharing a duplicated core (4 members, 50+ identical tokens) · ×27
Members sharing a duplicated core (4 members, 50+ identical tokens) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:432— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:432-565 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2105-2162 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2189-2261 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2538-2599 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:398— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:398-415 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:417-425 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:427-446 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:454-470 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:731— cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:731-749 | cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:752-768 | redis-concurrency-limit/src/main/java/com/netflix/conductor/redis/limit/RedisConcurrentExecutionLimitDAO.java:60-80 | redis-concurrency-limit/src/main/java/com/netflix/conductor/redis/limit/RedisConcurrentExecutionLimitDAO.java:88-109 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:145— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:145-205 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:121-203 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:139-199 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:127-187 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:214— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:214-229 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:218-233 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:208-223 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:196-211 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:527— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:527-549 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:349-375 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:518-536 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:517-535 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:557— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:557-592 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:383-418 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:544-579 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:543-570 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:709— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:709-728 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:560-579 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:696-715 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:690-709 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:736— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:736-760 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:587-611 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:723-747 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:717-741 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:862— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:862-890 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:942-971 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:849-877 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:929-958 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1336— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1336-1353 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/Es8BulkIngestionSupport.java:129-155 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1285-1302 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:1359-1377 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/Expression.java:44— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/Expression.java:44-59 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/Expression.java:43-58 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/Expression.java:43-58 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/Expression.java:42-57 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/NameValue.java:55— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/NameValue.java:55-67 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/NameValue.java:60-72 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/NameValue.java:48-60 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/NameValue.java:48-60 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:55— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:55-62 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:55-62 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java:55-62 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java:55-62 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:64— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:64-72 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:64-72 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java:64-72 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java:64-72 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:151— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:151-161 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:150-160 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java:151-161 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java:151-161 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:163— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:163-177 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:162-176 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java:163-177 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java:163-177 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/BooleanOp.java:29— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/BooleanOp.java:29-39 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/BooleanOp.java:29-39 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/BooleanOp.java:29-39 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/BooleanOp.java:29-39 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java:53— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java:53-70 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ConstValue.java:53-70 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/ConstValue.java:53-70 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/ConstValue.java:53-70 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java:93— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java:93-115 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ConstValue.java:93-115 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/ConstValue.java:93-115 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/ConstValue.java:93-115 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ListConst.java:37— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ListConst.java:37-60 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ListConst.java:37-60 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/ListConst.java:37-60 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/ListConst.java:37-60 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/Range.java:31— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/Range.java:31-44 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/Range.java:31-44 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/Range.java:31-44 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/Range.java:31-44 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:715— es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:715-748 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:882-914 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:843-876 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:928-962 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/TaskServiceImpl.java:239— grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/TaskServiceImpl.java:239-263 | grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/TaskServiceImpl.java:267-292 | grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/WorkflowServiceImpl.java:290-320 | grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/WorkflowServiceImpl.java:325-355 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Members sharing a duplicated core (4 members, 50+ identical tokens) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:104— grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:104-116 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:342-357 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:722-740 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1415-1454 — These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Boundary violation [fsd:cross-slice] ui-next/src/pages/agent/AgentDefinition.tsx:5— ui-next/src/pages/agent/AgentDefinition.tsx:5 imports ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx:38— ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx:38 imports ui-next/src/pages/executions/DateControlComponent.tsx against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx:34— ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx:34 imports ui-next/src/pages/executions/DateControlComponent.tsx against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definition/ConfirmLocalCopyDialog/ConfirmLocalCopyDialog.tsx:6— ui-next/src/pages/definition/ConfirmLocalCopyDialog/ConfirmLocalCopyDialog.tsx:6 imports ui-next/src/pages/runWorkflow/runWorkflowUtils.ts against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definition/ConfirmLocalCopyDialog/state/service.ts:3— ui-next/src/pages/definition/ConfirmLocalCopyDialog/state/service.ts:3 imports ui-next/src/pages/runWorkflow/runWorkflowUtils.ts against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/AgentTaskForm.tsx:18— ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/AgentTaskForm.tsx:18 imports ui-next/src/pages/agent/types.ts against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/StartWorkflowTaskForm/StartWorkflowTaskForm.tsx:13— ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/StartWorkflowTaskForm/StartWorkflowTaskForm.tsx:13 imports ui-next/src/pages/runWorkflow/IdempotencyForm.tsx against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/StartWorkflowTaskForm/StartWorkflowTaskForm.tsx:14— ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/StartWorkflowTaskForm/StartWorkflowTaskForm.tsx:14 imports ui-next/src/pages/runWorkflow/types.ts against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SubWorkflowOperatorForm/SubWorkflowOperatorForm.tsx:14— ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SubWorkflowOperatorForm/SubWorkflowOperatorForm.tsx:14 imports ui-next/src/pages/runWorkflow/IdempotencyForm.tsx against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SubWorkflowOperatorForm/SubWorkflowOperatorForm.tsx:15— ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SubWorkflowOperatorForm/SubWorkflowOperatorForm.tsx:15 imports ui-next/src/pages/runWorkflow/types.ts against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/TaskFormStyles.ts:1— ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/TaskFormStyles.ts:1 imports ui-next/src/pages/styles.js against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definition/EditorPanel/TaskFormTab/helpers.ts:7— ui-next/src/pages/definition/EditorPanel/TaskFormTab/helpers.ts:7 imports ui-next/src/pages/runWorkflow/types.ts against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definition/EventHandler/eventhandlers/FormComponent/ActionForms/StartAgentTask.tsx:10— ui-next/src/pages/definition/EventHandler/eventhandlers/FormComponent/ActionForms/StartAgentTask.tsx:10 imports ui-next/src/pages/agent/types.ts against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definition/EventHandler/eventhandlers/FormComponent/ActionForms/StartWorkflowTask.tsx:13— ui-next/src/pages/definition/EventHandler/eventhandlers/FormComponent/ActionForms/StartWorkflowTask.tsx:13 imports ui-next/src/pages/runWorkflow/IdempotencyForm.tsx against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definition/EventHandler/eventhandlers/FormComponent/ActionForms/StartWorkflowTask.tsx:14— ui-next/src/pages/definition/EventHandler/eventhandlers/FormComponent/ActionForms/StartWorkflowTask.tsx:14 imports ui-next/src/pages/runWorkflow/types.ts against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definition/RunWorkflow/RunWorkflowForm.tsx:9— ui-next/src/pages/definition/RunWorkflow/RunWorkflowForm.tsx:9 imports ui-next/src/pages/runWorkflow/IdempotencyForm.tsx against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definition/RunWorkflow/state/actions.ts:15— ui-next/src/pages/definition/RunWorkflow/state/actions.ts:15 imports ui-next/src/pages/runWorkflow/runWorkflowUtils.ts against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definition/WorkflowDefinition.tsx:18— ui-next/src/pages/definition/WorkflowDefinition.tsx:18 imports ui-next/src/pages/styles.js against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definition/state/hook.ts:11— ui-next/src/pages/definition/state/hook.ts:11 imports ui-next/src/pages/runWorkflow/runWorkflowUtils.ts against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definition/state/services.ts:3— ui-next/src/pages/definition/state/services.ts:3 imports ui-next/src/pages/runWorkflow/runWorkflowUtils.ts against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definitions/Workflow.tsx:21— ui-next/src/pages/definitions/Workflow.tsx:21 imports ui-next/src/pages/executions/SplitWorkflowDefinitionButton/SplitWorkflowDefinitionButton.tsx against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definitions/Workflow.tsx:22— ui-next/src/pages/definitions/Workflow.tsx:22 imports ui-next/src/pages/executions/SplitWorkflowDefinitionButton/ImportBpmnButton.tsx against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definitions/Workflow.tsx:23— ui-next/src/pages/definitions/Workflow.tsx:23 imports ui-next/src/pages/runWorkflow/runWorkflowUtils.ts against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definitions/dialog/CloneScheduleDialog.tsx:12— ui-next/src/pages/definitions/dialog/CloneScheduleDialog.tsx:12 imports ui-next/src/pages/scheduler/schedulerHooks.ts against the feature-sliced rules.
Boundary violation [fsd:cross-slice] ui-next/src/pages/definitions/dialog/CloneWorkflowDialog.tsx:15— ui-next/src/pages/definitions/dialog/CloneWorkflowDialog.tsx:15 imports ui-next/src/pages/definition/commonService.ts against the feature-sliced rules.
+ 2 more in this group — see findings.md.
AC6 · Visual & motion safety· Animation without a prefers-reduced-motion guard · ×26
Animation without a prefers-reduced-motion guard ui-next/src/components/features/flow/components/graphs/PanAndZoomWrapper/PanAndZoomWrapper.tsx:276— <div> moves — its inline style sets `transition: transform .1s` — and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:.
Animation without a prefers-reduced-motion guard ui-next/src/components/features/flow/components/shapes/DynamicTasksCards.jsx:100— <div> moves — its inline style sets `transition: transform 0.2s ease-in-out` — and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:.
Animation without a prefers-reduced-motion guard ui-next/src/components/features/flow/components/shapes/SideTaskCards.tsx:119— <div> moves — its inline style sets `transition: top 0.2s ease-in-out, left 0.2s ease-in-out` — and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:.
Animation without a prefers-reduced-motion guard ui-next/src/components/features/flow/components/shapes/TaskSummary.jsx:19— <div> moves — its inline style sets `transition: transform 0.2s ease-in-out` — and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:.
Animation without a prefers-reduced-motion guard ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx:955— <div> moves — its inline style sets `transition: transform .1s` — and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:.
Animation without a prefers-reduced-motion guard ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:1986— <div> moves — its inline style sets `transition: transform .1s` — and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:.
Animation without a prefers-reduced-motion guard ui/src/components/diagram/PanAndZoomWrapper.jsx:372— <div> moves — its inline style sets `transition: transform .1s` — and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:.
Animation without a prefers-reduced-motion guard ui/src/pages/errors/ErrorsInspector.jsx:675— <div> moves — its inline style sets `animation: spin 1s linear infinite` — and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:.
Animation without a prefers-reduced-motion guard docs/css/custom.css:521— `.cookbook-card` moves (`transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
Animation without a prefers-reduced-motion guard docs/css/custom.css:623— `.framework-logo-card` moves (`transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
Animation without a prefers-reduced-motion guard docs/css/custom.css:1129— `.agent-concepts-next-step` moves (`transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
Animation without a prefers-reduced-motion guard docs/css/custom.css:1177— `.agent-overview-card--link` moves (`transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
Animation without a prefers-reduced-motion guard docs/css/custom.css:1436— `.integration-action-card` moves (`transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
Animation without a prefers-reduced-motion guard docs/css/custom.css:1997— `.btn-arrow` moves (`transition: transform 0.2s`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
Animation without a prefers-reduced-motion guard docs/css/custom.css:2277— `.logo-track` moves (`animation: marquee-scroll 30s linear infinite`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
Animation without a prefers-reduced-motion guard docs/css/custom.css:2553— `.arch-card::before` moves (`transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1)`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
Animation without a prefers-reduced-motion guard docs/css/custom.css:2794— `.hero-title` moves (`animation: fadeUp 0.6s ease-out 0.1s both`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
Animation without a prefers-reduced-motion guard docs/css/custom.css:2797— `.hero-subtitle` moves (`animation: fadeUp 0.5s ease-out 0.2s both`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
Animation without a prefers-reduced-motion guard docs/css/custom.css:2800— `.hero-actions` moves (`animation: fadeUp 0.5s ease-out 0.3s both`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
Animation without a prefers-reduced-motion guard docs/css/custom.css:2803— `.hero-quickstart` moves (`animation: fadeUp 0.5s ease-out 0.4s both`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
Animation without a prefers-reduced-motion guard docs/css/custom.css:2806— `.feature-card` moves (`animation: fadeUp 0.5s ease-out both`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
Animation without a prefers-reduced-motion guard docs/css/custom.css:2815— `.section-label` moves (`animation: fadeUp 0.5s ease-out both`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
Animation without a prefers-reduced-motion guard docs/css/custom.css:2818— `.arch-card` moves (`animation: fadeUp 0.5s ease-out both`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
Animation without a prefers-reduced-motion guard docs/css/custom.css:2849— `.md-clipboard` moves (`transition: color 0.15s, transform 0.15s`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
Animation without a prefers-reduced-motion guard docs/css/custom.css:2928— `.sdk-card` moves (`transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce.
Duplicated block (8 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:513— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:513-520 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:444-451 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java` and `ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java` as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:513` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (8 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:564— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:564-571 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:312-319 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java` and `ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java` as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (8 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:958— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:958-965 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:969-976 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:958` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (8 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:841— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:841-848 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1406-1413 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (8 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:294— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:294-301 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:341-348 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (8 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/HumanTaskBuilder.java:362— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/HumanTaskBuilder.java:362-370 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/HumanTaskBuilder.java:428-435 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (8 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1829— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1829-1836 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1847-1854 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1829` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (8 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java:740— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java:740-747 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java:792-799 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java:740` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (8 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/api/GeminiApi.java:120— ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/api/GeminiApi.java:120-127 | ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/api/GeminiApi.java:132-139 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/api/GeminiApi.java:120` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (8 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java:126— ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java:126-133 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIResponsesChatModel.java:156-163 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (8 lines × 2) amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:111— amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:111-119 | awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/eventqueue/SQSObservableQueue.java:378-385 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:111` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (8 lines × 2) core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java:332— core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java:332-339 | core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java:985-992 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (8 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:268— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:268-275 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:262-269 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:268` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (8 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:626— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:626-633 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:613-620 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:626` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: `SearchHit` names `org.elasticsearch.search.SearchHit` in one and `org.opensearch.search.SearchHit` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (8 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:699— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:699-706 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:686-693 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:699` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: `SearchHit` names `org.elasticsearch.search.SearchHit` in one and `org.opensearch.search.SearchHit` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (8 lines × 2) redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisProxy.java:232— redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisProxy.java:232-239 | redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisProxy.java:248-255 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/JedisProxy.java:232` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (8 lines × 2) redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:205— redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:205-212 | redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:215-222 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:205` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (8 lines × 2) redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisMetadataDAO.java:260— redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisMetadataDAO.java:260-267 | redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisMetadataDAO.java:337-344 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (8 lines × 2) task-status-listener/src/main/java/com/netflix/conductor/contribs/listener/TaskStatusPublisher.java:47— task-status-listener/src/main/java/com/netflix/conductor/contribs/listener/TaskStatusPublisher.java:47-54 | workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/statuschange/StatusChangePublisher.java:48-55 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (8 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:582— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:582-589 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:330-337 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java` and `ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java` as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/agent/ConductorAgentDelegate.java:296— ai/src/main/java/org/conductoross/conductor/ai/agent/ConductorAgentDelegate.java:296-303 | ai/src/main/java/org/conductoross/conductor/ai/tasks/worker/A2AWorkers.java:705-712 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind `result` to `TaskResult` in one and `T` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH — their common supertype where they have one, or a new abstraction over them where they do not — and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (8 lines × 2) core/src/main/java/com/netflix/conductor/service/MetadataServiceImpl.java:272— core/src/main/java/com/netflix/conductor/service/MetadataServiceImpl.java:272-280 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1633-1640 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (8 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/config/PostgresConfiguration.java:208— postgres-persistence/src/main/java/com/netflix/conductor/postgres/config/PostgresConfiguration.java:208-215 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/config/SqliteConfiguration.java:267-274 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (8 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:236— postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:236-243 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java:260-267 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:247` calls `startsWith`, `endsWith` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java:271` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (8 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1233— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1233-1241 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1194-1201 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: `CountRequest` names `org.elasticsearch.client.core.CountRequest` in one and `org.opensearch.client.core.CountRequest` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Swallowed exception (caught, then discarded) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:406— `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentspanAIModelProvider.java:221— `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/controller/ProviderController.java:127— `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java:889— `catch (RuntimeException)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentEventListener.java:304— `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) ai/src/main/java/org/conductoross/conductor/ai/a2a/A2ACallbackResource.java:214— `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:474— `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:483— `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) ai/src/main/java/org/conductoross/conductor/ai/document/DocumentAccessPolicy.java:429— `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) ai/src/main/java/org/conductoross/conductor/ai/document/DocumentAccessPolicy.java:437— `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:267— `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java:340— `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/eventqueue/SQSObservableQueue.java:120— `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) azureblob-storage/src/main/java/org/conductoross/conductor/azureblob/storage/AzureBlobFileStorage.java:67— `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) common/src/main/java/com/netflix/conductor/common/utils/ConstraintParamUtil.java:146— `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) core/src/main/java/com/netflix/conductor/core/events/DefaultEventProcessor.java:324— `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) core/src/main/java/com/netflix/conductor/core/execution/AsyncSystemTaskExecutor.java:345— `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) core/src/main/java/com/netflix/conductor/core/utils/JsonUtils.java:92— `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) redis-configuration/src/main/java/com/netflix/conductor/redis/jedis/InMemoryJedisCommands.java:593— `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisSkillMetadataDAO.java:149— `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) server/src/main/java/com/netflix/conductor/Conductor.java:70— `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) ui-next/src/pages/scheduler/Schedule.tsx:569— `catch` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Duplicated block (10 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:207— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:207-216 | ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:121-130 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java` and `ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 159 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:207` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:205` calls `setMessages` and `ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:119` does not — after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (10 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:308— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:308-317 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:399-408 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:409` calls `applyTimeout` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:318` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (10 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:266— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:266-275 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1710-1719 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (10 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2953— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2953-2962 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3229-3238 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (10 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:101— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:101-110 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlannerContextFetchTask.java:133-142 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (10 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1797— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1797-1806 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1848-1857 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1797` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (10 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:300— ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:300-309 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIResponsesChatModel.java:244-253 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIResponsesChatModel.java:256` calls `mapFinishReason` and `ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:311` does not — after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (10 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java:104— ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java:104-113 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAI.java:121-130 — `ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java` and `ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAI.java` are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other — this scan matched 3 separate duplicated blocks between them, totalling at least 35 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java:104` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (10 lines × 2) amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:309— amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:309-318 | amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:321-330 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (10 lines × 2) common/src/main/java/com/netflix/conductor/common/metadata/tasks/Task.java:774— common/src/main/java/com/netflix/conductor/common/metadata/tasks/Task.java:774-783 | core/src/main/java/com/netflix/conductor/model/TaskModel.java:598-607 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (10 lines × 2) core/src/main/java/com/netflix/conductor/core/execution/mapper/InlineTaskMapper.java:77— core/src/main/java/com/netflix/conductor/core/execution/mapper/InlineTaskMapper.java:77-86 | core/src/main/java/com/netflix/conductor/core/execution/mapper/JsonJQTransformTaskMapper.java:67-76 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/com/netflix/conductor/core/execution/mapper/InlineTaskMapper.java:77` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (10 lines × 2) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:831— grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:831-840 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1149-1158 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind `from` to `Task` in one and `TaskResult` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH — their common supertype where they have one, or a new abstraction over them where they do not — and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1159` calls `getStatus`, `setStatus`, `toProto` and `grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:841` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (10 lines × 2) os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:452— os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:452-461 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:450-459 — before extracting anything, compare `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` and `os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 439 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:452` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: `ContentType` names `org.apache.hc.core5.http.ContentType` in one and `org.apache.http.entity.ContentType` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (10 lines × 2) redis-concurrency-limit/src/main/java/com/netflix/conductor/redis/limit/RedisConcurrentExecutionLimitDAO.java:70— redis-concurrency-limit/src/main/java/com/netflix/conductor/redis/limit/RedisConcurrentExecutionLimitDAO.java:70-79 | redis-concurrency-limit/src/main/java/com/netflix/conductor/redis/limit/RedisConcurrentExecutionLimitDAO.java:99-108 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `redis-concurrency-limit/src/main/java/com/netflix/conductor/redis/limit/RedisConcurrentExecutionLimitDAO.java:70` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (10 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java:150— ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java:150-159 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAI.java:255-264 — `ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java` and `ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAI.java` are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other — this scan matched 3 separate duplicated blocks between them, totalling at least 35 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (10 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/tasks/worker/LLMWorkers.java:150— ai/src/main/java/org/conductoross/conductor/ai/tasks/worker/LLMWorkers.java:150-159 | ai/src/main/java/org/conductoross/conductor/ai/tasks/worker/VectorDBWorkers.java:167-176 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/tasks/worker/LLMWorkers.java:150` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (10 lines × 2) core/src/main/java/org/conductoross/conductor/dao/schema/InMemorySchemaDAO.java:97— core/src/main/java/org/conductoross/conductor/dao/schema/InMemorySchemaDAO.java:97-106 | redis-persistence/src/main/java/org/conductoross/conductor/redis/dao/RedisSchemaDAO.java:119-128 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (10 lines × 2) nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSObservableQueue.java:44— nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSObservableQueue.java:44-53 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSObservableQueue.java:44-53 — before extracting anything, compare `nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSObservableQueue.java` and `nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSObservableQueue.java` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (10 lines × 2) nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSObservableQueue.java:92— nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSObservableQueue.java:92-101 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSObservableQueue.java:92-101 — before extracting anything, compare `nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSObservableQueue.java` and `nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSObservableQueue.java` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (10 lines × 2) scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerArchivalDAO.java:421— scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerArchivalDAO.java:421-430 | scheduler/sqlite-persistence/src/main/java/org/conductoross/conductor/scheduler/sqlite/dao/SqliteSchedulerArchivalDAO.java:251-260 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
Duplicated block (10 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:796— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:796-805 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/AgentExecutionTokenUsageAggregator.java:104-113 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (7 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2976— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2976-2982 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3548-3557 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3686-3692 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2976` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (7 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1139— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1139-1145 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1331-1337 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2019-2025 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1330` calls `put` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1138` does not — after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (7 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:515— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:515-522 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1706-1713 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1879-1885 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (7 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:215— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:215-221 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:122-128 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/VercelAINormalizer.java:242-248 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java` as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:215` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:121` calls `getMap` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:214` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (7 lines × 3) ai/src/main/java/org/conductoross/conductor/ai/providers/cohere/CohereAI.java:88— ai/src/main/java/org/conductoross/conductor/ai/providers/cohere/CohereAI.java:88-94 | ai/src/main/java/org/conductoross/conductor/ai/providers/grok/Grok.java:73-79 | ai/src/main/java/org/conductoross/conductor/ai/providers/litellm/LiteLLM.java:78-84 — `ai/src/main/java/org/conductoross/conductor/ai/providers/grok/Grok.java` and `ai/src/main/java/org/conductoross/conductor/ai/providers/litellm/LiteLLM.java` are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other — this scan matched 3 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/providers/cohere/CohereAI.java:88` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `ai/src/main/java/org/conductoross/conductor/ai/providers/grok/Grok.java:80` calls `toolCallbacks`, `toolNames`, `internalToolExecutionEnabled` and `ai/src/main/java/org/conductoross/conductor/ai/providers/cohere/CohereAI.java:95` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (7 lines × 3) ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCTaskMapper.java:53— ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCTaskMapper.java:53-59 | ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/AIModelTaskMapper.java:86-92 | core/src/main/java/com/netflix/conductor/core/execution/mapper/SimpleTaskMapper.java:89-95 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made 3 times.
Duplicated block (7 lines × 3) ai/src/main/java/org/conductoross/conductor/ai/providers/grok/Grok.java:43— ai/src/main/java/org/conductoross/conductor/ai/providers/grok/Grok.java:43-52 | ai/src/main/java/org/conductoross/conductor/ai/providers/litellm/LiteLLM.java:43-52 | ai/src/main/java/org/conductoross/conductor/ai/providers/perplexity/PerplexityAI.java:40-46 — `ai/src/main/java/org/conductoross/conductor/ai/providers/grok/Grok.java` and `ai/src/main/java/org/conductoross/conductor/ai/providers/litellm/LiteLLM.java` are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other — this scan matched 3 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Note first that the copies are not typed on the same thing: the declarations holding them bind `config` to `GrokAIConfiguration` in one and `LiteLLMConfiguration` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH — their common supertype where they have one, or a new abstraction over them where they do not — and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (7 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/config/MySQLConfiguration.java:163— mysql-persistence/src/main/java/com/netflix/conductor/mysql/config/MySQLConfiguration.java:163-169 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/config/PostgresConfiguration.java:217-223 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/config/SqliteConfiguration.java:300-306 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (7 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:69— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:69-75 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java:69-75 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:56-62 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java` as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:144— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:144-150 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java:144-150 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:118-124 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java` as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:223— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:223-229 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java:223-229 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:174-180 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java` as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:238— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:238-244 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java:238-244 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:182-188 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java` as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:390— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:390-396 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:422-428 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:422-428 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:521— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:521-527 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:579-585 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteTaskMetadataDAO.java:74-80 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 280 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:432— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:432-438 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:459-465 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:452-458 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:126— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:126-132 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresFileMetadataDAO.java:126-132 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteFileMetadataDAO.java:125-131 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresFileMetadataDAO.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (7 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSchemaDAO.java:135— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSchemaDAO.java:135-141 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSchemaDAO.java:133-139 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteSchemaDAO.java:133-139 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSchemaDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSchemaDAO.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java:142— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java:142-148 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillMetadataDAO.java:144-150 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteSkillMetadataDAO.java:144-150 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillMetadataDAO.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java:175— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java:175-181 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillMetadataDAO.java:177-183 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteSkillMetadataDAO.java:177-183 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillMetadataDAO.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (7 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillPackageDAO.java:69— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillPackageDAO.java:69-75 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillPackageDAO.java:69-75 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteSkillPackageDAO.java:69-75 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillPackageDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillPackageDAO.java` as WHOLE FILES: 85% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
MethodTooLong: SkillNormalizer.normalize agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:56— MethodTooLong — normalize runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: AgentChatCompleteTaskMapper.getHistory agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:349— MethodTooLong — getHistory runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: WorkflowExecutorOps.rerunWF core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2301— MethodTooLong — rerunWF runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: WorkflowExecutorOps.updateTask core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:940— MethodTooLong — updateTask runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: GoogleADKNormalizer.normalize agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:52— MethodTooLong — normalize runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: DeciderService.decide core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java:127— MethodTooLong — decide runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: ChatCompleteTaskMapper.getHistory ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:154— MethodTooLong — getHistory runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: DeciderService.retry core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java:562— MethodTooLong — retry runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: SchedulerService.handleSchedules scheduler/core/src/main/java/io/orkes/conductor/scheduler/service/SchedulerService.java:554— MethodTooLong — handleSchedules runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: LangGraphNormalizer.normalizeGraphStructure agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java:119— MethodTooLong — normalizeGraphStructure runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: NameValue.getFilter os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/NameValue.java:89— MethodTooLong — getFilter runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: CassandraSchedulerDAO.prepareStatements scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerDAO.java:133— MethodTooLong — prepareStatements runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: ForkJoinDynamicTaskMapper.getMappedTasks core/src/main/java/com/netflix/conductor/core/execution/mapper/ForkJoinDynamicTaskMapper.java:125— MethodTooLong — getMappedTasks runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: SubWorkflow.start core/src/main/java/com/netflix/conductor/core/execution/tasks/SubWorkflow.java:56— MethodTooLong — start runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: WorkflowExecutorOps.terminateWorkflow core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:792— MethodTooLong — terminateWorkflow runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: ExecutionService.poll core/src/main/java/com/netflix/conductor/service/ExecutionService.java:111— MethodTooLong — poll runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: WorkflowGraph.render ui/src/components/diagram/WorkflowGraph.jsx:372— MethodTooLong — render runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: ExternalPayloadStorageUtils.verifyAndUpload core/src/main/java/com/netflix/conductor/core/utils/ExternalPayloadStorageUtils.java:91— MethodTooLong — verifyAndUpload runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: WorkflowSweeper.sweep core/src/main/java/org/conductoross/conductor/core/execution/WorkflowSweeper.java:161— MethodTooLong — sweep runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
Duplicated block (13 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:417— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:417-429 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:390-402 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java` and `ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java` as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (13 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:150— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:150-162 | ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:98-110 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java` and `ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 159 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:150` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (13 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:592— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:592-604 | ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:140-152 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java` and `ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 159 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (13 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2109— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2109-2121 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2542-2554 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (13 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3534— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3534-3546 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3600-3612 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3614` calls `warn`, `getName` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3549` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (13 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:924— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:924-936 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1281-1293 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:924` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1294` calls `size` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:937` does not — after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (13 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:95— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:95-107 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:63-75 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java` as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (13 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/providers/grok/Grok.java:66— ai/src/main/java/org/conductoross/conductor/ai/providers/grok/Grok.java:66-78 | ai/src/main/java/org/conductoross/conductor/ai/providers/litellm/LiteLLM.java:71-83 — `ai/src/main/java/org/conductoross/conductor/ai/providers/grok/Grok.java` and `ai/src/main/java/org/conductoross/conductor/ai/providers/litellm/LiteLLM.java` are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other — this scan matched 3 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `ai/src/main/java/org/conductoross/conductor/ai/providers/litellm/LiteLLM.java:85` calls `topK`, `getTopK` and `ai/src/main/java/org/conductoross/conductor/ai/providers/grok/Grok.java:80` does not — after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (13 lines × 2) awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/eventqueue/SQSObservableQueue.java:379— awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/eventqueue/SQSObservableQueue.java:379-391 | core/src/main/java/com/netflix/conductor/core/events/queue/ConductorObservableQueue.java:122-134 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/eventqueue/SQSObservableQueue.java:379` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (13 lines × 2) cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:675— cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:675-687 | cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:695-707 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:675` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (13 lines × 2) core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2323— core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2323-2335 | core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2374-2386 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (13 lines × 2) core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java:155— core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java:155-167 | core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java:209-221 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java:155` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (13 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:637— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:637-649 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:624-636 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:637` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: `BoolQueryBuilder` names `org.elasticsearch.index.query.BoolQueryBuilder` in one and `org.opensearch.index.query.BoolQueryBuilder` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (13 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:674— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:674-686 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:661-673 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:674` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: `BoolQueryBuilder` names `org.elasticsearch.index.query.BoolQueryBuilder` in one and `org.opensearch.index.query.BoolQueryBuilder` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (13 lines × 2) os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:266— os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:266-278 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:254-266 — before extracting anything, compare `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` and `os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 439 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:266` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (13 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/ExecutorsUtil.java:24— postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/ExecutorsUtil.java:24-36 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/ExecutorsUtil.java:24-36 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/ExecutorsUtil.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/ExecutorsUtil.java` as WHOLE FILES: 96% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (13 lines × 2) scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:210— scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:210-222 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java:205-217 — before extracting anything, compare `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java` and `scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java` as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (13 lines × 2) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:112— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:112-124 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteWorkflowMetadataDAO.java:38-50 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteWorkflowMetadataDAO.java` as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (13 lines × 2) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:97— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:97-109 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:120-132 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 280 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (9 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2AAgentServerResource.java:104— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2AAgentServerResource.java:104-112 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AServerResource.java:238-246 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (9 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:370— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:370-378 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AServerResource.java:257-265 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (9 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:487— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:487-495 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:418-426 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java` and `ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java` as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (9 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:598— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:598-606 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:990-998 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:598` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (9 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:627— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:627-635 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1020-1028 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:627` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1019` calls `add` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:625` does not — after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (9 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3216— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3216-3225 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3234-3242 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3216` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (9 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1087— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1087-1095 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1216-1224 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1087` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (9 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1789— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1789-1797 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2044-2052 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1788` calls `setName`, `getName` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2043` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (9 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:810— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:810-818 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:967-975 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:810` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (9 lines × 2) amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/config/AMQPEventQueueConfiguration.java:70— amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/config/AMQPEventQueueConfiguration.java:70-78 | awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/config/SQSEventQueueConfiguration.java:96-104 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/config/AMQPEventQueueConfiguration.java:70` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind `properties` to `AMQPEventQueueProperties` in one and `SQSEventQueueProperties` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH — their common supertype where they have one, or a new abstraction over them where they do not — and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/config/AMQPEventQueueConfiguration.java:68` calls `isUseExchange` and `awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/config/SQSEventQueueConfiguration.java:95` does not — after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (9 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchBaseDAO.java:77— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchBaseDAO.java:77-85 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchBaseDAO.java:77-85 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchBaseDAO.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchBaseDAO.java` as WHOLE FILES: 82% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: `BoolQueryBuilder` names `org.elasticsearch.index.query.BoolQueryBuilder` in one and `org.opensearch.index.query.BoolQueryBuilder` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (9 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:496— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:496-504 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:490-498 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:496` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: `IndexRequest` names `org.elasticsearch.action.index.IndexRequest` in one and `org.opensearch.action.index.IndexRequest` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:505` calls `isWaitForIndexRefresh`, `setRefreshPolicy` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:499` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (9 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1283— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1283-1291 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1240-1248 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: `IndexRequest` names `org.elasticsearch.action.index.IndexRequest` in one and `org.opensearch.action.index.IndexRequest` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (9 lines × 2) nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:78— nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:78-86 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java:78-86 — before extracting anything, compare `nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java` and `nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (9 lines × 2) os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:256— os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:256-264 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:244-252 — before extracting anything, compare `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` and `os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 439 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:256` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: `HttpEntity` names `org.apache.hc.core5.http.HttpEntity` in one and `org.apache.http.HttpEntity` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (9 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:78— postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:78-86 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java:79-87 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:78` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (9 lines × 2) es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:245— es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:245-253 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/Es8SearchSupport.java:300-308 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (9 lines × 2) scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:181— scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:181-189 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerDAO.java:175-183 — before extracting anything, compare `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java` and `scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerDAO.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:923— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:923-930 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1080-1087 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1280-1287 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (8 lines × 3) ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIChatCompletionsApi.java:74— ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIChatCompletionsApi.java:74-81 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIEmbeddingsApi.java:67-74 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIImageGenApi.java:68-75 — before extracting anything, compare `ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIEmbeddingsApi.java` and `ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIImageGenApi.java` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIChatCompletionsApi.java:74` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (8 lines × 3) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1124— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1124-1131 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1060-1067 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1103-1110 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1124` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: `SortOrder` names `org.elasticsearch.search.sort.SortOrder` in one and `org.opensearch.search.sort.SortOrder` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (8 lines × 3) es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:716— es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:716-723 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:883-890 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:845-852 — before extracting anything, compare `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java` and `os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 233 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillPackageDAO.java:59— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillPackageDAO.java:59-66 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillPackageDAO.java:59-66 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteSkillPackageDAO.java:59-66 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillPackageDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillPackageDAO.java` as WHOLE FILES: 85% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (8 lines × 3) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:304— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:304-311 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:298-305 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:286-293 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 3) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:313— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:313-320 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:307-314 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:295-302 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:399— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:399-406 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:431-438 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:431-438 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:485— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:485-492 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:517-524 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:517-524 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:495— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:495-502 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:527-534 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:527-534 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:505— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:505-512 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:537-544 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:537-544 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:655— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:655-662 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:648-655 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:648-655 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:1081— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:1081-1088 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:1024-1031 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:1024-1031 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:214— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:214-221 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:243-250 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteWorkflowMetadataDAO.java:134-141 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 280 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:298— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:298-305 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:424-431 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:406-413 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java` as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 212 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:347— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:347-354 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:473-480 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:455-462 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java` as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 212 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:82— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:82-89 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:79-86 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:79-86 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (8 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:254— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:254-261 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:256-263 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:249-256 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Swallowed exception (empty catch) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentspanAIModelProvider.java:245— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentStreamRegistry.java:193— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentStreamRegistry.java:279— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) ai/src/main/java/org/conductoross/conductor/ai/document/DocumentAccessPolicy.java:463— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) core/src/main/java/com/netflix/conductor/core/execution/mapper/ForkJoinDynamicTaskMapper.java:492— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) core/src/main/java/com/netflix/conductor/core/execution/mapper/ForkJoinDynamicTaskMapper.java:515— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:227— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java:227— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) scripts/fetch-sdk-docs.py:50— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) ui-next/scripts/build-lib-watch.mjs:26— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) ui-next/src/components/FlatMapForm/ConductorStringOrJsonInput.tsx:125— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) ui-next/src/growthbook/plugins.ts:174— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) ui-next/src/growthbook/plugins.ts:198— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) ui-next/src/pages/definition/EditorPanel/TaskFormTab/helpers.ts:97— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) ui-next/src/pages/definitions/dialog/CloneScheduleDialog.tsx:96— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) ui-next/src/pages/execution/AgentExecution/HumanInputPanel.tsx:69— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) ui-next/src/pages/execution/AgentExecution/AgentExecutionTab.tsx:180— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) ui-next/src/plugins/fetch.ts:48— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Duplicated block (10 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentEventListener.java:349— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentEventListener.java:349-358 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentEventListener.java:360-369 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentEventListener.java:371-380 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentEventListener.java:349` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (10 lines × 3) core/src/main/java/com/netflix/conductor/core/execution/mapper/HTTPTaskMapper.java:71— core/src/main/java/com/netflix/conductor/core/execution/mapper/HTTPTaskMapper.java:71-80 | core/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:69-78 | kafka/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:69-78 — before extracting anything, compare `core/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java` and `kafka/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/com/netflix/conductor/core/execution/mapper/HTTPTaskMapper.java:71` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (10 lines × 3) es7-persistence/src/main/java/com/netflix/conductor/es7/config/ElasticSearchProperties.java:226— es7-persistence/src/main/java/com/netflix/conductor/es7/config/ElasticSearchProperties.java:226-235 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java:445-454 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/config/OpenSearchProperties.java:443-452 — before extracting anything, compare `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java` and `os-persistence-v3/src/main/java/org/conductoross/conductor/os3/config/OpenSearchProperties.java` as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 163 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (10 lines × 3) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:293— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:293-302 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:287-296 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:275-284 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (10 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:377— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:377-386 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:379-388 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:372-381 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (10 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:414— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:414-423 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:416-425 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:409-418 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (10 lines × 3) ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:368— ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:368-377 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java:231-240 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIResponsesChatModel.java:293-302 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made 3 times.
Duplicated block (10 lines × 3) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:243— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:243-252 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:237-246 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:225-234 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (10 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:133— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:133-142 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:156-165 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteWorkflowMetadataDAO.java:57-66 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 280 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (10 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:87— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:87-96 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:121-130 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:116-125 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java` as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 212 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:87` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (10 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:326— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:326-335 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:328-337 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:321-330 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (10 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:102— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:102-111 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresFileMetadataDAO.java:102-111 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteFileMetadataDAO.java:101-110 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresFileMetadataDAO.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:102` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (10 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSchemaDAO.java:80— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSchemaDAO.java:80-89 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSchemaDAO.java:78-87 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteSchemaDAO.java:78-87 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSchemaDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSchemaDAO.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (10 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java:112— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java:112-121 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillMetadataDAO.java:114-123 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteSkillMetadataDAO.java:114-123 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillMetadataDAO.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (10 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java:124— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java:124-133 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillMetadataDAO.java:126-135 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteSkillMetadataDAO.java:126-135 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillMetadataDAO.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (10 lines × 3) nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSObservableQueue.java:104— nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSObservableQueue.java:104-113 | nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSStreamObservableQueue.java:129-138 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSObservableQueue.java:104-113 — before extracting anything, compare `nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSObservableQueue.java` and `nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSObservableQueue.java` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (10 lines × 3) scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/config/MySQLSchedulerConfiguration.java:45— scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/config/MySQLSchedulerConfiguration.java:45-54 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/config/PostgresSchedulerConfiguration.java:45-54 | scheduler/sqlite-persistence/src/main/java/org/conductoross/conductor/scheduler/sqlite/config/SqliteSchedulerConfiguration.java:43-52 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Hotspot: ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:931— ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 180 in agentExecutionUtils.transformWorkflowExecutionToAgentRun at line 931. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-25 13:09:27 +05:30' --until='2026-10-23 13:09:27 +05:30' --full-history --no-merges -- ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:896— ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 81 in AgentExecutionDiagram.buildTurnNodes at line 896. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-25 13:09:27 +05:30' --until='2026-10-23 13:09:27 +05:30' --full-history --no-merges -- ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: ui-next/src/pages/execution/Execution.tsx ui-next/src/pages/execution/Execution.tsx:276— ui-next/src/pages/execution/Execution.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in Execution.Execution at line 276. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-25 13:09:27 +05:30' --until='2026-10-23 13:09:27 +05:30' --full-history --no-merges -- ui-next/src/pages/execution/Execution.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx:81— ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in BasicSearch.BasicSearch at line 81. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-25 13:09:27 +05:30' --until='2026-10-23 13:09:27 +05:30' --full-history --no-merges -- ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: core/src/main/java/com/netflix/conductor/core/execution/tasks/Join.java core/src/main/java/com/netflix/conductor/core/execution/tasks/Join.java:60— core/src/main/java/com/netflix/conductor/core/execution/tasks/Join.java changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in Join.execute at line 60. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-25 13:09:27 +05:30' --until='2026-10-23 13:09:27 +05:30' --full-history --no-merges -- core/src/main/java/com/netflix/conductor/core/execution/tasks/Join.java`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx:86— ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in AdvancedSearch.AdvancedSearch at line 86. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-25 13:09:27 +05:30' --until='2026-10-23 13:09:27 +05:30' --full-history --no-merges -- ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx:90— ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in BasicSearch.BasicSearch at line 90. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-25 13:09:27 +05:30' --until='2026-10-23 13:09:27 +05:30' --full-history --no-merges -- ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: ui-next/src/pages/executions/TaskSearch.tsx ui-next/src/pages/executions/TaskSearch.tsx:59— ui-next/src/pages/executions/TaskSearch.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in TaskSearch.TaskSearch at line 59. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-25 13:09:27 +05:30' --until='2026-10-23 13:09:27 +05:30' --full-history --no-merges -- ui-next/src/pages/executions/TaskSearch.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: ui-next/src/pages/definitions/Workflow.tsx ui-next/src/pages/definitions/Workflow.tsx:62— ui-next/src/pages/definitions/Workflow.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in Workflow.WorkflowDefinitions at line 62. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-25 13:09:27 +05:30' --until='2026-10-23 13:09:27 +05:30' --full-history --no-merges -- ui-next/src/pages/definitions/Workflow.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx:88— ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in AdvancedSearch.AdvancedSearch at line 88. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-25 13:09:27 +05:30' --until='2026-10-23 13:09:27 +05:30' --full-history --no-merges -- ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: ui-next/src/pages/execution/AgentExecution/AgentExecutionTab.tsx ui-next/src/pages/execution/AgentExecution/AgentExecutionTab.tsx:47— ui-next/src/pages/execution/AgentExecution/AgentExecutionTab.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in AgentExecutionTab.AgentExecutionTab at line 47. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-25 13:09:27 +05:30' --until='2026-10-23 13:09:27 +05:30' --full-history --no-merges -- ui-next/src/pages/execution/AgentExecution/AgentExecutionTab.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: ui-next/src/pages/execution/AgentExecution/AgentRunView.tsx ui-next/src/pages/execution/AgentExecution/AgentRunView.tsx:307— ui-next/src/pages/execution/AgentExecution/AgentRunView.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in AgentRunView.AgentRunView at line 307. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-25 13:09:27 +05:30' --until='2026-10-23 13:09:27 +05:30' --full-history --no-merges -- ui-next/src/pages/execution/AgentExecution/AgentRunView.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: core/src/main/java/com/netflix/conductor/core/execution/AsyncSystemTaskExecutor.java core/src/main/java/com/netflix/conductor/core/execution/AsyncSystemTaskExecutor.java:79— core/src/main/java/com/netflix/conductor/core/execution/AsyncSystemTaskExecutor.java changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in AsyncSystemTaskExecutor.execute at line 79. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-25 13:09:27 +05:30' --until='2026-10-23 13:09:27 +05:30' --full-history --no-merges -- core/src/main/java/com/netflix/conductor/core/execution/AsyncSystemTaskExecutor.java`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: ui-next/src/components/providers/sidebar/Sidebar.tsx ui-next/src/components/providers/sidebar/Sidebar.tsx:33— ui-next/src/components/providers/sidebar/Sidebar.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in Sidebar.Sidebar at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-25 13:09:27 +05:30' --until='2026-10-23 13:09:27 +05:30' --full-history --no-merges -- ui-next/src/components/providers/sidebar/Sidebar.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SubWorkflowOperatorForm/SubWorkflowOperatorForm.tsx ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SubWorkflowOperatorForm/SubWorkflowOperatorForm.tsx:38— ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SubWorkflowOperatorForm/SubWorkflowOperatorForm.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in SubWorkflowOperatorForm.SubWorkflowOperatorForm at line 38. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-25 13:09:27 +05:30' --until='2026-10-23 13:09:27 +05:30' --full-history --no-merges -- ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SubWorkflowOperatorForm/SubWorkflowOperatorForm.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx:494— ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in AgentDefinitionView.buildDefDiagram at line 494. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-25 13:09:27 +05:30' --until='2026-10-23 13:09:27 +05:30' --full-history --no-merges -- ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Duplicated block (14 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:220— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:220-233 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:242-255 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java` and `ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java` as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:220` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (14 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:107— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:107-120 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:135-148 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:107` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (14 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1811— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1811-1824 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:2071-2084 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1811` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:2069` calls `responseSchema`, `approvalResponseSchema`, `responseUiSchema` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1810` does not — after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (14 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:1526— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:1526-1539 | rest/src/main/java/com/netflix/conductor/rest/controllers/WorkflowResource.java:386-399 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (14 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:300— ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:300-313 | ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java:349-362 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
Duplicated block (14 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIEmbeddingsApi.java:65— ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIEmbeddingsApi.java:65-78 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIImageGenApi.java:66-79 — before extracting anything, compare `ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIEmbeddingsApi.java` and `ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIImageGenApi.java` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIEmbeddingsApi.java:65` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (14 lines × 2) core/src/main/java/com/netflix/conductor/core/execution/mapper/InlineTaskMapper.java:62— core/src/main/java/com/netflix/conductor/core/execution/mapper/InlineTaskMapper.java:62-75 | core/src/main/java/com/netflix/conductor/core/execution/mapper/LambdaTaskMapper.java:62-75 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (14 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:601— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:601-614 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:588-601 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:601` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: `BoolQueryBuilder` names `org.elasticsearch.index.query.BoolQueryBuilder` in one and `org.opensearch.index.query.BoolQueryBuilder` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (14 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:863— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:863-876 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:850-863 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:863` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: `UpdateRequest` names `org.elasticsearch.action.update.UpdateRequest` in one and `org.opensearch.action.update.UpdateRequest` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (14 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:943— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:943-956 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:930-943 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:943` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: `UpdateRequest` names `org.elasticsearch.action.update.UpdateRequest` in one and `org.opensearch.action.update.UpdateRequest` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (14 lines × 2) nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:197— nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:197-210 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java:197-210 — before extracting anything, compare `nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java` and `nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (14 lines × 2) os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java:283— os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java:283-296 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/config/OpenSearchProperties.java:282-295 — before extracting anything, compare `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java` and `os-persistence-v3/src/main/java/org/conductoross/conductor/os3/config/OpenSearchProperties.java` as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 163 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (14 lines × 2) scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:239— scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:239-252 | scheduler/sqlite-persistence/src/main/java/org/conductoross/conductor/scheduler/sqlite/dao/SqliteSchedulerDAO.java:179-192 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:239` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (14 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:360— postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:360-373 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:360-373 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java` as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 767 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (14 lines × 2) scripts/check-workflows-docs.py:52— scripts/check-workflows-docs.py:52-65 | scripts/check_ai_cookbook.py:39-52 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (12 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:347— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:347-358 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:610-621 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1001-1012 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (12 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:335— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:335-346 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:959-970 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1967-1978 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (12 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:397— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:397-408 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1350-1361 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2420-2431 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1349` calls `getText` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:396` does not — after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (12 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:411— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:411-422 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1015-1026 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1364-1375 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:411` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (12 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:441— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:441-452 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:680-691 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2753-2764 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (12 lines × 3) core/src/main/java/com/netflix/conductor/core/execution/mapper/InlineTaskMapper.java:58— core/src/main/java/com/netflix/conductor/core/execution/mapper/InlineTaskMapper.java:58-69 | core/src/main/java/com/netflix/conductor/core/execution/mapper/JsonJQTransformTaskMapper.java:52-63 | core/src/main/java/com/netflix/conductor/core/execution/mapper/LambdaTaskMapper.java:58-69 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/com/netflix/conductor/core/execution/mapper/InlineTaskMapper.java:58` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (12 lines × 3) core/src/main/java/com/netflix/conductor/core/execution/tasks/SubWorkflow.java:339— core/src/main/java/com/netflix/conductor/core/execution/tasks/SubWorkflow.java:339-350 | core/src/main/java/com/netflix/conductor/core/reconciliation/WorkflowRepairService.java:189-200 | core/src/main/java/org/conductoross/conductor/core/execution/WorkflowSweeper.java:305-316 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/com/netflix/conductor/core/execution/tasks/SubWorkflow.java:339` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (12 lines × 3) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:879— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:879-890 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:866-877 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:865-876 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:879` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (12 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSchemaDAO.java:145— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSchemaDAO.java:145-156 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSchemaDAO.java:143-154 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteSchemaDAO.java:143-154 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSchemaDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSchemaDAO.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (12 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:466— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:466-477 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:498-509 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:498-509 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:466` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (12 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:678— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:678-689 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:671-682 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:671-682 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (12 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:788— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:788-799 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:781-792 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:781-792 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (12 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:903— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:903-914 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:896-907 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:896-907 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (12 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:602— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:602-613 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:629-640 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:622-633 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (11 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:474— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:474-484 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:405-415 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java` and `ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java` as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (11 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:498— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:498-508 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:429-439 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java` and `ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java` as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (11 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1646— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1646-1656 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1839-1849 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (11 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:53— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:53-63 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:46-56 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java` as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place.
Duplicated block (11 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:1102— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:1102-1112 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:1114-1124 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:1099` calls `getMetadata`, `get` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:1112` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (11 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1534— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1534-1544 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1561-1571 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1534` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (11 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/AIModel.java:116— ai/src/main/java/org/conductoross/conductor/ai/AIModel.java:116-126 | ai/src/main/java/org/conductoross/conductor/ai/providers/bedrock/Bedrock.java:134-144 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/AIModel.java:116` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (11 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:181— ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:181-191 | ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java:224-234 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:181` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (11 lines × 2) cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/config/cache/CacheableEventHandlerDAO.java:110— cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/config/cache/CacheableEventHandlerDAO.java:110-120 | cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraEventHandlerDAO.java:98-108 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (11 lines × 2) core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:176— core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:176-187 | core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:248-258 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:176` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (11 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:451— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:451-461 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:445-455 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:451` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (11 lines × 2) workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/archive/ArchivingWithTTLWorkflowStatusListener.java:82— workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/archive/ArchivingWithTTLWorkflowStatusListener.java:82-92 | workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/archive/ArchivingWithTTLWorkflowStatusListener.java:96-106 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (11 lines × 2) core/src/main/java/com/netflix/conductor/core/exception/ConflictException.java:17— core/src/main/java/com/netflix/conductor/core/exception/ConflictException.java:17-27 | core/src/main/java/com/netflix/conductor/core/exception/NotFoundException.java:17-27 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (11 lines × 2) scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerArchivalDAO.java:432— scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerArchivalDAO.java:432-442 | scheduler/sqlite-persistence/src/main/java/org/conductoross/conductor/scheduler/sqlite/dao/SqliteSchedulerArchivalDAO.java:262-272 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
Low cohesion: PostgresIndexDAO (LCOM4 19) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:43— PostgresIndexDAO's methods fall into 19 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable — your repository's bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 19 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected — and which would otherwise dominate this list — are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting.
Low cohesion: SqliteIndexDAO (LCOM4 17) sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:40— SqliteIndexDAO's methods fall into 17 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable — your repository's bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 17 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected — and which would otherwise dominate this list — are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting.
Low cohesion: PostgresMetadataDAO (LCOM4 13) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:45— PostgresMetadataDAO's methods fall into 13 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable — your repository's bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 13 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected — and which would otherwise dominate this list — are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting.
Low cohesion: PostgresQueueDAO (LCOM4 13) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:39— PostgresQueueDAO's methods fall into 13 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable — your repository's bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 13 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected — and which would otherwise dominate this list — are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting.
Low cohesion: Builder (LCOM4 9) core/src/main/java/com/netflix/conductor/core/execution/mapper/TaskMapperContext.java:191— Builder's methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable — your repository's bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected — and which would otherwise dominate this list — are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting.
Low cohesion: Builder (LCOM4 8) ai/src/main/java/org/conductoross/conductor/ai/providers/cohere/CohereChatOptions.java:99— Builder's methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable — your repository's bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected — and which would otherwise dominate this list — are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting.
Low cohesion: AbstractNode (LCOM4 6) os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java:24— AbstractNode's methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable — your repository's bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected — and which would otherwise dominate this list — are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting.
Low cohesion: AbstractNode (LCOM4 6) os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java:24— AbstractNode's methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable — your repository's bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected — and which would otherwise dominate this list — are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting.
Low cohesion: AbstractNode (LCOM4 6) es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:24— AbstractNode's methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable — your repository's bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected — and which would otherwise dominate this list — are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting.
Low cohesion: AbstractNode (LCOM4 6) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:24— AbstractNode's methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable — your repository's bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected — and which would otherwise dominate this list — are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting.
Low cohesion: RangeQueryBuilder (LCOM4 5) os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/QueryHelper.java:62— RangeQueryBuilder's methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable — your repository's bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected — and which would otherwise dominate this list — are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting.
Low cohesion: AdminServiceImpl (LCOM4 4) core/src/main/java/com/netflix/conductor/service/AdminServiceImpl.java:36— AdminServiceImpl's methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable — your repository's bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected — and which would otherwise dominate this list — are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting.
Low cohesion: MistralAI (LCOM4 4) ai/src/main/java/org/conductoross/conductor/ai/providers/mistral/MistralAI.java:41— MistralAI's methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable — your repository's bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected — and which would otherwise dominate this list — are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting.
Low cohesion: OpenAI (LCOM4 4) ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAI.java:47— OpenAI's methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable — your repository's bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected — and which would otherwise dominate this list — are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting.
Duplicated block (11 lines × 3) ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java:191— ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java:191-201 | ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVideoModel.java:172-182 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIVideoModel.java:204-214 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java:191` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (11 lines × 3) core/src/main/java/com/netflix/conductor/core/execution/mapper/HumanTaskMapper.java:56— core/src/main/java/com/netflix/conductor/core/execution/mapper/HumanTaskMapper.java:56-66 | core/src/main/java/com/netflix/conductor/core/execution/mapper/TerminateTaskMapper.java:49-59 | core/src/main/java/com/netflix/conductor/core/execution/mapper/WaitTaskMapper.java:64-74 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from all 3 call sites, so a change lands once.
Duplicated block (11 lines × 3) es7-persistence/src/main/java/com/netflix/conductor/es7/config/ElasticSearchV7Configuration.java:57— es7-persistence/src/main/java/com/netflix/conductor/es7/config/ElasticSearchV7Configuration.java:57-67 | es8-persistence/src/main/java/org/conductoross/conductor/es8/config/ElasticSearchV8Configuration.java:65-75 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchConfiguration.java:68-78 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/config/ElasticSearchV7Configuration.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchConfiguration.java` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/config/ElasticSearchV7Configuration.java:57` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: `RestClientBuilder` names `org.elasticsearch.client.RestClientBuilder` in one and `org.opensearch.client.RestClientBuilder` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (11 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:57— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:57-67 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java:57-67 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:195-205 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java` as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (11 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:355— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:355-365 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:387-397 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:387-397 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (11 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:863— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:863-873 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:856-866 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:856-866 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (11 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:1051— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:1051-1061 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java:195-205 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqlitePollDataDAO.java:116-126 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (11 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:1069— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:1069-1079 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:1012-1022 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:1012-1022 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (11 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:145— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:145-155 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:168-178 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteWorkflowMetadataDAO.java:68-78 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 280 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (11 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:557— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:557-567 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:584-594 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:577-587 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (11 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:590— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:590-600 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:617-627 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:610-620 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (11 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:81— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:81-91 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresFileMetadataDAO.java:81-91 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteFileMetadataDAO.java:80-90 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresFileMetadataDAO.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (11 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillPackageDAO.java:45— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillPackageDAO.java:45-55 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillPackageDAO.java:45-55 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteSkillPackageDAO.java:45-55 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillPackageDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillPackageDAO.java` as WHOLE FILES: 85% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (9 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1592— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1592-1600 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:107-115 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:135-143 — there are 3 copies across 2 file(s) — more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart.
Duplicated block (9 lines × 3) core/src/main/java/com/netflix/conductor/core/execution/mapper/JsonJQTransformTaskMapper.java:58— core/src/main/java/com/netflix/conductor/core/execution/mapper/JsonJQTransformTaskMapper.java:58-66 | core/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:73-81 | kafka/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:73-81 — before extracting anything, compare `core/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java` and `kafka/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `core/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:71` calls `getRetryCount` and `core/src/main/java/com/netflix/conductor/core/execution/mapper/JsonJQTransformTaskMapper.java:56` does not — after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (9 lines × 3) core/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:77— core/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:77-85 | core/src/main/java/com/netflix/conductor/core/execution/mapper/UserDefinedTaskMapper.java:93-101 | kafka/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:77-85 — before extracting anything, compare `core/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java` and `kafka/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `core/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:86` calls `nonNull`, `setExecutionNameSpace`, `getExecutionNameSpace` and `core/src/main/java/com/netflix/conductor/core/execution/mapper/UserDefinedTaskMapper.java:102` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (9 lines × 3) core/src/main/java/com/netflix/conductor/service/ExecutionService.java:514— core/src/main/java/com/netflix/conductor/service/ExecutionService.java:514-522 | core/src/main/java/com/netflix/conductor/service/ExecutionService.java:595-603 | core/src/main/java/com/netflix/conductor/service/ExecutionService.java:635-643 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/com/netflix/conductor/service/ExecutionService.java:514` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (9 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:374— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:374-382 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:406-414 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:406-414 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (9 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:719— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:719-727 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:712-720 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:712-720 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:719` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (9 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:361— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:361-369 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:419-427 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteEventHandlerMetadataDAO.java:142-150 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 280 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (9 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:379— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:379-387 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:437-445 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteWorkflowMetadataDAO.java:143-151 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 280 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (9 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:428— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:428-436 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:486-494 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteWorkflowMetadataDAO.java:215-223 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 280 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (9 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:99— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:99-107 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:140-148 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:135-143 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java` as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 212 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (9 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:441— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:441-449 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:468-476 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:461-469 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (9 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:451— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:451-459 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:478-486 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:471-479 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (9 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSchemaDAO.java:69— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSchemaDAO.java:69-77 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSchemaDAO.java:67-75 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteSchemaDAO.java:67-75 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSchemaDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSchemaDAO.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (6 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:429— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:429-434 | ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:251-257 | ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:285-290 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java` and `ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 159 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:429` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (6 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:963— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:963-968 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1247-1252 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:682-688 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from all 3 call sites, so a change lands once.
Duplicated block (6 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GateCompiler.java:80— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GateCompiler.java:80-86 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2340-2345 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3393-3398 — there are 3 copies across 2 file(s) — more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart.
Duplicated block (6 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:297— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:297-302 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:344-349 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3329-3334 — there are 3 copies across 2 file(s) — more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart.
Duplicated block (6 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2953— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2953-2959 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3229-3235 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3512-3517 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (6 lines × 3) ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCTaskMapper.java:51— ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCTaskMapper.java:51-56 | core/src/main/java/com/netflix/conductor/core/execution/mapper/DynamicTaskMapper.java:93-98 | core/src/main/java/com/netflix/conductor/core/execution/mapper/SimpleTaskMapper.java:87-92 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made 3 times. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `core/src/main/java/com/netflix/conductor/core/execution/mapper/SimpleTaskMapper.java:86` calls `setTaskType`, `getName` and `core/src/main/java/com/netflix/conductor/core/execution/mapper/DynamicTaskMapper.java:92` does not — after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (6 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:135— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:135-140 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresFileMetadataDAO.java:135-140 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteFileMetadataDAO.java:134-139 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresFileMetadataDAO.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (6 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:147— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:147-152 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresFileMetadataDAO.java:147-152 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteFileMetadataDAO.java:146-151 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresFileMetadataDAO.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:147` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (6 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSchemaDAO.java:127— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSchemaDAO.java:127-132 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSchemaDAO.java:125-130 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteSchemaDAO.java:125-130 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSchemaDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSchemaDAO.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: `Query` names `com.netflix.conductor.mysql.util.Query` in one and `com.netflix.conductor.postgres.util.Query` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (6 lines × 3) scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:107— scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:107-112 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java:107-112 | scheduler/sqlite-persistence/src/main/java/org/conductoross/conductor/scheduler/sqlite/dao/SqliteSchedulerArchivalDAO.java:84-89 — before extracting anything, compare `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java` and `scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java` as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:107` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `scheduler/sqlite-persistence/src/main/java/org/conductoross/conductor/scheduler/sqlite/dao/SqliteSchedulerArchivalDAO.java:92` calls `addAll`, `getScheduleNames` and `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:114` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (6 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:432— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:432-437 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:308-313 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/VercelAINormalizer.java:268-273 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java` as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (6 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:263— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:263-268 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:287-292 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:287-292 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (6 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSchemaDAO.java:105— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSchemaDAO.java:105-110 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSchemaDAO.java:103-108 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteSchemaDAO.java:103-108 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSchemaDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSchemaDAO.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Boundary violation [package:third-party-deep-import] ui-next/src/pages/definition/EditorPanel/CodeEditorTab/state/actions.ts:11— ui-next/src/pages/definition/EditorPanel/CodeEditorTab/state/actions.ts:11 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
Boundary violation [package:third-party-deep-import] ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/TaskFormHeader/state/actions.ts:2— ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/TaskFormHeader/state/actions.ts:2 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
Boundary violation [package:third-party-deep-import] ui-next/src/pages/definition/EditorPanel/WorkflowPropertiesFormTab/state/actions.ts:2— ui-next/src/pages/definition/EditorPanel/WorkflowPropertiesFormTab/state/actions.ts:2 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
Boundary violation [package:third-party-deep-import] ui-next/src/pages/definition/EventHandler/eventhandlers/state/actions.ts:4— ui-next/src/pages/definition/EventHandler/eventhandlers/state/actions.ts:4 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
Boundary violation [package:third-party-deep-import] ui-next/src/pages/definition/RunWorkflow/state/actions.ts:21— ui-next/src/pages/definition/RunWorkflow/state/actions.ts:21 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
Boundary violation [package:third-party-deep-import] ui-next/src/pages/definition/WorkflowMetadata/EditInPlaceWrapper/state/actions.ts:2— ui-next/src/pages/definition/WorkflowMetadata/EditInPlaceWrapper/state/actions.ts:2 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
Boundary violation [package:third-party-deep-import] ui-next/src/pages/definition/WorkflowMetadata/state/actions.ts:2— ui-next/src/pages/definition/WorkflowMetadata/state/actions.ts:2 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
Boundary violation [package:third-party-deep-import] ui-next/src/pages/definition/confirmSave/state/actions.ts:5— ui-next/src/pages/definition/confirmSave/state/actions.ts:5 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
Boundary violation [package:third-party-deep-import] ui-next/src/pages/definition/errorInspector/state/actions.ts:2— ui-next/src/pages/definition/errorInspector/state/actions.ts:2 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
Boundary violation [package:third-party-deep-import] ui-next/src/pages/definition/state/action.ts:17— ui-next/src/pages/definition/state/action.ts:17 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
Boundary violation [package:test-suite-dependency] ui-next/src/pages/definition/task/TaskDefinitionButtons.tsx:26— ui-next/src/pages/definition/task/TaskDefinitionButtons.tsx:26 imports ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/TestTaskButton/OpenTestTaskButton.tsx, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on.
Boundary violation [package:third-party-deep-import] ui-next/src/pages/definition/task/state/actions.ts:6— ui-next/src/pages/definition/task/state/actions.ts:6 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
Boundary violation [package:third-party-deep-import] ui-next/src/pages/execution/TaskList/state/actions.ts:11— ui-next/src/pages/execution/TaskList/state/actions.ts:11 imports xstate/lib/actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
Duplicated block (5 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:646— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:646-650 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:655-659 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:717-721 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:646` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (5 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1267— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1267-1271 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1416-1420 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1433-1437 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (5 lines × 3) scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:114— scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:114-118 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java:114-118 | scheduler/sqlite-persistence/src/main/java/org/conductoross/conductor/scheduler/sqlite/dao/SqliteSchedulerArchivalDAO.java:93-97 — before extracting anything, compare `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java` and `scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java` as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:114` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (5 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:458— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:458-462 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:334-338 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/VercelAINormalizer.java:280-284 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java` as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (5 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:464— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:464-468 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:340-344 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/VercelAINormalizer.java:286-290 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java` as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (5 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:471— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:471-475 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java:356-360 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:347-351 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (5 lines × 3) es7-persistence/src/main/java/com/netflix/conductor/es7/config/ElasticSearchV7Configuration.java:104— es7-persistence/src/main/java/com/netflix/conductor/es7/config/ElasticSearchV7Configuration.java:104-108 | es8-persistence/src/main/java/org/conductoross/conductor/es8/config/ElasticSearchV8Configuration.java:155-159 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchConfiguration.java:113-117 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/config/ElasticSearchV7Configuration.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchConfiguration.java` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (5 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:256— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:256-260 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:280-284 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:280-284 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (5 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:1063— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:1063-1067 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java:207-211 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqlitePollDataDAO.java:128-132 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (5 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:94— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:94-98 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresFileMetadataDAO.java:94-98 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteFileMetadataDAO.java:93-97 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresFileMetadataDAO.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (5 lines × 3) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:169— grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:169-173 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:386-390 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1428-1432 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind `from` to `EventExecutionPb.EventExecution` in one and `EventHandlerPb.EventHandler.TaskDetails` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH — their common supertype where they have one, or a new abstraction over them where they do not — and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (5 lines × 3) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:252— grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:252-256 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1445-1449 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1564-1568 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind `from` to `EventHandlerPb.EventHandler.UpdateWorkflowVariables` in one and `WorkflowPb.Workflow` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH — their common supertype where they have one, or a new abstraction over them where they do not — and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (12 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:912— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:912-923 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1350-1361 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (12 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/WorkflowClassifiers.java:62— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/WorkflowClassifiers.java:62-73 | common/src/main/java/com/netflix/conductor/common/metadata/workflow/WorkflowClassifier.java:59-70 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (12 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java:137— ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java:137-148 | ai/src/main/java/org/conductoross/conductor/ai/providers/huggingface/HuggingFace.java:97-108 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (12 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIVideoApi.java:109— ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIVideoApi.java:109-120 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIVideoApi.java:134-145 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIVideoApi.java:109` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (12 lines × 2) common/src/main/java/com/netflix/conductor/common/metadata/tasks/Task.java:422— common/src/main/java/com/netflix/conductor/common/metadata/tasks/Task.java:422-433 | core/src/main/java/com/netflix/conductor/model/TaskModel.java:652-663 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (12 lines × 2) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:323— grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:323-334 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:694-705 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind `from` to `EventHandler.StartWorkflow` in one and `StartWorkflowRequest` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH — their common supertype where they have one, or a new abstraction over them where they do not — and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (12 lines × 2) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1252— grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1252-1263 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1654-1665 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind `from` to `TaskSummary` in one and `WorkflowSummary` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH — their common supertype where they have one, or a new abstraction over them where they do not — and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (12 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:234— postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:234-245 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:240-251 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 138 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (12 lines × 2) redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:442— redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:442-453 | redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:467-478 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:442` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (12 lines × 2) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:78— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:78-89 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:101-112 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 280 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (12 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:59— postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:59-70 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:59-70 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java` as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 342 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
AC2 · Forms & labels· <Select> field component without a label · ×10
<Select> field component without a label ui-next/src/components/layout/section/ConductorSectionHeader.tsx:126— This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing it renders carries one either (a name prop is the form-submission key, not a label). The text inside it does not stand in for one: these compound APIs render a trigger with role="combobox" (or role="button"), and those roles take their name from the AUTHOR, not from their content — so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
<Select> field component without a label ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ChunkTextTaskForm.tsx:302— This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing it renders carries one either (a name prop is the form-submission key, not a label). The text inside it does not stand in for one: these compound APIs render a trigger with role="combobox" (or role="button"), and those roles take their name from the AUTHOR, not from their content — so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
<Select> field component without a label ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx:668— This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing it renders carries one either (a name prop is the form-submission key, not a label). The text inside it does not stand in for one: these compound APIs render a trigger with role="combobox" (or role="button"), and those roles take their name from the AUTHOR, not from their content — so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
<Select> field component without a label ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx:2042— This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing it renders carries one either (a name prop is the form-submission key, not a label). The text inside it does not stand in for one: these compound APIs render a trigger with role="combobox" (or role="button"), and those roles take their name from the AUTHOR, not from their content — so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
<Select> field component without a label ui-next/src/pages/execution/AgentExecution/AgentExecutionTab.tsx:259— This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing it renders carries one either (a name prop is the form-submission key, not a label). The text inside it does not stand in for one: these compound APIs render a trigger with role="combobox" (or role="button"), and those roles take their name from the AUTHOR, not from their content — so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
<Select> field component without a label ui-next/src/pages/execution/AgentExecution/HumanInputPanel.tsx:284— This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing it renders carries one either (a name prop is the form-submission key, not a label). The text inside it does not stand in for one: these compound APIs render a trigger with role="combobox" (or role="button"), and those roles take their name from the AUTHOR, not from their content — so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
<Select> field component without a label ui-next/src/pages/execution/AgentExecution/TurnBar.tsx:163— This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing it renders carries one either (a name prop is the form-submission key, not a label). The text inside it does not stand in for one: these compound APIs render a trigger with role="combobox" (or role="button"), and those roles take their name from the AUTHOR, not from their content — so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
<Select> field component without a label ui/src/pages/definition/WorkflowDefinition.jsx:299— This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing it renders carries one either (a name prop is the form-submission key, not a label). The text inside it does not stand in for one: these compound APIs render a trigger with role="combobox" (or role="button"), and those roles take their name from the AUTHOR, not from their content — so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
<Select> field component without a label ui/src/pages/kitchensink/Dropdown.jsx:18— This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing it renders carries one either (a name prop is the form-submission key, not a label). The text inside it does not stand in for one: these compound APIs render a trigger with role="combobox" (or role="button"), and those roles take their name from the AUTHOR, not from their content — so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
<Select> field component without a label ui/src/pages/kitchensink/KitchenSink.jsx:135— This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing it renders carries one either (a name prop is the form-submission key, not a label). The text inside it does not stand in for one: these compound APIs render a trigger with role="combobox" (or role="button"), and those roles take their name from the AUTHOR, not from their content — so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
FixmeComment grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/TaskServiceImpl.java:218— // FIXME: make shardInfo an actual type — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment redis-configuration/src/main/java/com/netflix/conductor/redis/config/ConfigurationHostSupplier.java:44— // FIXME This type of validation probably doesn't belong here. — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment redis-persistence/src/main/java/io/orkes/conductor/mq/dao/RedisQueueDAO.java:27— // FIXME: be aware that queues have their own prefix which is different from workflowNamespacePrefix — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment redis-persistence/src/main/java/io/orkes/conductor/mq/dao/ClusteredRedisQueueDAO.java:27— // FIXME: be aware that queues have their own prefix which is different from workflowNamespacePrefix — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment ui-next/src/components/features/flow/components/RichAddTaskMenu/state/actions.ts:58— // FIXME, remove flags. — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment ui-next/src/components/features/flow/components/graphs/PanAndZoomWrapper/ZoomControls.tsx:47— // FIXME this should not be here since we are coupling to the definition machine.. — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment ui-next/src/components/ui/inputs/ConductorInput.tsx:237— // FIXME: just fixed this the prop was not passed down this may affect modals — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment ui-next/src/pages/definition/state/hook.ts:304— // FIXME: Temporary hack to pin the service to the Agent atom store. — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment ui-next/src/pages/definition/task/form/state/actions.ts:11— // FIXME: Remove this patch after applying new inputs — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment ui-next/src/utils/cloudTemplates.ts:106— // FIXME this code is repeated makes no sense at all — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
Duplicated block (18 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:506— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:506-523 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1697-1714 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:506` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (18 lines × 2) cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraMetadataDAO.java:177— cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraMetadataDAO.java:177-194 | cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraMetadataDAO.java:203-220 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraMetadataDAO.java:177` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (18 lines × 2) core/src/main/java/com/netflix/conductor/core/execution/mapper/DecisionTaskMapper.java:98— core/src/main/java/com/netflix/conductor/core/execution/mapper/DecisionTaskMapper.java:98-115 | core/src/main/java/com/netflix/conductor/core/execution/mapper/SwitchTaskMapper.java:123-140 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/com/netflix/conductor/core/execution/mapper/DecisionTaskMapper.java:98` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (18 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1361— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1361-1378 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1310-1327 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (18 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/Expression.java:87— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/Expression.java:87-104 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/Expression.java:86-103 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/Expression.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/Expression.java` as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: `QueryBuilder` names `org.elasticsearch.index.query.QueryBuilder` in one and `org.opensearch.index.query.QueryBuilder` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (18 lines × 2) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:153— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:153-170 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java:153-170 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java` as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:153` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (18 lines × 2) os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/NameValue.java:141— os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/NameValue.java:141-158 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/NameValue.java:170-187 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/NameValue.java:141` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (18 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:143— postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:143-160 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:153-170 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 138 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:143` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (18 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:209— postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:209-226 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:215-232 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 138 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:209` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (18 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:249— postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:249-266 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:255-272 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 138 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
X2 · Cancellation propagation· Async function without AbortSignal · ×10
Async function without AbortSignal: fetchStatus ui-next/src/pages/execution/AgentExecution/HumanInputPanel.tsx:61— `fetchStatus` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`.
Async function without AbortSignal: callRespond ui-next/src/pages/execution/AgentExecution/HumanInputPanel.tsx:84— `callRespond` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`.
Async function without AbortSignal: fetchWithContext ui-next/src/plugins/fetch.ts:35— `fetchWithContext` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`.
Async function without AbortSignal: fetchCloudTemplates ui-next/src/utils/cloudTemplates.ts:77— `fetchCloudTemplates` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`.
Async function without AbortSignal: fetchWorkflowAndCatch ui-next/src/utils/cloudTemplates.ts:108— `fetchWorkflowAndCatch` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`.
Async function without AbortSignal: fetchTask ui-next/src/utils/cloudTemplates.ts:131— `fetchTask` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`.
Async function without AbortSignal: fetchUserForms ui-next/src/utils/cloudTemplates.ts:155— `fetchUserForms` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`.
Async function without AbortSignal: fetchSchemas ui-next/src/utils/cloudTemplates.ts:171— `fetchSchemas` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`.
Async function without AbortSignal: fetchIntegrationAndModels ui-next/src/utils/cloudTemplates.ts:187— `fetchIntegrationAndModels` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`.
Async function without AbortSignal: fetchPrompts ui-next/src/utils/cloudTemplates.ts:212— `fetchPrompts` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`.
Duplicated block (17 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2134— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2134-2150 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2567-2583 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (17 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2128— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2128-2144 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2225-2241 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2128` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (17 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:315— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:315-331 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1507-1523 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (17 lines × 2) common/src/main/java/com/netflix/conductor/common/run/Workflow.java:507— common/src/main/java/com/netflix/conductor/common/run/Workflow.java:507-523 | core/src/main/java/com/netflix/conductor/model/WorkflowModel.java:453-469 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `common/src/main/java/com/netflix/conductor/common/run/Workflow.java:507` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (17 lines × 2) core/src/main/java/com/netflix/conductor/core/events/SimpleActionProcessor.java:251— core/src/main/java/com/netflix/conductor/core/events/SimpleActionProcessor.java:251-267 | core/src/main/java/com/netflix/conductor/core/events/SimpleActionProcessor.java:326-342 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/com/netflix/conductor/core/events/SimpleActionProcessor.java:251` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (17 lines × 2) nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:59— nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:59-75 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java:59-75 — before extracting anything, compare `nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java` and `nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (17 lines × 2) nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:172— nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:172-188 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java:172-188 — before extracting anything, compare `nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java` and `nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (17 lines × 2) os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:1059— os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:1059-1075 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:1103-1119 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:1100` calls `source`, `fetch` and `os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:1057` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (17 lines × 2) scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:140— scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:140-156 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerDAO.java:132-148 — before extracting anything, compare `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java` and `scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerDAO.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
IC1 · Incompleteness & stubs· Markup wires an event to an empty handler · ×9
Markup wires an event to an empty handler ui-next/src/components/features/flow/components/RichAddTaskMenu/AddTaskSidebar.tsx:818— `onClick` is wired to an arrow whose body is empty — the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it.
Markup wires an event to an empty handler ui-next/src/components/features/flow/dragDrop/DraggableOverlay.tsx:67— `onToggleTaskMenu` is wired to an arrow whose body is empty — the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it.
Markup wires an event to an empty handler ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/GRPCTaskForm/GRPCTaskForm.tsx:431— `onChange` is wired to an arrow whose body is empty — the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it.
Markup wires an event to an empty handler ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/HTTPTaskForm/EditTaskDefConfigModal.tsx:61— `onChange` is wired to an arrow whose body is empty — the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it.
Markup wires an event to an empty handler ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/HTTPTaskForm/EditTaskDefConfigModal.tsx:90— `onChange` is wired to an arrow whose body is empty — the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it.
Markup wires an event to an empty handler ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/HTTPTaskForm/EditTaskDefConfigModal.tsx:98— `onChange` is wired to an arrow whose body is empty — the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it.
Markup wires an event to an empty handler ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/HTTPTaskForm/EditTaskDefConfigModal.tsx:121— `onChange` is wired to an arrow whose body is empty — the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it.
Markup wires an event to an empty handler ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/HTTPTaskForm/HTTPTaskForm.tsx:390— `onChange` is wired to an arrow whose body is empty — the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it.
Markup wires an event to an empty handler ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/KafkaTaskForm.tsx:55— `onDeleteItem` is wired to an arrow whose body is empty — the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it.
Duplicated block (20 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1831— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1831-1850 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:2115-2134 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (20 lines × 2) core/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:75— core/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:75-94 | kafka/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:75-94 — before extracting anything, compare `core/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java` and `kafka/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:75` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (20 lines × 2) kafka-event-queue/src/main/java/com/netflix/conductor/kafkaeq/eventqueue/KafkaObservableQueue.java:496— kafka-event-queue/src/main/java/com/netflix/conductor/kafkaeq/eventqueue/KafkaObservableQueue.java:496-515 | kafka-event-queue/src/main/java/com/netflix/conductor/kafkaeq/eventqueue/KafkaObservableQueue.java:522-541 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `kafka-event-queue/src/main/java/com/netflix/conductor/kafkaeq/eventqueue/KafkaObservableQueue.java:496` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `kafka-event-queue/src/main/java/com/netflix/conductor/kafkaeq/eventqueue/KafkaObservableQueue.java:494` calls `unsubscribe` and `kafka-event-queue/src/main/java/com/netflix/conductor/kafkaeq/eventqueue/KafkaObservableQueue.java:520` does not — after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (20 lines × 2) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:225— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:225-244 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteEventHandlerMetadataDAO.java:39-58 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteEventHandlerMetadataDAO.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:225` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (20 lines × 2) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:482— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:482-501 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:540-559 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 280 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (20 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:117— postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:117-136 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:127-146 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 138 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:117` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (20 lines × 2) sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:292— sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:292-311 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:320-339 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (20 lines × 2) nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/config/NATSEventQueueProvider.java:39— nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/config/NATSEventQueueProvider.java:39-58 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/config/NATSEventQueueProvider.java:39-58 — before extracting anything, compare `nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/config/NATSEventQueueProvider.java` and `nats/src/main/java/com/netflix/conductor/contribs/queue/nats/config/NATSEventQueueProvider.java` as WHOLE FILES: 95% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: `NATSObservableQueue` names `com.netflix.conductor.contribs.queue.nats.NATSObservableQueue` in one and `com.netflix.conductor.contribs.queue.stan.NATSObservableQueue` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (15 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:235— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:235-249 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:257-271 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java` and `ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java` as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:235` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (15 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/listener/AgentSpanCompositeTaskStatusListener.java:56— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/listener/AgentSpanCompositeTaskStatusListener.java:56-70 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/listener/AgentSpanCompositeWorkflowStatusListener.java:64-78 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind `action` to `Consumer<TaskStatusListener>` in one and `Consumer<WorkflowStatusListener>` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH — their common supertype where they have one, or a new abstraction over them where they do not — and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (15 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/HumanTaskBuilder.java:132— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/HumanTaskBuilder.java:132-146 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/HumanTaskBuilder.java:160-174 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/HumanTaskBuilder.java:132` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (15 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java:78— ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java:78-92 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAI.java:98-112 — `ai/src/main/java/org/conductoross/conductor/ai/providers/azureopenai/AzureOpenAI.java` and `ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAI.java` are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other — this scan matched 3 separate duplicated blocks between them, totalling at least 35 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (15 lines × 2) core/src/main/java/com/netflix/conductor/service/ExecutionService.java:537— core/src/main/java/com/netflix/conductor/service/ExecutionService.java:537-551 | core/src/main/java/com/netflix/conductor/service/ExecutionService.java:565-579 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/com/netflix/conductor/service/ExecutionService.java:537` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (15 lines × 2) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:285— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:285-299 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteEventHandlerMetadataDAO.java:97-111 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteEventHandlerMetadataDAO.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (15 lines × 2) workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/archive/ArchivingWithTTLWorkflowStatusListener.java:44— workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/archive/ArchivingWithTTLWorkflowStatusListener.java:44-58 | workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/archive/ArchivingWorkflowToS3.java:57-71 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/archive/ArchivingWithTTLWorkflowStatusListener.java:44` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (15 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:313— postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:313-327 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java:330-344 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (13 lines × 3) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:537— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:537-549 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:524-536 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:523-535 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:537` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (13 lines × 3) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:959— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:959-971 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:946-958 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:950-962 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:959` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (13 lines × 3) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:135— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:135-147 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java:135-147 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java:135-147 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (13 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:288— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:288-300 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:346-358 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteEventHandlerMetadataDAO.java:100-112 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 280 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:288` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (13 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:543— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:543-555 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:570-582 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:563-575 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (13 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:271— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:271-283 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:295-307 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:295-307 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (13 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:664— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:664-676 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:657-669 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:657-669 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (13 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:66— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:66-78 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:100-112 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:95-107 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java` as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 212 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (19 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:314— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:314-332 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:338-356 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:338-356 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (19 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:698— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:698-716 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:691-709 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:691-709 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (19 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:232— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:232-250 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:290-308 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteEventHandlerMetadataDAO.java:46-64 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 280 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:232` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (19 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:175— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:175-193 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:237-255 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:225-243 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java` as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 212 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (19 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:277— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:277-295 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:279-297 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:272-290 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (19 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:570— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:570-588 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:597-615 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:590-608 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (19 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:998— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:998-1016 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:992-1010 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:992-1010 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:998` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (16 lines × 3) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1256— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1256-1271 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1216-1231 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:1292-1307 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1256` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (16 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:161— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:161-176 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java:161-176 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:142-157 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java` as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:161` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (16 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:589— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:589-604 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:582-597 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:582-597 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: `Query` names `com.netflix.conductor.mysql.util.Query` in one and `com.netflix.conductor.postgres.util.Query` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (16 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:203— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:203-218 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:265-280 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:253-268 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java` as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 212 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (16 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:306— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:306-321 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:308-323 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:301-316 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (16 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:156— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:156-171 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:218-233 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:206-221 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java` as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 212 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (16 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:281— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:281-296 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:407-422 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:389-404 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java` as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 212 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 4) core/src/main/java/com/netflix/conductor/core/execution/mapper/HTTPTaskMapper.java:75— core/src/main/java/com/netflix/conductor/core/execution/mapper/HTTPTaskMapper.java:75-81 | core/src/main/java/com/netflix/conductor/core/execution/mapper/JsonJQTransformTaskMapper.java:58-64 | core/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:73-79 | kafka/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:73-79 — before extracting anything, compare `core/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java` and `kafka/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `core/src/main/java/com/netflix/conductor/core/execution/mapper/HTTPTaskMapper.java:73` calls `getRetryCount` and `core/src/main/java/com/netflix/conductor/core/execution/mapper/JsonJQTransformTaskMapper.java:56` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (7 lines × 4) ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIEmbeddingsApi.java:48— ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIEmbeddingsApi.java:48-54 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIImageGenApi.java:49-55 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIResponsesApi.java:62-68 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAISpeechApi.java:47-53 — before extracting anything, compare `ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIEmbeddingsApi.java` and `ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIImageGenApi.java` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIEmbeddingsApi.java:48` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (7 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/config/ElasticSearchV7Configuration.java:96— es7-persistence/src/main/java/com/netflix/conductor/es7/config/ElasticSearchV7Configuration.java:96-102 | es8-persistence/src/main/java/org/conductoross/conductor/es8/config/ElasticSearchV8Configuration.java:147-153 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchConfiguration.java:105-111 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/config/OpenSearchConfiguration.java:124-130 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/config/ElasticSearchV7Configuration.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchConfiguration.java` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (7 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:814— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:814-820 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:664-670 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:801-807 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:794-800 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java` as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:814` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (7 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1224— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1224-1230 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:1284-1290 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1185-1191 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:1228-1234 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java` as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1220` calls `getResults` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:1280` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (7 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/Expression.java:107— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/Expression.java:107-113 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/Expression.java:106-112 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/Expression.java:106-112 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/Expression.java:109-115 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/Expression.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/Expression.java` as WHOLE FILES: 84% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (7 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java:126— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java:126-132 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ConstValue.java:126-132 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/ConstValue.java:126-132 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/ConstValue.java:126-132 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ConstValue.java` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (23 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2936— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2936-2958 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3645-3667 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2936` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (23 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:444— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:444-466 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1644-1666 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:444` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (23 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:185— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:185-207 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:269-291 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (23 lines × 2) nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:214— nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:214-236 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java:214-236 — before extracting anything, compare `nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java` and `nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (23 lines × 2) nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:239— nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:239-261 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java:239-261 — before extracting anything, compare `nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java` and `nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (23 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:58— postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:58-80 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:64-86 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 138 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind `properties` to `PostgresProperties` in one and `SqliteProperties` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH — their common supertype where they have one, or a new abstraction over them where they do not — and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (18 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:122— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:122-139 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java:122-139 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:96-113 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java` as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:122` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (18 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:236— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:236-253 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:260-277 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:260-277 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (18 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:163— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:163-180 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:186-203 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteWorkflowMetadataDAO.java:85-102 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 280 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:163` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (18 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:264— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:264-281 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:322-339 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteEventHandlerMetadataDAO.java:77-94 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 280 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:264` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (18 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:348— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:348-365 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:350-367 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:343-360 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (18 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:491— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:491-508 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:518-535 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:511-528 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (16 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:441— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:441-456 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:680-695 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (16 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1732— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1732-1747 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1853-1868 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (16 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:300— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:300-315 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:153-168 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java` as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:300` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (16 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:274— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:274-289 | ai/src/main/java/org/conductoross/conductor/ai/mcp/MCPService.java:405-420 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:274` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind `builder` to `HttpRequest.Builder` in one and `Request.Builder` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH — their common supertype where they have one, or a new abstraction over them where they do not — and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (16 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:187— postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:187-202 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:193-208 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 138 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:187` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (16 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:435— postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:435-450 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:428-443 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java` as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 342 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (15 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1173— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1173-1187 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1266-1280 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1299-1313 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1173` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (15 lines × 3) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:344— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:344-358 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:338-352 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:326-340 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:344` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (15 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:572— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:572-586 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java:137-151 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqlitePollDataDAO.java:62-76 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java:153` calls `getLastFlushTime` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqlitePollDataDAO.java:78` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (15 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:64— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:64-78 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresFileMetadataDAO.java:64-78 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteFileMetadataDAO.java:63-77 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresFileMetadataDAO.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (15 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:73— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:73-87 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:96-110 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:96-110 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (15 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:286— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:286-300 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:310-324 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:310-324 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
IC1 · Incompleteness & stubs· Both branches are identical · ×6
Both branches are identical — the condition decides nothing ui-next/src/components/providers/sidebar/Sidebar.tsx:91— The `if` and its `else` contain the same statements, so no input can make the condition matter. Implement the distinction that was intended, or drop the branch and keep the body.
Both branches are identical — the condition decides nothing ui-next/src/components/providers/sidebar/SidebarItem.tsx:327— Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition.
Both branches are identical — the condition decides nothing ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:1332— Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition.
Both branches are identical — the condition decides nothing ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:2097— Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition.
Both branches are identical — the condition decides nothing ui-next/src/theme/material/components/formControls.ts:181— Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition.
Both branches are identical — the condition decides nothing ui/src/components/diagram/WorkflowGraph.jsx:581— The `if` and its `else` contain the same statements, so no input can make the condition matter. Implement the distinction that was intended, or drop the branch and keep the body.
Sync-over-async blocking ui-next/e2e/integration/global-setup.ts:129— `execSync` in `globalSetup` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking ui-next/e2e/integration/global-setup.ts:132— `mkdirSync` in `globalSetup` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking ui-next/e2e/integration/global-setup.ts:133— `writeFileSync` in `globalSetup` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking ui-next/e2e/integration/global-teardown.ts:30— `existsSync` in `globalTeardown` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking ui-next/e2e/integration/global-teardown.ts:36— `unlinkSync` in `globalTeardown` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking ui-next/e2e/integration/global-teardown.ts:48— `execSync` in `globalTeardown` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Duplicated block (17 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/ClaudeAgentSdkNormalizer.java:41— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/ClaudeAgentSdkNormalizer.java:41-57 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangChainNormalizer.java:41-57 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java:292-308 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/ClaudeAgentSdkNormalizer.java:41` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (17 lines × 3) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:395— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:395-411 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:389-405 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:382-398 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:395` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (17 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:159— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:159-175 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:183-199 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:183-199 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (17 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:637— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:637-653 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:630-646 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:630-646 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (17 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:975— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:975-991 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:969-985 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:969-985 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (14 lines × 3) core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:427— core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:427-440 | core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:506-519 | core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:561-574 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:427` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (14 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:511— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:511-524 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:538-551 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:531-544 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (14 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:527— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:527-540 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:554-567 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:547-560 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (14 lines × 3) scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:163— scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:163-176 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java:163-176 | scheduler/sqlite-persistence/src/main/java/org/conductoross/conductor/scheduler/sqlite/dao/SqliteSchedulerArchivalDAO.java:145-158 — before extracting anything, compare `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java` and `scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java` as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (14 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:916— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:916-929 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:909-922 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:909-922 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 4) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:647— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:647-655 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1113-1120 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1301-1308 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1993-2000 — there are 4 copies across 2 file(s) — more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:647` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (8 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:65— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:65-72 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:65-72 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java:65-72 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java:65-72 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (8 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/BooleanOp.java:32— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/BooleanOp.java:32-39 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/BooleanOp.java:32-39 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/BooleanOp.java:32-39 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/BooleanOp.java:32-39 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/BooleanOp.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/BooleanOp.java` as WHOLE FILES: 97% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/BooleanOp.java:32` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (8 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:770— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:770-777 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:621-628 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:757-764 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:751-758 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java` as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:770` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (8 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:824— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:824-831 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:674-681 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:811-818 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:804-811 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java` as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:824` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
X17 · Uncapped recursion over a caller-supplied document· Recursive walk over a caller-supplied document has no depth cap · ×5
Recursive walk over a caller-supplied document has no depth cap scripts/validate_cookbook_ai_examples.py:50— `replace` is public and takes `value: object` from its caller, and it calls itself at line 50 (`replace`) with a piece of `value` (and at line 52) — and nowhere in `replace` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. Python's parsers accept far more nesting than its stack allows: `json.loads` turns 3,000 bytes of brackets into 1,500 levels and `xml.etree.ElementTree` parses tens of thousands, while a walk like this one raises `RecursionError` once it passes the interpreter's default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any `try` the worker or the program exits with it. Raising `sys.setrecursionlimit` only moves the number the document has to beat. Thread a depth argument through `replace` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack.
Recursive walk over a caller-supplied document has no depth cap ui-next/src/pages/definition/errorInspector/state/service.ts:107— `valueContainsVariableTaskReference` is exported and takes `value: any` from its caller, and it calls itself at line 107 (`valueContainsVariableTaskReference`) with a piece of `value` — and nowhere in `valueContainsVariableTaskReference` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `valueContainsVariableTaskReference` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack.
Recursive walk over a caller-supplied document has no depth cap ui-next/src/utils/workflow.ts:193— `handlebarsMatcherExtractor` is exported and takes `val: any` from its caller, and it calls itself at line 193 (`handlebarsMatcherExtractor`) with a piece of `val` (and at line 197) — and nowhere in `handlebarsMatcherExtractor` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `handlebarsMatcherExtractor` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack.
Recursive walk over a caller-supplied document has no depth cap ui-next/src/utils/reactHookForm.ts:107— `removeNullAndHiddenKeys` is exported and takes `value: any` from its caller, and it calls itself at line 107 (`removeNullAndHiddenKeys`) with a piece of `value` — and nowhere in `removeNullAndHiddenKeys` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `removeNullAndHiddenKeys` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack.
Recursive walk over a caller-supplied document has no depth cap REDACTED:19— `extractVariablesFromJSON` is exported, takes a document from its caller (line 5) and hands it to `processObject`, which calls itself at line 19 (`processObject`) with a piece of `obj` — and nowhere in `processObject` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `processObject` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack.
AC2 · Forms & labels· <TextField> field component without a label · ×4
<TextField> field component without a label ui-next/src/components/TagFilter.tsx:318— This UI-library field component is named only by a placeholder — a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
<TextField> field component without a label ui-next/src/components/inputs/AdvancedSearchFieldPopper.tsx:129— This UI-library field component has no label / aria-label / aria-labelledby / id — and neither does anything it renders (a name prop is the form-submission key, not a label) — so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
<TextField> field component without a label ui-next/src/components/ui/inputs/InlineEdit.tsx:66— This UI-library field component has no label / aria-label / aria-labelledby / id — and neither does anything it renders (a name prop is the form-submission key, not a label) — so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
<TextField> field component without a label ui-next/src/pages/execution/AgentExecution/HumanInputPanel.tsx:178— This UI-library field component is named only by a placeholder — a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
Stateful singleton: RestClientManager task-status-listener/src/main/java/com/netflix/conductor/contribs/listener/RestClientManager.java:41— `RestClientManager` is a singleton (@Bean: the container shares one instance across every request thread) but mutates instance state outside any lock (notifType, notifId; e.g. `notifType` in `postNotification` at line 180).
Stateful singleton: PostgresPollDataDAO postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java:38— `PostgresPollDataDAO` is a singleton (@Bean: the container shares one instance across every request thread) but mutates instance state outside any lock (lastFlushTime; e.g. `lastFlushTime` in `flushData` at line 213).
Stateful singleton: IsolatedTaskQueueProducer core/src/main/java/com/netflix/conductor/core/execution/tasks/IsolatedTaskQueueProducer.java:44— `IsolatedTaskQueueProducer` is a singleton (@Component: the container shares one instance across every request thread) but mutates instance state outside any lock (listeningQueues; e.g. `listeningQueues` in `addTaskQueues` at line 101).
Stateful singleton: A2AWorkers ai/src/main/java/org/conductoross/conductor/ai/tasks/worker/A2AWorkers.java:72— `A2AWorkers` is a singleton (@Component: the container shares one instance across every request thread) but mutates instance state outside any lock (agentClients; e.g. `agentClients` in `register` at line 135).
Repeated repair: agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AzureFoundryAgentClient.java agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AzureFoundryAgentClient.java:260— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AzureFoundryAgentClient.java changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 9 (its worst body is AzureFoundryAgentClient.toStatusResponse at line 260), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(azure-foundry): scan content parts for text instead of assuming content[0] is text”; “fix(agentspan): qualify AzureFoundryAgentClient's OkHttpClient”; “fix(azure-foundry): correct OAuth scope and make API version configurable”; “fix(agentspan): gate the new agent clients on the AI integrations flag”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-25 13:09:27 +05:30' --until='2026-10-23 13:09:27 +05:30' --full-history --no-merges -- agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AzureFoundryAgentClient.java`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: core/src/main/java/com/netflix/conductor/core/utils/ParametersUtils.java core/src/main/java/com/netflix/conductor/core/utils/ParametersUtils.java:253— core/src/main/java/com/netflix/conductor/core/utils/ParametersUtils.java changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 14 (its worst body is ParametersUtils.replaceVariables at line 253), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix: abbreviate expression string in ParametersUtils depth limit log (#1708)”; “fix(security): cap nesting depth of ${...} expressions in ParametersUtils (Fixes #1688) (#1693)”; “fix(security): replace backtracking regex in ParametersUtils with a linear scanner (#1654)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-25 13:09:27 +05:30' --until='2026-10-23 13:09:27 +05:30' --full-history --no-merges -- core/src/main/java/com/netflix/conductor/core/utils/ParametersUtils.java`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java:89— sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 11 (its worst body is Condition.getQueryFragment at line 89), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(security): hoist Pattern and prevent ReDoS in IndexQueryBuilder (Fixes #1640) (#1648)”; “fix(persistence): index end_time so End Time can be sorted and filtered”; “fix: write and compare sqlite index timestamps in UTC (#1497) (#1498)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-25 13:09:27 +05:30' --until='2026-10-23 13:09:27 +05:30' --full-history --no-merges -- sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: ui-next/src/pages/agent/CreateAgentGuide.tsx ui-next/src/pages/agent/CreateAgentGuide.tsx:28— ui-next/src/pages/agent/CreateAgentGuide.tsx changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 2 (its worst body is CreateAgentGuide.CreateAgentGuide at line 28), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix: navigate after the framework menu has closed”; “fix: drop scroll-lock override, neutralise only the stranded modal root”; “[CCOR-13375]fix:agent guide scroll stuck”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-25 13:09:27 +05:30' --until='2026-10-23 13:09:27 +05:30' --full-history --no-merges -- ui-next/src/pages/agent/CreateAgentGuide.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Duplicated block (21 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:432— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:432-452 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:342-362 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java` and `ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java` as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (21 lines × 2) amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:639— amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:639-659 | amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:700-720 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:639` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (21 lines × 2) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:254— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:254-274 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteEventHandlerMetadataDAO.java:67-87 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteEventHandlerMetadataDAO.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:254` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (21 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:266— postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:266-286 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java:284-304 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (15 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:215— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:215-229 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:219-233 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:209-223 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:197-211 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java` as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (15 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:894— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:894-908 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:752-766 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:881-895 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:880-894 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java` as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (15 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/Expression.java:45— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/Expression.java:45-59 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/Expression.java:44-58 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/Expression.java:44-58 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/Expression.java:43-57 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/Expression.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/Expression.java` as WHOLE FILES: 84% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: `BooleanOp` names `com.netflix.conductor.es7.dao.query.parser.internal.BooleanOp` in one and `org.conductoross.conductor.es8.dao.query.parser.internal.BooleanOp` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (15 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:781— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:781-795 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:632-646 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:768-782 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:762-776 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java` as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:781` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (14 lines × 4) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:478— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:478-491 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2133-2146 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2230-2243 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2566-2579 — all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:493` calls `toRef`, `getName` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2149` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (14 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:921— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:921-934 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:776-789 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:908-921 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:907-920 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java` as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:921` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (14 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:85— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:85-98 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:85-98 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java:85-98 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java:85-98 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:85` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (14 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:164— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:164-177 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:163-176 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java:164-177 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java:164-177 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (12 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:581— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:581-592 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:407-418 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:568-579 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:559-570 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java` as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:581` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (12 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:749— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:749-760 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:600-611 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:736-747 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:730-741 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java` as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:749` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (12 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/NameValue.java:56— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/NameValue.java:56-67 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/NameValue.java:61-72 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/NameValue.java:49-60 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/NameValue.java:49-60 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/NameValue.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/NameValue.java` as WHOLE FILES: 94% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: `ComparisonOp` names `com.netflix.conductor.es7.dao.query.parser.internal.ComparisonOp` in one and `org.conductoross.conductor.es8.dao.query.parser.internal.ComparisonOp` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (12 lines × 4) postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:188— postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:188-199 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:210-221 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java:208-219 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java:232-243 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java:204` calls `getQuery` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:187` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (10–11 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:432— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:432-442 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1633-1642 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:432` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (10–11 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCTaskMapper.java:52— ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCTaskMapper.java:52-62 | core/src/main/java/com/netflix/conductor/core/execution/mapper/SimpleTaskMapper.java:88-97 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCTaskMapper.java:52` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (10–11 lines × 2) cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:738— cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:738-748 | cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:758-767 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:738` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (10–11 lines × 2) core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java:332— core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java:332-341 | core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java:366-376 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java:332` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java:330` calls `interrupt`, `getContext` and `core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java:365` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (7–8 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:646— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:646-652 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:655-662 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:655` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (7–8 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/agent/ConductorAgentResults.java:141— ai/src/main/java/org/conductoross/conductor/ai/agent/ConductorAgentResults.java:141-147 | ai/src/main/java/org/conductoross/conductor/ai/agent/ConductorAgentResults.java:179-186 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/agent/ConductorAgentResults.java:141` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (7–8 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java:105— ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java:105-112 | ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java:126-132 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java:105` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (7–8 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java:68— ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java:68-74 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIResponsesChatModel.java:93-100 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (5 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:870— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:870-874 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:950-954 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:857-861 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:937-941 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (5 lines × 4) es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:720— es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:720-724 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:887-891 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:849-853 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:934-938 — before extracting anything, compare `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java` and `os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 233 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (5 lines × 4) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:478— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:478-482 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java:363-367 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:354-358 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/VercelAINormalizer.java:293-297 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from all 4 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (5 lines × 4) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:109— grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:109-113 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:347-351 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:727-731 | grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1423-1427 — all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind `from` to `DynamicForkJoinTaskPb.DynamicForkJoinTask` in one and `EventHandlerPb.EventHandler.StartWorkflow` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH — their common supertype where they have one, or a new abstraction over them where they do not — and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
AC2 · Forms & labels· <RadioGroup> field component without a label · ×3
<RadioGroup> field component without a label ui-next/src/components/inputs/ConductorUpdateTaskFromEvent.tsx:36— This UI-library field component has no label / aria-label / aria-labelledby / id — and neither does anything it renders (a name prop is the form-submission key, not a label) — so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
<RadioGroup> field component without a label ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/UpdateTaskForm/UpdateTaskFromEvent.tsx:41— This UI-library field component has no label / aria-label / aria-labelledby / id — and neither does anything it renders (a name prop is the form-submission key, not a label) — so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
<RadioGroup> field component without a label ui-next/src/pages/eventMonitor/EventMonitorDetail/Refresher/RefreshEvent.tsx:67— This UI-library field component has no label / aria-label / aria-labelledby / id — and neither does anything it renders (a name prop is the form-submission key, not a label) — so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
D4 · Code Duplication· Members sharing a duplicated core (11 members, 50+ identical tokens) · ×3
Members sharing a duplicated core (11 members, 50+ identical tokens) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:462— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:462-829 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:833-1149 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:253-428 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:432-565 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:672-787 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:827-1034 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1038-1154 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1158-1381 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1598-1768 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1890-2034 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2618-3013 — These 11 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 11 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 11 times.
Members sharing a duplicated core (11 members, 50+ identical tokens) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:76— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:76-191 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:240-330 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:467-539 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:590-809 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:939-994 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1063-1095 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1117-1150 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1395-1624 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1815-1853 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1927-1993 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:2032-2212 — These 11 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 11 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 11 times.
Members sharing a duplicated core (11 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:495— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:495-519 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:834-854 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:862-890 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:317-341 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:684-707 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:489-510 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:821-841 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:849-877 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:487-509 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:814-835 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:843-876 — These 11 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 11 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 11 times.
D4 · Code Duplication· Members sharing a duplicated core (6 members, 50+ identical tokens) · ×3
Members sharing a duplicated core (6 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:343— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:343-385 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:393-436 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:337-379 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:387-430 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:325-372 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:380-428 — These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times.
Members sharing a duplicated core (6 members, 50+ identical tokens) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:113— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:113-142 | mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:152-179 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java:113-142 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java:152-179 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:80-116 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:126-160 — These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times.
Members sharing a duplicated core (6 members, 50+ identical tokens) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:140— postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:140-164 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:206-230 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:150-174 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:212-236 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:291-315 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:319-343 — These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times.
D4 · Code Duplication· Members sharing a duplicated core (5 members, 50+ identical tokens) · ×3
Members sharing a duplicated core (5 members, 50+ identical tokens) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:269— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:269-411 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:462-829 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:833-1149 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2038-2100 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1965-2011 — These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times.
Members sharing a duplicated core (5 members, 50+ identical tokens) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2618— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2618-3013 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3027-3241 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3428-3521 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1807-1853 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:2019-2144 — These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times.
Members sharing a duplicated core (5 members, 50+ identical tokens) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:77— postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:77-93 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:68-84 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:70-86 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:77-93 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:66-82 — These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times.
Duplicated block (26 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:876— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:876-901 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:869-894 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:869-894 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (26 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:530— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:530-555 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:615-640 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteTaskMetadataDAO.java:83-108 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 280 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:530` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:557` calls `put`, `getName` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteTaskMetadataDAO.java:109` does not — after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (26 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java:84— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java:84-109 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillMetadataDAO.java:86-111 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteSkillMetadataDAO.java:86-111 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillMetadataDAO.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (26 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/config/ElasticSearchV7Configuration.java:55— es7-persistence/src/main/java/com/netflix/conductor/es7/config/ElasticSearchV7Configuration.java:55-80 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchConfiguration.java:66-91 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/config/ElasticSearchV7Configuration.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchConfiguration.java` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchConfiguration.java:66` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: `RestClient` names `org.elasticsearch.client.RestClient` in one and `org.opensearch.client.RestClient` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (26 lines × 2) nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSObservableQueue.java:58— nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSObservableQueue.java:58-83 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSObservableQueue.java:58-83 — before extracting anything, compare `nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSObservableQueue.java` and `nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSObservableQueue.java` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (26 lines × 2) scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:282— scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:282-307 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java:261-286 — before extracting anything, compare `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java` and `scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java` as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (23 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:363— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:363-385 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:414-436 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:357-379 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:408-430 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:363` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (23 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ComparisonOp.java:70— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ComparisonOp.java:70-92 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ComparisonOp.java:70-92 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/ComparisonOp.java:70-92 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/ComparisonOp.java:70-92 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ComparisonOp.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ComparisonOp.java` as WHOLE FILES: 98% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ComparisonOp.java:70` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (23 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ListConst.java:38— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ListConst.java:38-60 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ListConst.java:38-60 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/ListConst.java:38-60 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/ListConst.java:38-60 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ListConst.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ListConst.java` as WHOLE FILES: 98% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (21–22 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2907— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2907-2927 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3067-3088 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2907` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (21–22 lines × 2) cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraRateLimitingDAO.java:70— cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraRateLimitingDAO.java:70-91 | redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisRateLimitingDAO.java:81-101 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisRateLimitingDAO.java:81` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (21–22 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:100— postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:100-120 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:169-190 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:100` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (21 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:952— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:952-972 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:946-966 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:946-966 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (21 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:398— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:398-418 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:456-476 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteWorkflowMetadataDAO.java:193-213 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 280 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (21 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:226— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:226-246 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:228-248 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:221-241 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (19–20 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIVideoApi.java:190— ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIVideoApi.java:190-208 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIVideoApi.java:217-236 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (19–20 lines × 2) core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:725— core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:725-743 | core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:817-836 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (19–20 lines × 2) sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:82— sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:82-100 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:127-146 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:82` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (12–19 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:686— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:686-704 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1320-1331 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1320` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:705` calls `put` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1332` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (12–19 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3077— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3077-3088 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3515-3533 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (12–19 lines × 2) scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:167— scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:167-178 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerDAO.java:154-172 — before extracting anything, compare `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java` and `scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerDAO.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:167` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (19 lines × 2) os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:724— os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:724-742 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:718-736 — before extracting anything, compare `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` and `os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 439 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:724` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (19 lines × 2) os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1058— os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1058-1076 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1101-1119 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1098` calls `fetchSource` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1056` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (19 lines × 2) scheduler/core/src/main/java/io/orkes/conductor/scheduler/service/SchedulerBulkServiceImpl.java:54— scheduler/core/src/main/java/io/orkes/conductor/scheduler/service/SchedulerBulkServiceImpl.java:54-72 | scheduler/core/src/main/java/io/orkes/conductor/scheduler/service/SchedulerBulkServiceImpl.java:88-106 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `scheduler/core/src/main/java/io/orkes/conductor/scheduler/service/SchedulerBulkServiceImpl.java:54` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (12–14 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:738— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:738-751 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1098-1109 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:735` calls `add` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1095` does not — after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (12–14 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:617— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:617-630 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1583-1594 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:617` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (12–14 lines × 2) core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2738— core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2738-2751 | core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2791-2802 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2738` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (9–10 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:981— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:981-990 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1399-1407 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:981` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (9–10 lines × 2) REDACTED:189— REDACTED:189-197 | REDACTED:336-345 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `REDACTED:346` calls `setAutoCommit` and `REDACTED:198` does not — after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (9–10 lines × 2) cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:265— cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:265-273 | redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:233-242 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:233` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:274` calls `getStatus`, `addTaskToLimit` and `redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:243` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (9 lines × 4) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:346— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:346-354 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:609-617 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1000-1008 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2067-2075 — there are 4 copies across 2 file(s) — more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:346` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (9 lines × 4) ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIEmbeddingsApi.java:63— ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIEmbeddingsApi.java:63-71 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIImageGenApi.java:64-72 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIResponsesApi.java:84-92 | ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAISpeechApi.java:68-76 — before extracting anything, compare `ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIEmbeddingsApi.java` and `ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIImageGenApi.java` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIEmbeddingsApi.java:63` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAISpeechApi.java:77` calls `isSuccessful` and `ai/src/main/java/org/conductoross/conductor/ai/providers/openai/api/OpenAIEmbeddingsApi.java:72` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (9 lines × 4) cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:741— cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:741-749 | cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:760-768 | redis-concurrency-limit/src/main/java/com/netflix/conductor/redis/limit/RedisConcurrentExecutionLimitDAO.java:72-80 | redis-concurrency-limit/src/main/java/com/netflix/conductor/redis/limit/RedisConcurrentExecutionLimitDAO.java:101-109 — there are 4 copies across 2 file(s) — more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at `cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:741` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (8–9 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:554— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:554-562 | ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:317-324 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java` and `ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 159 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:554` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (8–9 lines × 2) cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:414— cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:414-422 | cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:439-446 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java:414` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (8–9 lines × 2) core/src/main/java/org/conductoross/conductor/core/storage/FileStorageServiceImpl.java:89— core/src/main/java/org/conductoross/conductor/core/storage/FileStorageServiceImpl.java:89-96 | core/src/main/java/org/conductoross/conductor/core/storage/FileStorageServiceImpl.java:188-196 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/org/conductoross/conductor/core/storage/FileStorageServiceImpl.java:89` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (6 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1345— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1345-1350 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/Es8BulkIngestionSupport.java:146-151 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1294-1299 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:1368-1373 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1345` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: `BulkRequest` names `org.elasticsearch.action.bulk.BulkRequest` in one and `org.opensearch.action.bulk.BulkRequest` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (6 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:57— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:57-62 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:57-62 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java:57-62 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java:57-62 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:57` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (6 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:100— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:100-105 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:100-105 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java:100-105 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java:100-105 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Outbound HTTP without resilience ai/src/main/java/org/conductoross/conductor/ai/providers/cohere/api/CohereApi.java:316— `RestClient.builder(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout.
Outbound HTTP without resilience rest/src/main/java/com/netflix/conductor/rest/startup/KitchenSinkInitializer.java:68— `restTemplateBuilder.build(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout.
Outbound HTTP without resilience scripts/capture_cookbook_verification.py:22— `urlopen(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout.
Dead file (~69 LoC) ui-next/src/components/FeatureDisabledWrapper.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~69 LoC) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/FlexibleAutoCompleteVariables.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~69 LoC) ui-next/src/pages/definition/WorkflowMetadata/EditInPlaceWrapper/EditInPlaceFieldWrapper.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
AC2 · Forms & labels· <Slider> field component without a label · ×2
<Slider> field component without a label ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ChunkTextTaskForm.tsx:500— This UI-library field component has no label / aria-label / aria-labelledby / id — and neither does anything it renders (a name prop is the form-submission key, not a label) — so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
<Slider> field component without a label ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ParseDocumentTaskForm.tsx:525— This UI-library field component has no label / aria-label / aria-labelledby / id — and neither does anything it renders (a name prop is the form-submission key, not a label) — so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
AC3 · Page structure· Page without a main landmark · ×2
Page without a main landmark ui-next/index.html:2— No <main> (or role="main") means no "skip to content" target and a weaker landmark map. This document's body is only the mount point <div id="root">, so there is no content here to wrap — render the <main> from the component mounted into it.
Page without a main landmark ui/public/index.html:2— No <main> (or role="main") means no "skip to content" target and a weaker landmark map. This document's body is only the mount point <div id="root">, so there is no content here to wrap — render the <main> from the component mounted into it.
json.downgradeSchemaToDraft7::processSchema (cyclomatic 67) REDACTED:281— json.downgradeSchemaToDraft7::processSchema has cyclomatic complexity 67 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (json.downgradeSchemaToDraft7, json.downgradeSchemaToDraft7::hasNewerKeywordsRecursive) have the same decision points, in the same order, at the same nesting depths — so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
json.downgradeSchemaToDraft7::hasNewerKeywordsRecursive (cyclomatic 36) REDACTED:83— json.downgradeSchemaToDraft7::hasNewerKeywordsRecursive has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (json.downgradeSchemaToDraft7, json.downgradeSchemaToDraft7::processSchema) have the same decision points, in the same order, at the same nesting depths — so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
OpenSearchProperties.init (cyclomatic 35) os-persistence-v3/src/main/java/org/conductoross/conductor/os3/config/OpenSearchProperties.java:135— OpenSearchProperties.init has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
OpenSearchProperties.init (cyclomatic 35) os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java:136— OpenSearchProperties.init has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
AdvancedSearch.AdvancedSearch (cyclomatic 32) ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx:88— AdvancedSearch.AdvancedSearch has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 7 of the 32 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 160, setRecentTaskSearch, handleToolTipOnClose, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
AdvancedSearch.AdvancedSearch (cyclomatic 32) ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx:86— AdvancedSearch.AdvancedSearch has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 7 of the 32 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 157, setRecentTaskSearch, handleToolTipOnClose, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
AbstractProtoMapper.toProto (cyclomatic 17) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1484— AbstractProtoMapper.toProto has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
AbstractProtoMapper.toProto (cyclomatic 17) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1356— AbstractProtoMapper.toProto has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
json.downgradeSchemaToDraft7::processSchema (cognitive 127) REDACTED:281— json.downgradeSchemaToDraft7::processSchema has cognitive complexity 127 (threshold 15). Drivers by points: if/else 26 (64 pts), error handling 16 (42 pts), boolean chains 10, loops 4 (9 pts), match/switch 1 (2 pts) (nesting depth added 70). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: 2 other methods here (json.downgradeSchemaToDraft7, json.downgradeSchemaToDraft7::hasNewerKeywordsRecursive) have the same decision points, in the same order, at the same nesting depths — so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
json.downgradeSchemaToDraft7::hasNewerKeywordsRecursive (cognitive 74) REDACTED:83— json.downgradeSchemaToDraft7::hasNewerKeywordsRecursive has cognitive complexity 74 (threshold 15). Drivers by points: if/else 17 (46 pts), error handling 6 (15 pts), boolean chains 7, loops 3 (6 pts) (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (json.downgradeSchemaToDraft7, json.downgradeSchemaToDraft7::processSchema) have the same decision points, in the same order, at the same nesting depths — so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
OpenSearchProperties.init (cognitive 36) os-persistence-v3/src/main/java/org/conductoross/conductor/os3/config/OpenSearchProperties.java:135— OpenSearchProperties.init has cognitive complexity 36 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 15, error handling 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
OpenSearchProperties.init (cognitive 36) os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java:136— OpenSearchProperties.init has cognitive complexity 36 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 15, error handling 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
AdvancedSearch.AdvancedSearch (cognitive 36) ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx:88— AdvancedSearch.AdvancedSearch has cognitive complexity 36 (threshold 15). Drivers by points: if/else 21 (24 pts), boolean chains 8, error handling 1 (2 pts), ternaries 2 (nesting depth added 4). Most of this is not in the body itself: 7 of the 36 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 160, setRecentTaskSearch, a function literal at line 256, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
AdvancedSearch.AdvancedSearch (cognitive 36) ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx:86— AdvancedSearch.AdvancedSearch has cognitive complexity 36 (threshold 15). Drivers by points: if/else 21 (24 pts), boolean chains 8, error handling 1 (2 pts), ternaries 2 (nesting depth added 4). Most of this is not in the body itself: 7 of the 36 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 157, setRecentTaskSearch, a function literal at line 255, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
OpenSearchRestDAO.addIndex (cognitive 18) os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:380— OpenSearchRestDAO.addIndex has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 2 (6 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (OpenSearchRestDAO.addIndex) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
OpenSearchRestDAO.addIndex (cognitive 18) os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:325— OpenSearchRestDAO.addIndex has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 2 (6 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (OpenSearchRestDAO.addIndex) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
AbstractProtoMapper.toProto (cognitive 16) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1484— AbstractProtoMapper.toProto has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, loops 5. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
AbstractProtoMapper.toProto (cognitive 16) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1356— AbstractProtoMapper.toProto has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, loops 5. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
Change coupling: MetadataServiceImpl.java ↔ MetadataResource.java core/src/main/java/com/netflix/conductor/service/MetadataServiceImpl.java:1— `core/src/main/java/com/netflix/conductor/service/MetadataServiceImpl.java` and `rest/src/main/java/com/netflix/conductor/rest/controllers/MetadataResource.java` change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well — a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency — the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE — the registration is the link, and it is meant not to be an import — and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are `46efcbc9` fix: POST /metadata/workflow honors overwrite query param (#1264); `4e77a872` perf: Optimize workflow name dropdowns with /names API (#1013); `5e96c7ab` perf: Add per-workflow /versions API with lazy UI version loading (#1… — run `git show` on any of them.
Change coupling: ExecutionService.java ↔ TaskService.java core/src/main/java/com/netflix/conductor/service/ExecutionService.java:1— `core/src/main/java/com/netflix/conductor/service/ExecutionService.java` and `core/src/main/java/com/netflix/conductor/service/TaskService.java` change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well — a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package — so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are `0779107a` task services; `508c9fb8` Add the task update API by reference name; `2b7fc9ec` New api to query queue size based on task type, domain and other opti… — run `git show` on any of them.
Duplicated block (43 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:190— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:190-232 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:214-256 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:214-256 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (43 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:420— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:420-462 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:452-494 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:452-494 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (37 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:331— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:331-367 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java:312-348 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:194-230 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from all 3 call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (37 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:439— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:439-475 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:497-533 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteWorkflowMetadataDAO.java:154-190 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 280 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (36 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java:158— postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java:158-193 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqlitePollDataDAO.java:79-114 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqlitePollDataDAO.java` as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (36 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:156— postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:156-191 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:151-186 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (31 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:315— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:315-345 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:441-471 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:423-453 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java` as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 212 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (31 lines × 3) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/GroupedExpression.java:29— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/GroupedExpression.java:29-59 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/GroupedExpression.java:29-59 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/GroupedExpression.java:28-58 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/GroupedExpression.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/GroupedExpression.java` as WHOLE FILES: 83% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: `ParserException` names `com.netflix.conductor.es7.dao.query.parser.internal.ParserException` in one and `org.conductoross.conductor.es8.dao.query.parser.internal.ParserException` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (30 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:399— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:399-428 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1352-1381 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:399` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1349` calls `getText` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:396` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (30 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/NameValue.java:109— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/NameValue.java:109-138 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/NameValue.java:102-131 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/NameValue.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/NameValue.java` as WHOLE FILES: 94% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/NameValue.java:109` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: `Operators` names `com.netflix.conductor.es7.dao.query.parser.internal.ComparisonOp.Operators` in one and `org.conductoross.conductor.os2.dao.query.parser.internal.ComparisonOp.Operators` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (28 lines × 2) core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:498— core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:498-525 | core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:553-580 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java:498` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (28 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1164— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1164-1191 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1125-1152 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: `SearchHits` names `org.elasticsearch.search.SearchHits` in one and `org.opensearch.search.SearchHits` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (27 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1195— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1195-1221 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1156-1182 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: `QueryBuilder` names `org.elasticsearch.index.query.QueryBuilder` in one and `org.opensearch.index.query.QueryBuilder` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (27 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/BulkRequestBuilderWrapper.java:28— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/BulkRequestBuilderWrapper.java:28-54 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/BulkRequestBuilderWrapper.java:27-53 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: `BulkRequestBuilder` names `org.elasticsearch.action.bulk.BulkRequestBuilder` in one and `org.opensearch.action.bulk.BulkRequestBuilder` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (25 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:762— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:762-786 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:755-779 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:755-779 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (25 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:188— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:188-212 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:190-214 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:183-207 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (24–25 lines × 2) amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:229— amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:229-252 | amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:254-278 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:254` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (24–25 lines × 2) amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:670— amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:670-694 | amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:741-764 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:670` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (24 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2094— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2094-2117 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2224-2247 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (24 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1245— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1245-1268 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1205-1228 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: `QueryBuilder` names `org.elasticsearch.index.query.QueryBuilder` in one and `org.opensearch.index.query.QueryBuilder` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (22 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:558— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:558-579 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:545-566 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:558` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: `BulkRequest` names `org.elasticsearch.action.bulk.BulkRequest` in one and `org.opensearch.action.bulk.BulkRequest` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (22 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:993— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:993-1014 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:980-1001 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:993` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (20 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:734— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:734-753 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:727-746 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:727-746 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (20 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:311— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java:311-330 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:369-388 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteEventHandlerMetadataDAO.java:115-134 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLMetadataDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 280 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (16–18 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:139— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:139-156 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:171-186 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:139` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (16–18 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:133— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:133-150 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:268-283 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:133` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (17–18 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:359— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:359-375 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:433-450 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:359` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (17–18 lines × 2) sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:114— sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:114-130 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:179-196 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:114` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (13–15 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2088— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2088-2100 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2218-2230 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3471-3485 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2217` calls `applyRetryPolicy` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2087` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (13–15 lines × 3) ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:137— ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:137-151 | ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:167-180 | ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:197-209 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:137` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (13–15 lines × 2) redis-configuration/src/main/java/com/netflix/conductor/redis/config/RedisSentinelConfiguration.java:59— redis-configuration/src/main/java/com/netflix/conductor/redis/config/RedisSentinelConfiguration.java:59-71 | redis-configuration/src/main/java/com/netflix/conductor/redis/config/RedisStandaloneConfiguration.java:58-72 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (13–15 lines × 2) scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:226— scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:226-240 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java:221-233 — before extracting anything, compare `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java` and `scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java` as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:226` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (13 lines × 6) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:152— postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:152-164 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:218-230 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:162-174 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:224-236 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:303-315 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java:331-343 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAO.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 138 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresIndexDAO.java:152` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (13 lines × 6) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:801— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:801-813 | mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:815-827 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:794-806 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:808-820 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:794-806 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:808-820 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (13 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:842— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:842-854 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:695-707 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:829-841 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:823-835 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java` as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:842` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (13 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/Range.java:32— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/Range.java:32-44 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/Range.java:32-44 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/Range.java:32-44 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/Range.java:32-44 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/Range.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/Range.java` as WHOLE FILES: 98% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (11 lines × 4) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:822— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:822-832 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:979-989 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1130-1140 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1175-1185 — all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:822` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (11 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:537— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:537-547 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:361-371 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:524-534 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:523-533 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java` as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:537` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:372` calls `TransientException`, `format`, `getTaskId` and `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:548` does not — after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (9–11 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/a2a/A2AService.java:564— ai/src/main/java/org/conductoross/conductor/ai/a2a/A2AService.java:564-572 | ai/src/main/java/org/conductoross/conductor/ai/mcp/MCPService.java:354-364 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/a2a/A2AService.java:564` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (9–11 lines × 2) core/src/main/java/com/netflix/conductor/core/execution/tasks/ExclusiveJoin.java:61— core/src/main/java/com/netflix/conductor/core/execution/tasks/ExclusiveJoin.java:61-69 | core/src/main/java/com/netflix/conductor/core/execution/tasks/ExclusiveJoin.java:97-107 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (7–10 lines × 4) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3154— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3154-3160 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3356-3362 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3464-3470 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3549-3558 — all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (7–10 lines × 4) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:899— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:899-906 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1056-1063 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1257-1263 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:2110-2119 — all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:2110` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (10 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:152— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:152-161 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:151-160 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java:152-161 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java:152-161 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (10 lines × 4) grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/TaskServiceImpl.java:243— grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/TaskServiceImpl.java:243-252 | grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/TaskServiceImpl.java:271-281 | grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/WorkflowServiceImpl.java:294-304 | grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/WorkflowServiceImpl.java:329-339 — there are 4 copies across 2 file(s) — more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind `response` to `StreamObserver<TaskServicePb.TaskSummarySearchResult>` in one and `StreamObserver<TaskServicePb.TaskSearchResult>` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH — their common supertype where they have one, or a new abstraction over them where they do not — and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (8–9 lines × 4) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1064— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1064-1072 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:339-346 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:963-970 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1970-1978 — there are 4 copies across 2 file(s) — more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart.
Duplicated block (8–9 lines × 4) os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:355— os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:355-363 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:407-414 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:343-351 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:400-407 — before extracting anything, compare `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` and `os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 439 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:355` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it. Note first that the copies are not typed on the same thing: `ContentType` names `org.apache.hc.core5.http.ContentType` in one and `org.apache.http.entity.ContentType` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (7–9 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:238— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:238-246 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1813-1819 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:238` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (7–9 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1793— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1793-1801 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2202-2208 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1792` calls `ensureAllTaskNames` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2201` does not — after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (8 lines × 5) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:345— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:345-352 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:608-615 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:999-1006 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2066-2073 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1989-1996 — there are 5 copies across 3 file(s) — more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:345` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2063` calls `add` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:606` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (8 lines × 5) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:297— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:297-304 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:370-377 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:150-157 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:234-241 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/VercelAINormalizer.java:197-204 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java` as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (7–8 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1330— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1330-1337 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:238-245 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1813-1819 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from all 3 call sites, so a change lands once.
Duplicated block (7–8 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:414— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:414-421 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1774-1780 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:2057-2063 — there are 3 copies across 2 file(s) — more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart.
Duplicated block (7 lines × 5) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:199— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:199-205 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:264-270 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:517-523 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:714-720 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1708-1714 — there are 5 copies across 2 file(s) — more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:525` calls `put` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:722` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (7 lines × 5) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:199— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:199-205 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/GuardrailCompiler.java:264-270 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:870-876 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1027-1033 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1223-1232 — there are 5 copies across 2 file(s) — more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1223` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Fake-async — async method never awaits ui-next/src/components/features/auth/silentRefresh.ts:22— `silentlyRefreshToken` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work.
Fake-async — async method never awaits ui-next/src/pages/queueMonitor/state/service.ts:49— `saveOrderAndVisibility` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work.
IC1 · Incompleteness & stubs· Guard cannot change the result · ×2
Guard cannot change the result — returns what the code already falls through to ui-next/src/components/features/tags/ReplaceTagsInput.tsx:80— The guard above `return option.title;` also returns `option.title`, so no input can make it matter. Implement the distinction that was intended, or delete the guard.
Guard cannot change the result — returns what the code already falls through to ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/hooks/useSchemaFormHandler.ts:29— The guard above `return true;` also returns `true`, so no input can make it matter. Implement the distinction that was intended, or delete the guard.
R10 · Code Duplication· Duplicated block with local edits (105 matched lines × 2 locations) · ×2
Duplicated block with local edits (105 matched lines × 2 locations) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/INLINETaskForm/InlineCodeBlock.tsx:85— ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/INLINETaskForm/InlineCodeBlock.tsx:85 · ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/JOINTaskForm/JoinCodeBlock.tsx:89 — the two spans are one implementation copied and then locally edited — 522 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
Duplicated block with local edits (105 matched lines × 2 locations) ui-next/src/pages/executions/Task/AdvanceSearch.tsx:45— ui-next/src/pages/executions/Task/AdvanceSearch.tsx:45 · ui-next/src/pages/executions/Task/BasicSearch.tsx:51 — the two spans are one implementation copied and then locally edited — 466 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
R10 · Code Duplication· Duplicated block with local edits (92 matched lines × 2 locations) · ×2
Duplicated block with local edits (92 matched lines × 2 locations) ui-next/src/components/features/flow/components/RichAddTaskMenu/AddTaskSidebar.tsx:219— ui-next/src/components/features/flow/components/RichAddTaskMenu/AddTaskSidebar.tsx:219 · ui-next/src/components/features/flow/components/RichAddTaskMenu/QuickAddMenu.tsx:243 — the two spans are one implementation copied and then locally edited — 433 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
Duplicated block with local edits (92 matched lines × 2 locations) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/DoWhileTaskForm/DoWhileCodeBlock.tsx:110— ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/DoWhileTaskForm/DoWhileCodeBlock.tsx:110 · ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SwitchTaskForm/SwitchCodeBlock.tsx:103 — the two spans are one implementation copied and then locally edited — 451 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
R10 · Code Duplication· Duplicated block with local edits (79 matched lines × 2 locations) · ×2
Duplicated block with local edits (79 matched lines × 2 locations) ui-next/src/pages/agent/CloneAgentDialog.tsx:59— ui-next/src/pages/agent/CloneAgentDialog.tsx:59 · ui-next/src/pages/definitions/dialog/CloneWorkflowDialog.tsx:89 — the two spans are one implementation copied and then locally edited — 382 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
Duplicated block with local edits (79 matched lines × 2 locations) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ConductorObjectOrStringInput.tsx:15— ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ConductorObjectOrStringInput.tsx:15 · ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ConductorValueInput.tsx:16 — the two spans are one implementation copied and then locally edited — 365 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
Duplicated block (77 lines × 2 locations) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/LLMFormFields/LLMFormFieldsWrapper.tsx:39— ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/LLMFormFields/LLMFormFieldsWrapper.tsx:39 · ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/LLMFormFields/LLMFormFieldsWrapper.tsx:133 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (77 lines × 2 locations) ui/src/pages/executions/TaskSearch.jsx:94— ui/src/pages/executions/TaskSearch.jsx:94 · ui/src/pages/executions/WorkflowSearch.jsx:84 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported.
R10 · Code Duplication· Duplicated block with local edits (64 matched lines × 2 locations) · ×2
Duplicated block with local edits (64 matched lines × 2 locations) ui-next/src/pages/agent/AgentDefinitions.tsx:293— ui-next/src/pages/agent/AgentDefinitions.tsx:293 · ui-next/src/pages/definitions/Workflow.tsx:451 — the two spans are one implementation copied and then locally edited — 260 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
Duplicated block with local edits (64 matched lines × 2 locations) ui-next/src/pages/definitions/dialog/CloneDialog.tsx:69— ui-next/src/pages/definitions/dialog/CloneDialog.tsx:69 · ui-next/src/pages/definitions/dialog/CloneWorkflowDialog.tsx:100 — the two spans are one implementation copied and then locally edited — 309 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
Dead file (~124 LoC) ui-next/src/components/ui/dialogs/Modal/ConfirmModal.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~124 LoC) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/LLMChainTaskForm.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~116 LoC) ui-next/src/components/features/flow/nodes/layoutTestData.js— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~116 LoC) ui-next/src/components/ui/inputs/ConductorAutoCompleteWithDescription.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
AC2 · Forms & labels· <Autocomplete> field component without a label · ×1
<Autocomplete> field component without a label ui-next/src/components/SubjectSelector/SubjectMultiPicker.tsx:39— This UI-library field component has no label / aria-label / aria-labelledby / id — and neither does anything it renders (a name prop is the form-submission key, not a label) — so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
AC2 · Forms & labels· <DatePicker> field component without a label · ×1
<DatePicker> field component without a label ui-next/src/components/ui/date-time/ConductorSingleDateRangePicker.tsx:61— This UI-library field component has no label / aria-label / aria-labelledby / id — and neither does anything it renders (a name prop is the form-submission key, not a label) — so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed.
AC7 · A11y enforcement· Accessibility enforcement below the top rung · ×1
Accessibility enforcement below the top rung — No accessibility enforcement found — no a11y linter (eslint-plugin-jsx-a11y) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 678 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository's test and CI files — matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here.
agentExecutionUtils.transformWorkflowExecutionToAgentRun (cyclomatic 180) ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:931— agentExecutionUtils.transformWorkflowExecutionToAgentRun has cyclomatic complexity 180 (threshold 15). Of this number, 78 points are the body's own statements and 102 belong to 23 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
SidebarItem.SidebarItem (cyclomatic 124) ui-next/src/components/providers/sidebar/SidebarItem.tsx:45— SidebarItem.SidebarItem has cyclomatic complexity 124 (threshold 15). Of this number, 95 points are the body's own statements and 29 belong to 8 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AgentCompiler.compileGraphStructure (cyclomatic 121) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2777— AgentCompiler.compileGraphStructure has cyclomatic complexity 121 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AgentDetailPanel.SummaryContent (cyclomatic 103) ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx:1002— AgentDetailPanel.SummaryContent has cyclomatic complexity 103 (threshold 15). Of this number, 101 points are the body's own statements and 2 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
ErrorsInspector.ErrorsInspector (cyclomatic 94) ui/src/pages/errors/ErrorsInspector.jsx:31— ErrorsInspector.ErrorsInspector has cyclomatic complexity 94 (threshold 15). Of this number, 17 points are the body's own statements and 77 belong to 29 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
AgentExecutionDiagram.buildTurnNodes (cyclomatic 81) ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:896— AgentExecutionDiagram.buildTurnNodes has cyclomatic complexity 81 (threshold 15). Of this number, 68 points are the body's own statements and 13 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
WorkflowIntrospection.WorkflowIntrospection (cyclomatic 71) ui-next/src/pages/execution/WorkflowIntrospection.tsx:216— WorkflowIntrospection.WorkflowIntrospection has cyclomatic complexity 71 (threshold 15). Of this number, 67 points are the body's own statements and 4 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
Schedule.Schedule (cyclomatic 61) ui-next/src/pages/scheduler/Schedule.tsx:82— Schedule.Schedule has cyclomatic complexity 61 (threshold 15). Of this number, 22 points are the body's own statements and 39 belong to 20 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
GoogleADKNormalizer.normalize (cyclomatic 56) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:52— GoogleADKNormalizer.normalize has cyclomatic complexity 56 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
DataTable.DataTable (cyclomatic 54) ui-next/src/components/ui/DataTable/DataTable.tsx:83— DataTable.DataTable has cyclomatic complexity 54 (threshold 15). Of this number, 24 points are the body's own statements and 30 belong to 13 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
AgentService.collectAndRegisterTasks (cyclomatic 53) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:978— AgentService.collectAndRegisterTasks has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
PlanAndCompileTask.compile (cyclomatic 48) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:323— PlanAndCompileTask.compile has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
Execution.Execution (cyclomatic 48) ui-next/src/pages/execution/Execution.tsx:276— Execution.Execution has cyclomatic complexity 48 (threshold 15). Of this number, 30 points are the body's own statements and 18 belong to 12 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
RunWorkflow.RunWorkflow (cyclomatic 46) ui-next/src/pages/runWorkflow/RunWorkflow.tsx:185— RunWorkflow.RunWorkflow has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 6 of the 46 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 209, buildQueryForCode, runThisWorkflow, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
AgentExecutionDiagram.NodeCard (cyclomatic 45) ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:237— AgentExecutionDiagram.NodeCard has cyclomatic complexity 45 (threshold 15). Of this number, 41 points are the body's own statements and 4 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
BasicSearch.BasicSearch (cyclomatic 45) ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx:90— BasicSearch.BasicSearch has cyclomatic complexity 45 (threshold 15). Most of this is not in the body itself: 9 of the 45 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 223, setRecentTaskSearch, handleToolTipOnClose, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
AgentTaskForm.AgentTaskForm (cyclomatic 45) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/AgentTaskForm.tsx:51— AgentTaskForm.AgentTaskForm has cyclomatic complexity 45 (threshold 15). Of this number, 29 points are the body's own statements and 16 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
ConductorAutocompleteVariables.ConductorAutocompleteVariablesNoContext (cyclomatic 44) ui-next/src/components/FlatMapForm/ConductorAutocompleteVariables.tsx:116— ConductorAutocompleteVariables.ConductorAutocompleteVariablesNoContext has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 6 of the 44 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 296, a function literal at line 333, a function literal at line 179, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
TaskSearch.TaskSearch (cyclomatic 44) ui-next/src/pages/executions/TaskSearch.tsx:59— TaskSearch.TaskSearch has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 10 of the 44 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 129, a function literal at line 221, a function literal at line 284, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
AgentDetailPanel.AgentDetailPanel (cyclomatic 43) ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx:1699— AgentDetailPanel.AgentDetailPanel has cyclomatic complexity 43 (threshold 15). Of this number, 39 points are the body's own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
AgentCompiler.buildLlmTask (cyclomatic 42) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1324— AgentCompiler.buildLlmTask has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
QuickAddMenu.QuickAddMenu (cyclomatic 42) ui-next/src/components/features/flow/components/RichAddTaskMenu/QuickAddMenu.tsx:191— QuickAddMenu.QuickAddMenu has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 13 of the 42 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 318, a function literal at line 813, a function literal at line 246, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
AddTaskSidebar.AddTaskSidebar (cyclomatic 42) ui-next/src/components/features/flow/components/RichAddTaskMenu/AddTaskSidebar.tsx:114— AddTaskSidebar.AddTaskSidebar has cyclomatic complexity 42 (threshold 15). Of this number, 16 points are the body's own statements and 26 belong to 11 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
BasicSearch.BasicSearch (cyclomatic 41) ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx:81— BasicSearch.BasicSearch has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 10 of the 41 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 210, setRecentTaskSearch, handleToolTipOnClose, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
AgentChatCompleteTaskMapper.getHistory (cyclomatic 38) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:349— AgentChatCompleteTaskMapper.getHistory has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
RightPanel.RightPanel (cyclomatic 37) ui-next/src/pages/execution/RightPanel/RightPanel.tsx:74— RightPanel.RightPanel has cyclomatic complexity 37 (threshold 15). Of this number, 29 points are the body's own statements and 8 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
EditorPanel.EditorPanel (cyclomatic 37) ui-next/src/pages/definition/EditorPanel/EditorPanel.tsx:34— EditorPanel.EditorPanel has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 4 of the 37 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 111, a function literal at line 313, a function literal at line 264, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
PlanAndCompileTask.emitStepTasks (cyclomatic 35) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:586— PlanAndCompileTask.emitStepTasks has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AgentCompiler.compileWithTools (cyclomatic 34) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:462— AgentCompiler.compileWithTools has cyclomatic complexity 34 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
AgentExecutionDiagram.AgentExecutionDiagram (cyclomatic 34) ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:1648— AgentExecutionDiagram.AgentExecutionDiagram has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 4 of the 34 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 1857, 1724, 1704, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
json.downgradeSchemaToDraft7 (cyclomatic 34) REDACTED:39— json.downgradeSchemaToDraft7 has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (json.downgradeSchemaToDraft7::hasNewerKeywordsRecursive, json.downgradeSchemaToDraft7::processSchema) have the same decision points, in the same order, at the same nesting depths — so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
ConductorStringOrJsonInput.ConductorStringOrJsonInput (cyclomatic 33) ui-next/src/components/FlatMapForm/ConductorStringOrJsonInput.tsx:87— ConductorStringOrJsonInput.ConductorStringOrJsonInput has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 8 of the 33 points are its own statements and the rest belongs to 4 function items inside it that branch (handleStringChange, a function literal at line 111, a function literal at line 98, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
TaskSummary.TaskSummary (cyclomatic 33) ui-next/src/pages/execution/TaskSummary.tsx:19— TaskSummary.TaskSummary has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
Schedules.ScheduleDefinitions (cyclomatic 33) ui-next/src/pages/definitions/Scheduler/Schedules.tsx:302— Schedules.ScheduleDefinitions has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 13 of the 33 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 338, handleFetchError, a function literal at line 511, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
DeciderService.decide (cyclomatic 32) core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java:127— DeciderService.decide has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
playwright-coverage-report.main (cyclomatic 32) ui-next/scripts/playwright-coverage-report.mjs:225— playwright-coverage-report.main has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
SchemaEditPage.SchemaEditPage (cyclomatic 32) ui-next/src/pages/schema/edit/SchemaEditPage.tsx:42— SchemaEditPage.SchemaEditPage has cyclomatic complexity 32 (threshold 15). Of this number, 25 points are the body's own statements and 7 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
HeadActionButtons.HeadActionButtons (cyclomatic 31) ui-next/src/pages/definition/EditorPanel/HeadActionButtons.tsx:35— HeadActionButtons.HeadActionButtons has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 7 of the 31 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 160, handleDownloadFile). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
AbstractProtoMapper.toProto (cyclomatic 30) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1734— AbstractProtoMapper.toProto has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
WorkflowExecutorOps.rerunWF (cyclomatic 30) core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2301— WorkflowExecutorOps.rerunWF has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
ChatCompleteTaskMapper.getHistory (cyclomatic 30) ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:154— ChatCompleteTaskMapper.getHistory has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
PlanAndCompileTask.buildToolTask (cyclomatic 30) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1714— PlanAndCompileTask.buildToolTask has cyclomatic complexity 30 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions.
hook.useSchemaEdit (cyclomatic 30) ui-next/src/pages/schema/edit/state/hook.ts:37— hook.useSchemaEdit has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 5 of the 30 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 275, 136, 155, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
SubAgentTree.SubAgentNode (cyclomatic 29) ui-next/src/pages/execution/AgentExecution/SubAgentTree.tsx:53— SubAgentTree.SubAgentNode has cyclomatic complexity 29 (threshold 15). Of this number, 27 points are the body's own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
useConductorProjectBuilder.useConductorProjectBuilder.getUrl (cyclomatic 29) ui-next/src/utils/hooks/useConductorProjectBuilder.ts:73— useConductorProjectBuilder.useConductorProjectBuilder.getUrl has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
WorkflowExecutorOps.updateTask (cyclomatic 28) core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:940— WorkflowExecutorOps.updateTask has cyclomatic complexity 28 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions.
TagFilter.TagFilter (cyclomatic 28) ui-next/src/components/TagFilter.tsx:33— TagFilter.TagFilter has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 8 of the 28 points are its own statements and the rest belongs to 9 function items inside it that branch (renderTagList, a function literal at line 60, a function literal at line 58, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
AgentExecutionTab.AgentExecutionTab (cyclomatic 28) ui-next/src/pages/execution/AgentExecution/AgentExecutionTab.tsx:47— AgentExecutionTab.AgentExecutionTab has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 7 of the 28 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 141, 102, 165, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
OpenAIResponsesChatModel.toSpringChatResponse (cyclomatic 27) ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIResponsesChatModel.java:200— OpenAIResponsesChatModel.toSpringChatResponse has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
ReactJson.ReactJson (cyclomatic 27) ui-next/src/components/ReactJson.tsx:57— ReactJson.ReactJson has cyclomatic complexity 27 (threshold 15). Of this number, 20 points are the body's own statements and 7 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
EventHandler.EventDefinitionList (cyclomatic 27) ui-next/src/pages/definitions/EventHandler.tsx:64— EventHandler.EventDefinitionList has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 11 of the 27 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 100, 193, 109, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
HTTPTaskForm.HTTPTaskForm (cyclomatic 27) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/HTTPTaskForm/HTTPTaskForm.tsx:37— HTTPTaskForm.HTTPTaskForm has cyclomatic complexity 27 (threshold 15). Of this number, 19 points are the body's own statements and 8 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
TaskSummary.TaskSummary (cyclomatic 27) ui/src/pages/execution/TaskSummary.jsx:6— TaskSummary.TaskSummary has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
AbstractProtoMapper.toProto (cyclomatic 26) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:790— AbstractProtoMapper.toProto has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
MultiAgentCompiler.compilePlanExecute (cyclomatic 26) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2618— MultiAgentCompiler.compilePlanExecute has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
ToolCompiler.buildEnrichTask (cyclomatic 26) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:371— ToolCompiler.buildEnrichTask has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
LangGraphNormalizer.normalizeGraphStructure (cyclomatic 26) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java:119— LangGraphNormalizer.normalizeGraphStructure has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AgentSnapshotDetails.A2AAgentCardDetails (cyclomatic 26) ui-next/src/components/features/agents/AgentSnapshotDetails.tsx:337— AgentSnapshotDetails.A2AAgentCardDetails has cyclomatic complexity 26 (threshold 15). Of this number, 21 points are the body's own statements and 5 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
Flow.Flow (cyclomatic 26) ui-next/src/components/features/flow/Flow.tsx:55— Flow.Flow has cyclomatic complexity 26 (threshold 15). Of this number, 13 points are the body's own statements and 13 belong to 8 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
AgentRunView.AgentRunView (cyclomatic 26) ui-next/src/pages/execution/AgentExecution/AgentRunView.tsx:307— AgentRunView.AgentRunView has cyclomatic complexity 26 (threshold 15). Of this number, 18 points are the body's own statements and 8 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
Workflow.WorkflowDefinitions (cyclomatic 26) ui-next/src/pages/definitions/Workflow.tsx:62— Workflow.WorkflowDefinitions has cyclomatic complexity 26 (threshold 15). Of this number, 16 points are the body's own statements and 10 belong to 9 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
WorkflowDefinition.Workflow (cyclomatic 26) ui/src/pages/definition/WorkflowDefinition.jsx:104— WorkflowDefinition.Workflow has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 12 of the 26 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 126, changeVersionOrReset, handleOpenSave, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
AsyncSystemTaskExecutor.execute (cyclomatic 25) core/src/main/java/com/netflix/conductor/core/execution/AsyncSystemTaskExecutor.java:79— AsyncSystemTaskExecutor.execute has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
GeminiChatModel.toSpringChatResponse (cyclomatic 25) ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java:288— GeminiChatModel.toSpringChatResponse has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AgentCompiler.compile (cyclomatic 25) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:116— AgentCompiler.compile has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AgentCompiler.compileHybrid (cyclomatic 25) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:833— AgentCompiler.compileHybrid has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
WorkflowDefinition.Workflow (cyclomatic 25) ui-next/src/pages/definition/WorkflowDefinition.tsx:25— WorkflowDefinition.Workflow has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body's own statements and 3 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
WorkflowSweeper.sweep (cyclomatic 24) core/src/main/java/org/conductoross/conductor/core/execution/WorkflowSweeper.java:161— WorkflowSweeper.sweep has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
WorkflowTask.next (cyclomatic 24) common/src/main/java/com/netflix/conductor/common/metadata/workflow/WorkflowTask.java:679— WorkflowTask.next has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
MultiAgentCompiler.compileRouter (cyclomatic 24) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:827— MultiAgentCompiler.compileRouter has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
InlineTaskIterations.InlineTaskIterations (cyclomatic 24) ui-next/src/pages/execution/RightPanel/InlineTaskIterations.tsx:40— InlineTaskIterations.InlineTaskIterations has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 5 of the 24 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 157, a function literal at line 93, a function literal at line 63, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
ServiceRegistrySelector.ServiceRegistryPopulator (cyclomatic 24) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ServiceRegistrySelector.tsx:72— ServiceRegistrySelector.ServiceRegistryPopulator has cyclomatic complexity 24 (threshold 15). Of this number, 13 points are the body's own statements and 11 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
EventMonitorDetail.EventMonitorDetail (cyclomatic 24) ui-next/src/pages/eventMonitor/EventMonitorDetail/EventMonitorDetail.tsx:81— EventMonitorDetail.EventMonitorDetail has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 7 of the 24 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 177, 130, 150, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
DataTable.DataTable (cyclomatic 24) REDACTED:21— DataTable.DataTable has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 5 of the 24 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 132, a function literal at line 83, a function literal at line 71, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
PanAndZoomWrapper.PanAndZoomWrapper (cyclomatic 24) ui/src/components/diagram/PanAndZoomWrapper.jsx:58— PanAndZoomWrapper.PanAndZoomWrapper has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 10 function items inside it that branch (a function literal at line 94, a function literal at line 258, handleZoom, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
ExecutorUtils.computePostpone (cyclomatic 23) core/src/main/java/org/conductoross/conductor/core/execution/ExecutorUtils.java:88— ExecutorUtils.computePostpone has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
DeciderService.retry (cyclomatic 23) core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java:562— DeciderService.retry has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
ListApiToolsTask.buildInputSchema (cyclomatic 23) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:619— ListApiToolsTask.buildInputSchema has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
PlanAndCompileTask.resolveRefs (cyclomatic 23) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1512— PlanAndCompileTask.resolveRefs has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
helpers.generateObjectFromSchema (cyclomatic 23) ui-next/src/components/features/flow/components/RichAddTaskMenu/helpers.ts:45— helpers.generateObjectFromSchema has cyclomatic complexity 23 (threshold 15). Of this number, 14 points are the body's own statements and 9 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
ConductorNameVersionField.ConductorNameVersionField (cyclomatic 23) ui-next/src/components/inputs/ConductorNameVersionField.tsx:37— ConductorNameVersionField.ConductorNameVersionField has cyclomatic complexity 23 (threshold 15). Of this number, 15 points are the body's own statements and 8 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
Sidebar.Sidebar (cyclomatic 23) ui-next/src/components/providers/sidebar/Sidebar.tsx:33— Sidebar.Sidebar has cyclomatic complexity 23 (threshold 15). Of this number, 13 points are the body's own statements and 10 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
hook.useWorkflowDefinition (cyclomatic 23) ui-next/src/pages/definition/state/hook.ts:36— hook.useWorkflowDefinition has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to 6 function items inside it that branch (fetchWorkflowAndRelatedData, a function literal at line 206, a function literal at line 273, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
Task.TaskDefinitions (cyclomatic 23) ui-next/src/pages/definitions/Task.tsx:56— Task.TaskDefinitions has cyclomatic complexity 23 (threshold 15). Of this number, 13 points are the body's own statements and 10 belong to 7 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
WorkflowExecutorOps.decide (cyclomatic 22) core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:1330— WorkflowExecutorOps.decide has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AnthropicChatModel.buildRequest (cyclomatic 22) ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:76— AnthropicChatModel.buildRequest has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
OpenAINormalizer.normalize (cyclomatic 22) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:45— OpenAINormalizer.normalize has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
TurnBar.TurnBar (cyclomatic 22) ui-next/src/pages/execution/AgentExecution/TurnBar.tsx:27— TurnBar.TurnBar has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 55). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
DoWhileForm.DoWhileForm (cyclomatic 22) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/DoWhileTaskForm/DoWhileForm.tsx:28— DoWhileForm.DoWhileForm has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 8 of the 22 points are its own statements and the rest belongs to 5 function items inside it that branch (handleChangeSampleScripts, handleShowConfirmOverrideDialog, a function literal at line 40, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
SubWorkflowOperatorForm.SubWorkflowOperatorForm (cyclomatic 22) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SubWorkflowOperatorForm/SubWorkflowOperatorForm.tsx:38— SubWorkflowOperatorForm.SubWorkflowOperatorForm has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 179, 47, 105, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
WorkflowGraph.renderVertex (cyclomatic 22) ui/src/components/diagram/WorkflowGraph.jsx:486— WorkflowGraph.renderVertex has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
RecordedRequestNormalizer.normalizeToolSummary (cyclomatic 21) ai/src/main/java/org/conductoross/conductor/ai/recording/RecordedRequestNormalizer.java:264— RecordedRequestNormalizer.normalizeToolSummary has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AgentCompiler.simplifyNode (cyclomatic 21) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2539— AgentCompiler.simplifyNode has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
ToolCompiler.buildDiscoveryTasks (cyclomatic 21) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1112— ToolCompiler.buildDiscoveryTasks has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
ToolCompiler.buildEnrichTaskDynamic (cyclomatic 21) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1607— ToolCompiler.buildEnrichTaskDynamic has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
helpers.dynamicSort (cyclomatic 21) ui-next/src/components/ui/DataTable/helpers.ts:105— helpers.dynamicSort has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AgentDetailPanel.GroupDetailPanel (cyclomatic 21) ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx:728— AgentDetailPanel.GroupDetailPanel has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body's own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
GRPCTaskForm.GRPCTaskForm (cyclomatic 21) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/GRPCTaskForm/GRPCTaskForm.tsx:37— GRPCTaskForm.GRPCTaskForm has cyclomatic complexity 21 (threshold 15). Of this number, 12 points are the body's own statements and 9 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
ParseDocumentTaskForm.ParseDocumentTaskForm (cyclomatic 21) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ParseDocumentTaskForm.tsx:220— ParseDocumentTaskForm.ParseDocumentTaskForm has cyclomatic complexity 21 (threshold 15). Of this number, 13 points are the body's own statements and 8 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
SubWorkflow.start (cyclomatic 20) core/src/main/java/com/netflix/conductor/core/execution/tasks/SubWorkflow.java:56— SubWorkflow.start has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
WorkflowSweeper.unack (cyclomatic 20) REDACTED:139— WorkflowSweeper.unack has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
GeminiChatModel.call (cyclomatic 20) ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java:56— GeminiChatModel.call has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
MultiAgentCompiler.emitPlannerContextBuilder (cyclomatic 20) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3267— MultiAgentCompiler.emitPlannerContextBuilder has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
ListApiToolsTask.buildPostmanInputSchema (cyclomatic 20) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:551— ListApiToolsTask.buildPostmanInputSchema has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
playwright-coverage-report.shouldExcludeFromCoverageDenom (cyclomatic 20) ui-next/scripts/playwright-coverage-report.mjs:106— playwright-coverage-report.shouldExcludeFromCoverageDenom has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
AgentSnapshotDetails.AgentDefinitionDetails (cyclomatic 20) ui-next/src/components/features/agents/AgentSnapshotDetails.tsx:154— AgentSnapshotDetails.AgentDefinitionDetails has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 280, 171). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
CodeBlockInputWrapper.CodeBlockInputWrapper (cyclomatic 20) ui-next/src/components/ui/inputs/CodeBlockInputWrapper.tsx:151— CodeBlockInputWrapper.CodeBlockInputWrapper has cyclomatic complexity 20 (threshold 15). Of this number, 15 points are the body's own statements and 5 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
AgentDetailPanel.AgentInspector (cyclomatic 20) ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx:193— AgentDetailPanel.AgentInspector has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
SchedulerExecutions.SchedulerExecutions (cyclomatic 20) ui-next/src/pages/executions/SchedulerExecutions.tsx:32— SchedulerExecutions.SchedulerExecutions has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to 3 function items inside it that branch (buildQuery, doSearch, readJsonResponse). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
JOINTaskForm.JOINTaskForm (cyclomatic 20) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/JOINTaskForm/JOINTaskForm.tsx:36— JOINTaskForm.JOINTaskForm has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to 8 function items inside it that branch (forkLastTaskReferencesWrapper, a function literal at line 97, a function literal at line 70, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
ListFilesTaskForm.validateWebUrl (cyclomatic 20) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ListFilesTaskForm.tsx:30— ListFilesTaskForm.validateWebUrl has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AbstractProtoMapper.toProto (cyclomatic 19) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1642— AbstractProtoMapper.toProto has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
DoWhile.execute (cyclomatic 19) core/src/main/java/com/netflix/conductor/core/execution/tasks/DoWhile.java:56— DoWhile.execute has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AgentConfig.collectDeclaredWorkerTaskNames (cyclomatic 19) common/src/main/java/org/conductoross/conductor/common/metadata/agent/AgentConfig.java:262— AgentConfig.collectDeclaredWorkerTaskNames has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
StreamAggregator.accept (cyclomatic 19) ai/src/main/java/org/conductoross/conductor/ai/a2a/A2AService.java:588— StreamAggregator.accept has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AnthropicChatModel.convertMessage (cyclomatic 19) ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:167— AnthropicChatModel.convertMessage has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AnthropicChatModel.toSpringChatResponse (cyclomatic 19) ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:241— AnthropicChatModel.toSpringChatResponse has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
GeminiChatModel.convertMessage (cyclomatic 19) ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java:209— GeminiChatModel.convertMessage has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
PlanAndCompileTask.emitValidationTasks (cyclomatic 19) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1247— PlanAndCompileTask.emitValidationTasks has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
SkillRegistryService.parseSkillPackage (cyclomatic 19) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java:426— SkillRegistryService.parseSkillPackage has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
TaskCard.TaskCard (cyclomatic 19) ui-next/src/components/features/flow/components/shapes/TaskCard/TaskCard.tsx:64— TaskCard.TaskCard has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
InputNumber.InputNumber (cyclomatic 19) ui-next/src/components/ui/inputs/InputNumber.tsx:33— InputNumber.InputNumber has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 2 function items inside it that branch (handleOnKeyDown, handleInputChange). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
sidebarMenuUtils.mergePluginSidebarItems (cyclomatic 19) ui-next/src/components/providers/sidebar/sidebarMenuUtils.ts:78— sidebarMenuUtils.mergePluginSidebarItems has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 100, 82). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
ConductorInput.ConductorInput (cyclomatic 19) ui-next/src/components/ui/inputs/ConductorInput.tsx:225— ConductorInput.ConductorInput has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 7 function items inside it that branch (clearValue, getCustomEndAdornment, handleCopyValue, …). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
agentExecutionUtils.transformChainWorkflowToAgentRun (cyclomatic 19) ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:722— agentExecutionUtils.transformChainWorkflowToAgentRun has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AgentDefinitionView.NodeCard (cyclomatic 19) ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx:248— AgentDefinitionView.NodeCard has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
AgentDefinitionView.buildDefDiagram (cyclomatic 19) ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx:494— AgentDefinitionView.buildDefDiagram has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body's own statements and 7 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
useCronExpression.calculateLastDayOffsetMatches (cyclomatic 19) ui-next/src/pages/scheduler/hooks/useCronExpression.ts:23— useCronExpression.calculateLastDayOffsetMatches has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
MCPTaskForm.MCPTaskForm (cyclomatic 19) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/MCPTaskForm.tsx:33— MCPTaskForm.MCPTaskForm has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 214, 355, 315, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
TaskFormContent.TaskFormContent (cyclomatic 19) ui-next/src/pages/definition/EditorPanel/TaskFormTab/TaskFormContent.tsx:338— TaskFormContent.TaskFormContent has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body's own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file's highest cyclomatic complexity: TaskFormContent.getTaskForm (cyclomatic 49) is higher and carries no row of its own — it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension's figures nor in its score.
PromptIfChanges.PromptIfChanges (cyclomatic 19) ui-next/src/pages/definition/PromptIfChanges.tsx:17— PromptIfChanges.PromptIfChanges has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 4 function items inside it that branch (checkHasErrors, a function literal at line 56, a function literal at line 85, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
workflow.replaceIntegrationName (cyclomatic 19) ui-next/src/utils/workflow.ts:419— workflow.replaceIntegrationName has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
RedisSchedulerArchivalDAO.searchScheduledExecutions (cyclomatic 18) scheduler/redis-persistence/src/main/java/org/conductoross/conductor/scheduler/redis/dao/RedisSchedulerArchivalDAO.java:109— RedisSchedulerArchivalDAO.searchScheduledExecutions has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
AbstractProtoMapper.toProto (cyclomatic 18) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1238— AbstractProtoMapper.toProto has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
ExclusiveJoin.execute (cyclomatic 18) core/src/main/java/com/netflix/conductor/core/execution/tasks/ExclusiveJoin.java:42— ExclusiveJoin.execute has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
WorkflowExecutorOps.updateAndPushParents (cyclomatic 18) core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:313— WorkflowExecutorOps.updateAndPushParents has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AgentEventListener.recordWorkflowAIMetrics (cyclomatic 18) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentEventListener.java:297— AgentEventListener.recordWorkflowAIMetrics has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
PlannerContextFetchTask.start (cyclomatic 18) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlannerContextFetchTask.java:130— PlannerContextFetchTask.start has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
SafeConditionInterpreter.looseEquals (cyclomatic 18) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/SafeConditionInterpreter.java:220— SafeConditionInterpreter.looseEquals has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions.
SearchEverything.SearchEverything (cyclomatic 18) ui-next/src/components/features/search/SearchEverything.tsx:143— SearchEverything.SearchEverything has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 153, subTitleStyle, handleRedirect, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
agentExecutionUtils.getModelIconPath (cyclomatic 18) ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:196— agentExecutionUtils.getModelIconPath has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
agentExecutionUtils.transformChainWorkflowToAgentRun.turns (cyclomatic 18) ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:765— agentExecutionUtils.transformChainWorkflowToAgentRun.turns has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
useScheduleState.useScheduleState.initializeFromSchedule (cyclomatic 18) ui-next/src/pages/scheduler/hooks/useScheduleState.ts:95— useScheduleState.useScheduleState.initializeFromSchedule has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to one function literal inside it that branches (line 95). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
ErrorInspector.ErrorInspector (cyclomatic 18) ui-next/src/pages/definition/errorInspector/ErrorInspector.tsx:16— ErrorInspector.ErrorInspector has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body's own statements and 6 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
ResultsTable.ResultsTable (cyclomatic 18) ui-next/src/pages/agent/executions/ResultsTable.tsx:228— ResultsTable.ResultsTable has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 254, a function literal at line 288, a function literal at line 343, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
TaskDefinition.TaskDefinition (cyclomatic 18) ui-next/src/pages/definition/task/TaskDefinition.tsx:70— TaskDefinition.TaskDefinition has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body's own statements and 7 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
SchedulerExecutions.SchedulerExecutions (cyclomatic 18) ui/src/pages/executions/SchedulerExecutions.jsx:36— SchedulerExecutions.SchedulerExecutions has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 6 function items inside it that branch (buildQuery, doSearch, a function literal at line 144, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
WorkflowGraph.drawGraph (cyclomatic 18) ui/src/components/diagram/WorkflowGraph.jsx:225— WorkflowGraph.drawGraph has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
SchedulerSearchQuery.parse (cyclomatic 17) scheduler/core/src/main/java/io/orkes/conductor/dao/archive/SchedulerSearchQuery.java:55— SchedulerSearchQuery.parse has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
SchedulerService.handleSchedules (cyclomatic 17) scheduler/core/src/main/java/io/orkes/conductor/scheduler/service/SchedulerService.java:554— SchedulerService.handleSchedules has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
OpenAICompatChatModel.buildRequest (cyclomatic 17) ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java:63— OpenAICompatChatModel.buildRequest has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
LLMHelper.chatComplete (cyclomatic 17) ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:334— LLMHelper.chatComplete has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
MultiAgentCompiler.compileSwarm (cyclomatic 17) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1158— MultiAgentCompiler.compileSwarm has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
SkillNormalizer.normalize (cyclomatic 17) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:56— SkillNormalizer.normalize has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
IterationSection.IterationSection (cyclomatic 17) ui-next/src/pages/execution/RightPanel/IterationSection.tsx:41— IterationSection.IterationSection has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body's own statements and 8 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
taskModifier.applyOperationArrayOnTasks (cyclomatic 17) ui-next/src/pages/definition/state/taskModifier/taskModifier.ts:322— taskModifier.applyOperationArrayOnTasks has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
SaveProtectionPrompt.SaveProtectionPrompt (cyclomatic 17) ui-next/src/pages/definition/task/SaveProtectionPrompt.tsx:37— SaveProtectionPrompt.SaveProtectionPrompt has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 74, 108, 163, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
Execution.Execution (cyclomatic 17) ui/src/pages/execution/Execution.jsx:117— Execution.Execution has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body's own statements and 5 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
CassandraSchedulerArchivalDAO.searchScheduledExecutions (cyclomatic 16) scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerArchivalDAO.java:214— CassandraSchedulerArchivalDAO.searchScheduledExecutions has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
ElasticSearchRestDAOV8.resolveWriteIndexForAlias (cyclomatic 16) es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:1145— ElasticSearchRestDAOV8.resolveWriteIndexForAlias has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
ExecutionService.poll (cyclomatic 16) core/src/main/java/com/netflix/conductor/service/ExecutionService.java:111— ExecutionService.poll has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AMQPSettings.fromURI (cyclomatic 16) amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/util/AMQPSettings.java:166— AMQPSettings.fromURI has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
PdfDocumentRenderer.renderTextRunsWithOffset (cyclomatic 16) ai/src/main/java/org/conductoross/conductor/ai/pdf/PdfDocumentRenderer.java:614— PdfDocumentRenderer.renderTextRunsWithOffset has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
A2AWorkers.buildMessage (cyclomatic 16) ai/src/main/java/org/conductoross/conductor/ai/tasks/worker/A2AWorkers.java:527— A2AWorkers.buildMessage has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
AgentChatCompleteTaskMapper.condenseIfNeeded (cyclomatic 16) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:612— AgentChatCompleteTaskMapper.condenseIfNeeded has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
MultiAgentCompiler.validateSwarmHandoffs (cyclomatic 16) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1472— MultiAgentCompiler.validateSwarmHandoffs has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AgentService.collectDeclaredWorkerNames (cyclomatic 16) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:944— AgentService.collectDeclaredWorkerNames has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AgentService.inspectPlan (cyclomatic 16) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:129— AgentService.inspectPlan has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
SkillRegistryService.contentType (cyclomatic 16) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java:1016— SkillRegistryService.contentType has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
Handler.do_POST (cyclomatic 16) docs/devguide/cookbook/assets/saga_stub_service.py:42— Handler.do_POST has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
core.tasksAsNodes (cyclomatic 16) ui-next/src/components/features/flow/nodes/mapper/core.ts:70— core.tasksAsNodes has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body's own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
TwoPanesDivider.TwoPanesDivider (cyclomatic 16) ui-next/src/components/ui/TwoPanesDivider.tsx:42— TwoPanesDivider.TwoPanesDivider has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body's own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
DoWhileIteration.DoWhileIteration (cyclomatic 16) ui-next/src/pages/execution/RightPanel/DoWhileIteration.tsx:31— DoWhileIteration.DoWhileIteration has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 78, 64, 55, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
executionMapper.taskStatusUpdater (cyclomatic 16) ui-next/src/pages/execution/state/executionMapper.ts:137— executionMapper.taskStatusUpdater has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 143). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
JoinCodeBlock.JoinCodeBlock (cyclomatic 16) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/JOINTaskForm/JoinCodeBlock.tsx:88— JoinCodeBlock.JoinCodeBlock has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 112, 103, 203, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
SimpleTaskNameInput.SimpleTaskNameInput (cyclomatic 16) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SimpleTaskNameInput.tsx:43— SimpleTaskNameInput.SimpleTaskNameInput has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 166, 189, 210, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
HackComment ui-next/src/pages/definition/EditorPanel/WorkflowPropertiesFormTab/state/actions.ts:14— // hack for json components. to re-render on external value change — a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there.
AgentCompiler.compileGraphStructure (cognitive 382) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2777— AgentCompiler.compileGraphStructure has cognitive complexity 382 (threshold 15). Drivers by points: if/else 76 (206 pts), loops 25 (97 pts), ternaries 15 (56 pts), boolean chains 23 (nesting depth added 243). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
agentExecutionUtils.transformWorkflowExecutionToAgentRun (cognitive 294) ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:931— agentExecutionUtils.transformWorkflowExecutionToAgentRun has cognitive complexity 294 (threshold 15). Drivers by points: ternaries 49 (124 pts), if/else 48 (96 pts), boolean chains 60, loops 8 (11 pts), error handling 1 (3 pts) (nesting depth added 128). Of this number, 162 points are the body's own statements and 132 belong to 23 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
AgentExecutionDiagram.buildTurnNodes (cognitive 205) ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:896— AgentExecutionDiagram.buildTurnNodes has cognitive complexity 205 (threshold 15). Drivers by points: ternaries 31 (125 pts), if/else 27 (49 pts), boolean chains 12, error handling 2 (11 pts), loops 4 (5 pts), match/switch 1 (3 pts) (nesting depth added 128). Of this number, 169 points are the body's own statements and 36 belong to 6 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
SidebarItem.SidebarItem (cognitive 122) ui-next/src/components/providers/sidebar/SidebarItem.tsx:45— SidebarItem.SidebarItem has cognitive complexity 122 (threshold 15). Drivers by points: ternaries 38 (58 pts), boolean chains 32, if/else 22 (32 pts) (nesting depth added 30). Of this number, 84 points are the body's own statements and 38 belong to 8 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentDetailPanel.SummaryContent (cognitive 114) ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx:1002— AgentDetailPanel.SummaryContent has cognitive complexity 114 (threshold 15). Drivers by points: boolean chains 65, ternaries 20 (42 pts), if/else 7 (nesting depth added 22). Of this number, 110 points are the body's own statements and 4 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
WorkflowIntrospection.WorkflowIntrospection (cognitive 105) ui-next/src/pages/execution/WorkflowIntrospection.tsx:216— WorkflowIntrospection.WorkflowIntrospection has cognitive complexity 105 (threshold 15). Drivers by points: if/else 27 (51 pts), boolean chains 22, loops 12 (16 pts), ternaries 10 (16 pts) (nesting depth added 34). Of this number, 100 points are the body's own statements and 5 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ErrorsInspector.ErrorsInspector (cognitive 99) ui/src/pages/errors/ErrorsInspector.jsx:31— ErrorsInspector.ErrorsInspector has cognitive complexity 99 (threshold 15). Drivers by points: if/else 53 (61 pts), boolean chains 33, ternaries 4 (5 pts) (nesting depth added 9). Most of this is not in the body itself: 12 of the 99 points are its own statements and the rest belongs to 29 function items inside it that branch (a function literal at line 102, a function literal at line 343, a function literal at line 250, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
PlanAndCompileTask.emitStepTasks (cognitive 98) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:586— PlanAndCompileTask.emitStepTasks has cognitive complexity 98 (threshold 15). Drivers by points: if/else 21 (51 pts), ternaries 7 (21 pts), loops 7 (19 pts), boolean chains 4, error handling 1 (3 pts) (nesting depth added 58). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentService.collectAndRegisterTasks (cognitive 97) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:978— AgentService.collectAndRegisterTasks has cognitive complexity 97 (threshold 15). Drivers by points: if/else 32 (68 pts), loops 7 (16 pts), boolean chains 13 (nesting depth added 45). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
PlanAndCompileTask.compile (cognitive 92) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:323— PlanAndCompileTask.compile has cognitive complexity 92 (threshold 15). Drivers by points: if/else 23 (52 pts), loops 11 (18 pts), ternaries 6 (11 pts), boolean chains 8, error handling 1 (3 pts) (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
GoogleADKNormalizer.normalize (cognitive 89) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:52— GoogleADKNormalizer.normalize has cognitive complexity 89 (threshold 15). Drivers by points: if/else 38 (65 pts), loops 6 (14 pts), boolean chains 10 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentChatCompleteTaskMapper.getHistory (cognitive 88) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:349— AgentChatCompleteTaskMapper.getHistory has cognitive complexity 88 (threshold 15). Drivers by points: if/else 22 (62 pts), boolean chains 9, loops 4 (9 pts), ternaries 2 (6 pts), error handling 1 (2 pts) (nesting depth added 50). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
Schedule.Schedule (cognitive 85) ui-next/src/pages/scheduler/Schedule.tsx:82— Schedule.Schedule has cognitive complexity 85 (threshold 15). Drivers by points: if/else 28 (32 pts), ternaries 16 (26 pts), boolean chains 18, error handling 6 (9 pts) (nesting depth added 17). Of this number, 28 points are the body's own statements and 57 belong to 20 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
AgentCompiler.buildLlmTask (cognitive 66) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1324— AgentCompiler.buildLlmTask has cognitive complexity 66 (threshold 15). Drivers by points: if/else 27 (44 pts), boolean chains 13, ternaries 3 (7 pts), loops 1 (2 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ListApiToolsTask.buildInputSchema (cognitive 66) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:619— ListApiToolsTask.buildInputSchema has cognitive complexity 66 (threshold 15). Drivers by points: if/else 20 (62 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 43). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
LangGraphNormalizer.normalizeGraphStructure (cognitive 63) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java:119— LangGraphNormalizer.normalizeGraphStructure has cognitive complexity 63 (threshold 15). Drivers by points: if/else 21 (55 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 37). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
PlanAndCompileTask.resolveRefs (cognitive 62) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1512— PlanAndCompileTask.resolveRefs has cognitive complexity 62 (threshold 15). Drivers by points: if/else 16 (54 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 40). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
QuickAddMenu.QuickAddMenu (cognitive 62) ui-next/src/components/features/flow/components/RichAddTaskMenu/QuickAddMenu.tsx:191— QuickAddMenu.QuickAddMenu has cognitive complexity 62 (threshold 15). Drivers by points: ternaries 17 (47 pts), boolean chains 7, if/else 7, match/switch 1 (nesting depth added 30). Most of this is not in the body itself: 14 of the 62 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 813, a function literal at line 246, a function literal at line 488, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
OpenAIResponsesChatModel.toSpringChatResponse (cognitive 61) ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIResponsesChatModel.java:200— OpenAIResponsesChatModel.toSpringChatResponse has cognitive complexity 61 (threshold 15). Drivers by points: if/else 14 (40 pts), loops 3 (11 pts), boolean chains 7, ternaries 3 (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
TaskSearch.TaskSearch (cognitive 60) ui-next/src/pages/executions/TaskSearch.tsx:59— TaskSearch.TaskSearch has cognitive complexity 60 (threshold 15). Drivers by points: if/else 35 (44 pts), boolean chains 9, ternaries 5, error handling 1 (2 pts) (nesting depth added 10). Most of this is not in the body itself: 10 of the 60 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 129, a function literal at line 221, a function literal at line 284, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
WorkflowExecutorOps.rerunWF (cognitive 59) core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2301— WorkflowExecutorOps.rerunWF has cognitive complexity 59 (threshold 15). Drivers by points: if/else 26 (50 pts), loops 3 (5 pts), boolean chains 4 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
DataTable.DataTable (cognitive 58) ui-next/src/components/ui/DataTable/DataTable.tsx:83— DataTable.DataTable has cognitive complexity 58 (threshold 15). Drivers by points: if/else 19 (28 pts), boolean chains 14, ternaries 12 (13 pts), error handling 1 (3 pts) (nesting depth added 12). Of this number, 18 points are the body's own statements and 40 belong to 13 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
ChatCompleteTaskMapper.getHistory (cognitive 57) ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:154— ChatCompleteTaskMapper.getHistory has cognitive complexity 57 (threshold 15). Drivers by points: if/else 17 (37 pts), loops 5 (12 pts), boolean chains 6, error handling 1 (2 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ExecutorUtils.computePostpone (cognitive 55) core/src/main/java/org/conductoross/conductor/core/execution/ExecutorUtils.java:88— ExecutorUtils.computePostpone has cognitive complexity 55 (threshold 15). Drivers by points: if/else 18 (36 pts), ternaries 4 (14 pts), boolean chains 4, loops 1 (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
ToolCompiler.buildEnrichTask (cognitive 55) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:371— ToolCompiler.buildEnrichTask has cognitive complexity 55 (threshold 15). Drivers by points: if/else 16 (31 pts), ternaries 6 (19 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
playwright-coverage-report.main (cognitive 53) ui-next/scripts/playwright-coverage-report.mjs:225— playwright-coverage-report.main has cognitive complexity 53 (threshold 15). Drivers by points: if/else 17 (34 pts), loops 6 (9 pts), boolean chains 4, error handling 1 (3 pts), ternaries 2 (3 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
WorkflowSweeper.unack (cognitive 52) REDACTED:139— WorkflowSweeper.unack has cognitive complexity 52 (threshold 15). Drivers by points: if/else 15 (30 pts), ternaries 5 (19 pts), boolean chains 2, loops 1 (nesting depth added 29). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
ConductorAutocompleteVariables.ConductorAutocompleteVariablesNoContext (cognitive 52) ui-next/src/components/FlatMapForm/ConductorAutocompleteVariables.tsx:116— ConductorAutocompleteVariables.ConductorAutocompleteVariablesNoContext has cognitive complexity 52 (threshold 15). Drivers by points: if/else 24 (34 pts), boolean chains 12, ternaries 5 (6 pts) (nesting depth added 11). Most of this is not in the body itself: 5 of the 52 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 296, a function literal at line 333, a function literal at line 285, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
GeminiChatModel.toSpringChatResponse (cognitive 49) ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java:288— GeminiChatModel.toSpringChatResponse has cognitive complexity 49 (threshold 15). Drivers by points: if/else 14 (28 pts), loops 3 (7 pts), ternaries 3 (7 pts), boolean chains 4, error handling 1 (3 pts) (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
DeciderService.decide (cognitive 48) core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java:127— DeciderService.decide has cognitive complexity 48 (threshold 15). Drivers by points: if/else 18 (35 pts), boolean chains 10, loops 2, ternaries 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
WorkflowTask.next (cognitive 48) common/src/main/java/com/netflix/conductor/common/metadata/workflow/WorkflowTask.java:679— WorkflowTask.next has cognitive complexity 48 (threshold 15). Drivers by points: if/else 10 (35 pts), loops 4 (10 pts), boolean chains 2, match/switch 1 (nesting depth added 31). The drivers above price the dispatch low by construction — a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full — so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
BasicSearch.BasicSearch (cognitive 48) ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx:90— BasicSearch.BasicSearch has cognitive complexity 48 (threshold 15). Drivers by points: if/else 30 (32 pts), boolean chains 10, ternaries 4, error handling 1 (2 pts) (nesting depth added 3). Most of this is not in the body itself: 9 of the 48 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 223, setRecentTaskSearch, a function literal at line 359, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
RunWorkflow.RunWorkflow (cognitive 48) ui-next/src/pages/runWorkflow/RunWorkflow.tsx:185— RunWorkflow.RunWorkflow has cognitive complexity 48 (threshold 15). Drivers by points: boolean chains 23, if/else 12 (15 pts), ternaries 5 (6 pts), error handling 3 (4 pts) (nesting depth added 5). Most of this is not in the body itself: 5 of the 48 points are its own statements and the rest belongs to 10 function items inside it that branch (fillRerunWorkflowFields, a function literal at line 209, buildQueryForCode, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
AgentCompiler.compileWithTools (cognitive 45) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:462— AgentCompiler.compileWithTools has cognitive complexity 45 (threshold 15). Drivers by points: if/else 32 (33 pts), boolean chains 4, loops 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
MultiAgentCompiler.compilePlanExecute (cognitive 45) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2618— MultiAgentCompiler.compilePlanExecute has cognitive complexity 45 (threshold 15). Drivers by points: if/else 12 (22 pts), ternaries 4 (8 pts), loops 4 (7 pts), error handling 2 (5 pts), boolean chains 3 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ToolCompiler.buildEnrichTaskDynamic (cognitive 45) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1607— ToolCompiler.buildEnrichTaskDynamic has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (27 pts), ternaries 4 (14 pts), loops 2 (4 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ListApiToolsTask.buildPostmanInputSchema (cognitive 45) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:551— ListApiToolsTask.buildPostmanInputSchema has cognitive complexity 45 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 3 (11 pts), ternaries 1 (5 pts), boolean chains 4, error handling 1 (4 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
AddTaskSidebar.AddTaskSidebar (cognitive 45) ui-next/src/components/features/flow/components/RichAddTaskMenu/AddTaskSidebar.tsx:114— AddTaskSidebar.AddTaskSidebar has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 11 (21 pts), boolean chains 13, if/else 11 (nesting depth added 10). Of this number, 18 points are the body's own statements and 27 belong to 11 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
BasicSearch.BasicSearch (cognitive 44) ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx:81— BasicSearch.BasicSearch has cognitive complexity 44 (threshold 15). Drivers by points: if/else 26 (28 pts), boolean chains 10, ternaries 4, error handling 1 (2 pts) (nesting depth added 3). Most of this is not in the body itself: 10 of the 44 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 210, setRecentTaskSearch, a function literal at line 337, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
AgentExecutionDiagram.NodeCard (cognitive 42) ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:237— AgentExecutionDiagram.NodeCard has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 11 (21 pts), boolean chains 14, if/else 7 (nesting depth added 10). Of this number, 39 points are the body's own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
WorkflowExecutorOps.decide (cognitive 41) core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:1330— WorkflowExecutorOps.decide has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (31 pts), boolean chains 5, loops 2 (3 pts), error handling 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
useCronExpression.calculateLastDayOffsetMatches (cognitive 41) ui-next/src/pages/scheduler/hooks/useCronExpression.ts:23— useCronExpression.calculateLastDayOffsetMatches has cognitive complexity 41 (threshold 15). Drivers by points: if/else 8 (25 pts), ternaries 3 (9 pts), boolean chains 6, loops 1 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
AnthropicChatModel.convertMessage (cognitive 40) ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:167— AnthropicChatModel.convertMessage has cognitive complexity 40 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 3 (8 pts), ternaries 2 (8 pts), boolean chains 4, error handling 1 (4 pts), match/switch 1 (nesting depth added 22). The drivers above price the dispatch low by construction — a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full — so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
AgentTaskForm.AgentTaskForm (cognitive 40) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/AgentTaskForm.tsx:51— AgentTaskForm.AgentTaskForm has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 23, if/else 6 (8 pts), ternaries 6 (8 pts), error handling 1 (nesting depth added 4). Of this number, 24 points are the body's own statements and 16 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
GeminiChatModel.convertMessage (cognitive 39) ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java:209— GeminiChatModel.convertMessage has cognitive complexity 39 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (8 pts), ternaries 2 (8 pts), error handling 2 (7 pts), boolean chains 3, match/switch 1 (nesting depth added 22). The drivers above price the dispatch low by construction — a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full — so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
EditorPanel.EditorPanel (cognitive 39) ui-next/src/pages/definition/EditorPanel/EditorPanel.tsx:34— EditorPanel.EditorPanel has cognitive complexity 39 (threshold 15). Drivers by points: if/else 20 (22 pts), boolean chains 10, ternaries 7 (nesting depth added 2). Most of this is not in the body itself: 3 of the 39 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 111, a function literal at line 264, a function literal at line 313, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
AsyncSystemTaskExecutor.execute (cognitive 38) core/src/main/java/com/netflix/conductor/core/execution/AsyncSystemTaskExecutor.java:79— AsyncSystemTaskExecutor.execute has cognitive complexity 38 (threshold 15). Drivers by points: if/else 20 (30 pts), boolean chains 5, error handling 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AnthropicChatModel.buildRequest (cognitive 38) ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:76— AnthropicChatModel.buildRequest has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (23 pts), ternaries 4 (8 pts), boolean chains 5, loops 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentCompiler.compileHybrid (cognitive 38) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:833— AgentCompiler.compileHybrid has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (17 pts), ternaries 4 (9 pts), loops 6 (8 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
AgentExecutionDiagram.AgentExecutionDiagram (cognitive 38) ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:1648— AgentExecutionDiagram.AgentExecutionDiagram has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 8, ternaries 7 (8 pts), loops 1 (2 pts) (nesting depth added 4). Most of this is not in the body itself: 3 of the 38 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 1857, 1704, 1724, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
useConductorProjectBuilder.useConductorProjectBuilder.getUrl (cognitive 38) ui-next/src/utils/hooks/useConductorProjectBuilder.ts:73— useConductorProjectBuilder.useConductorProjectBuilder.getUrl has cognitive complexity 38 (threshold 15). Drivers by points: if/else 21 (38 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ConstraintParamUtil.extractParamPathComponentsFromString (cognitive 37) common/src/main/java/com/netflix/conductor/common/utils/ConstraintParamUtil.java:77— ConstraintParamUtil.extractParamPathComponentsFromString has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (31 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
AnthropicChatModel.toSpringChatResponse (cognitive 37) ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:241— AnthropicChatModel.toSpringChatResponse has cognitive complexity 37 (threshold 15). Drivers by points: if/else 8 (22 pts), boolean chains 4, error handling 1 (4 pts), match/switch 1 (3 pts), loops 1 (2 pts), ternaries 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
MultiAgentCompiler.emitPlannerContextBuilder (cognitive 37) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3267— MultiAgentCompiler.emitPlannerContextBuilder has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RightPanel.RightPanel (cognitive 37) ui-next/src/pages/execution/RightPanel/RightPanel.tsx:74— RightPanel.RightPanel has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 20, ternaries 8 (14 pts), if/else 3 (nesting depth added 6). Of this number, 27 points are the body's own statements and 10 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
SchedulerService.handleSchedules (cognitive 36) scheduler/core/src/main/java/io/orkes/conductor/scheduler/service/SchedulerService.java:554— SchedulerService.handleSchedules has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (22 pts), ternaries 3 (9 pts), error handling 2 (4 pts), loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
WorkflowExecutorOps.updateAndPushParents (cognitive 36) core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:313— WorkflowExecutorOps.updateAndPushParents has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 4, loops 2 (3 pts), error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ConductorStringOrJsonInput.ConductorStringOrJsonInput (cognitive 36) ui-next/src/components/FlatMapForm/ConductorStringOrJsonInput.tsx:87— ConductorStringOrJsonInput.ConductorStringOrJsonInput has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 13, ternaries 3 (4 pts), error handling 1 (2 pts) (nesting depth added 4). Most of this is not in the body itself: 8 of the 36 points are its own statements and the rest belongs to 4 function items inside it that branch (handleStringChange, a function literal at line 111, a function literal at line 98, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
AgentDetailPanel.AgentDetailPanel (cognitive 36) ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx:1699— AgentDetailPanel.AgentDetailPanel has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 15 (18 pts), boolean chains 15, if/else 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
Execution.Execution (cognitive 36) ui-next/src/pages/execution/Execution.tsx:276— Execution.Execution has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 23, ternaries 5 (8 pts), if/else 5 (nesting depth added 3). Of this number, 22 points are the body's own statements and 14 belong to 12 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
StreamAggregator.accept (cognitive 35) ai/src/main/java/org/conductoross/conductor/ai/a2a/A2AService.java:588— StreamAggregator.accept has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 4, loops 1 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
PdfDocumentRenderer.renderTextRunsWithOffset (cognitive 35) ai/src/main/java/org/conductoross/conductor/ai/pdf/PdfDocumentRenderer.java:614— PdfDocumentRenderer.renderTextRunsWithOffset has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (28 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
TaskSummary.TaskSummary (cognitive 35) ui-next/src/pages/execution/TaskSummary.tsx:19— TaskSummary.TaskSummary has cognitive complexity 35 (threshold 15). Drivers by points: if/else 22 (25 pts), boolean chains 8, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
WorkflowDefinition.Workflow (cognitive 35) ui-next/src/pages/definition/WorkflowDefinition.tsx:25— WorkflowDefinition.Workflow has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 8 (19 pts), boolean chains 11, if/else 4 (5 pts) (nesting depth added 12). Of this number, 30 points are the body's own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentCompiler.compile (cognitive 34) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:116— AgentCompiler.compile has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 10, ternaries 2 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
PlanAndCompileTask.emitValidationTasks (cognitive 34) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1247— PlanAndCompileTask.emitValidationTasks has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (24 pts), loops 5 (9 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
Schedules.ScheduleDefinitions (cognitive 34) ui-next/src/pages/definitions/Scheduler/Schedules.tsx:302— Schedules.ScheduleDefinitions has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 14, if/else 12, ternaries 2 (6 pts), match/switch 1 (2 pts) (nesting depth added 5). Most of this is not in the body itself: 9 of the 34 points are its own statements and the rest belongs to 11 function items inside it that branch (handleFetchError, a function literal at line 338, deleteSchedule, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
WorkflowSweeper.sweep (cognitive 32) core/src/main/java/org/conductoross/conductor/core/execution/WorkflowSweeper.java:161— WorkflowSweeper.sweep has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 5, error handling 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
MultiAgentCompiler.compileRouter (cognitive 32) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:827— MultiAgentCompiler.compileRouter has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 8 (12 pts), boolean chains 4, loops 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
ToolCompiler.buildDiscoveryTasks (cognitive 32) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1112— ToolCompiler.buildDiscoveryTasks has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 4 (10 pts), loops 6, boolean chains 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentService.registerAgentToolWorkflows (cognitive 32) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:1144— AgentService.registerAgentToolWorkflows has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
SkillRegistryService.parseSkillPackage (cognitive 32) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/SkillRegistryService.java:426— SkillRegistryService.parseSkillPackage has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 3 (4 pts), error handling 2, boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
Sidebar.Sidebar (cognitive 32) ui-next/src/components/providers/sidebar/Sidebar.tsx:33— Sidebar.Sidebar has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 11 (17 pts), if/else 9, boolean chains 6 (nesting depth added 6). Most of this is not in the body itself: 15 of the 32 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 111, a function literal at line 103, handleToggle, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
DataTable.DataTable (cognitive 32) REDACTED:21— DataTable.DataTable has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 7, error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 8). Most of this is not in the body itself: 3 of the 32 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 71, a function literal at line 132, a function literal at line 121, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
ExclusiveJoin.execute (cognitive 31) core/src/main/java/com/netflix/conductor/core/execution/tasks/ExclusiveJoin.java:42— ExclusiveJoin.execute has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentConfig.collectDeclaredWorkerTaskNames (cognitive 31) common/src/main/java/org/conductoross/conductor/common/metadata/agent/AgentConfig.java:262— AgentConfig.collectDeclaredWorkerTaskNames has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 5 (10 pts), boolean chains 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
sidebarMenuUtils.mergePluginSidebarItems (cognitive 31) ui-next/src/components/providers/sidebar/sidebarMenuUtils.ts:78— sidebarMenuUtils.mergePluginSidebarItems has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 5, loops 4 (5 pts) (nesting depth added 12). Most of this is not in the body itself: 15 of the 31 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 100, 82). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
workflow.replaceIntegrationName (cognitive 31) ui-next/src/utils/workflow.ts:419— workflow.replaceIntegrationName has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 4, ternaries 1 (4 pts), loops 1 (2 pts) (nesting depth added 15). Of this number, 27 points are the body's own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
WorkflowSignalResponder.findBlockingTasks (cognitive 30) rest/src/main/java/com/netflix/conductor/rest/controllers/WorkflowSignalResponder.java:144— WorkflowSignalResponder.findBlockingTasks has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (21 pts), boolean chains 3, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
LLMHelper.chatComplete (cognitive 30) ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:334— LLMHelper.chatComplete has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (20 pts), error handling 1 (4 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentCompiler.simplifyNode (cognitive 30) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2539— AgentCompiler.simplifyNode has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (22 pts), loops 2 (5 pts), ternaries 2, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
core.tasksAsNodes (cognitive 30) ui-next/src/components/features/flow/nodes/mapper/core.ts:70— core.tasksAsNodes has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 2, loops 1 (nesting depth added 14). Of this number, 20 points are the body's own statements and 10 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
AgentExecutionTab.AgentExecutionTab (cognitive 30) ui-next/src/pages/execution/AgentExecution/AgentExecutionTab.tsx:47— AgentExecutionTab.AgentExecutionTab has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5, error handling 3 (4 pts), ternaries 2 (4 pts), loops 2 (3 pts) (nesting depth added 7). Most of this is not in the body itself: 5 of the 30 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 141, 53, 165, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
SchedulerSearchQuery.parse (cognitive 29) scheduler/core/src/main/java/io/orkes/conductor/dao/archive/SchedulerSearchQuery.java:55— SchedulerSearchQuery.parse has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 3 (7 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AbstractProtoMapper.toProto (cognitive 29) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1734— AbstractProtoMapper.toProto has cognitive complexity 29 (threshold 15). Drivers by points: if/else 23, loops 6. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
AgentConfig.collectWorkerToolNames (cognitive 29) common/src/main/java/org/conductoross/conductor/common/metadata/agent/AgentConfig.java:309— AgentConfig.collectWorkerToolNames has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 3 (9 pts), boolean chains 2 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
GeminiChatModel.call (cognitive 29) ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java:56— GeminiChatModel.call has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 6 (11 pts), boolean chains 3, loops 2, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
OpenAINormalizer.normalize (cognitive 29) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:45— OpenAINormalizer.normalize has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (23 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentDefinitionView.buildDefDiagram (cognitive 29) ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx:494— AgentDefinitionView.buildDefDiagram has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 6 (11 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 11). Of this number, 22 points are the body's own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
hook.useWorkflowDefinition (cognitive 29) ui-next/src/pages/definition/state/hook.ts:36— hook.useWorkflowDefinition has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (15 pts), ternaries 4 (7 pts), error handling 3 (4 pts), boolean chains 3 (nesting depth added 7). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 6 function items inside it that branch (fetchWorkflowAndRelatedData, a function literal at line 206, a function literal at line 86, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
AMQPSettings.fromURI (cognitive 28) amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/util/AMQPSettings.java:166— AMQPSettings.fromURI has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (28 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
OpenAIResponsesChatModel.convertMessage (cognitive 28) ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIResponsesChatModel.java:141— OpenAIResponsesChatModel.convertMessage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (8 pts), ternaries 1 (4 pts), boolean chains 3, match/switch 1 (nesting depth added 14). The drivers above price the dispatch low by construction — a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full — so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
PlanAndCompileTask.buildToolTask (cognitive 28) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1714— PlanAndCompileTask.buildToolTask has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (8 pts), ternaries 4 (6 pts), boolean chains 3, match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ReactJson.ReactJson (cognitive 28) ui-next/src/components/ReactJson.tsx:57— ReactJson.ReactJson has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 9 (11 pts), if/else 9, boolean chains 8 (nesting depth added 2). Of this number, 19 points are the body's own statements and 9 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
AgentSnapshotDetails.AgentDefinitionDetails (cognitive 28) ui-next/src/components/features/agents/AgentSnapshotDetails.tsx:154— AgentSnapshotDetails.AgentDefinitionDetails has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 7 (18 pts), boolean chains 10 (nesting depth added 11). Most of this is not in the body itself: 7 of the 28 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 171, 280). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
SchemaEditPage.SchemaEditPage (cognitive 28) ui-next/src/pages/schema/edit/SchemaEditPage.tsx:42— SchemaEditPage.SchemaEditPage has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 15, ternaries 6 (10 pts), if/else 2, error handling 1 (nesting depth added 4). Of this number, 23 points are the body's own statements and 5 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
DoWhileForm.DoWhileForm (cognitive 28) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/DoWhileTaskForm/DoWhileForm.tsx:28— DoWhileForm.DoWhileForm has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 9, ternaries 4 (8 pts) (nesting depth added 8). Most of this is not in the body itself: 7 of the 28 points are its own statements and the rest belongs to 5 function items inside it that branch (handleChangeSampleScripts, handleShowConfirmOverrideDialog, a function literal at line 40, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
json.downgradeSchemaToDraft7 (cognitive 28) REDACTED:39— json.downgradeSchemaToDraft7 has cognitive complexity 28 (threshold 15). Drivers by points: if/else 47 (115 pts), error handling 28 (65 pts), boolean chains 28, loops 7 (15 pts), ternaries 4 (9 pts), match/switch 1 (2 pts) (nesting depth added 119). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: 2 other methods here (json.downgradeSchemaToDraft7::hasNewerKeywordsRecursive, json.downgradeSchemaToDraft7::processSchema) have the same decision points, in the same order, at the same nesting depths — so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
ForkJoinDynamicTaskMapper.getMappedTasks (cognitive 27) core/src/main/java/com/netflix/conductor/core/execution/mapper/ForkJoinDynamicTaskMapper.java:125— ForkJoinDynamicTaskMapper.getMappedTasks has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 3, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
DoWhile.execute (cognitive 27) core/src/main/java/com/netflix/conductor/core/execution/tasks/DoWhile.java:56— DoWhile.execute has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 3, loops 2, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
DeciderService.retry (cognitive 27) core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java:562— DeciderService.retry has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 4 (8 pts), boolean chains 5, match/switch 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentCompiler.deduplicateRefs (cognitive 27) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2344— AgentCompiler.deduplicateRefs has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4 (11 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
hook.useSchemaEdit (cognitive 27) ui-next/src/pages/schema/edit/state/hook.ts:37— hook.useSchemaEdit has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 12, if/else 11, ternaries 3, error handling 1. Most of this is not in the body itself: 3 of the 27 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 275, 136, 155, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
WorkflowDefinition.Workflow (cognitive 27) ui/src/pages/definition/WorkflowDefinition.jsx:104— WorkflowDefinition.Workflow has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 12, if/else 9, ternaries 6. Most of this is not in the body itself: 11 of the 27 points are its own statements and the rest belongs to 10 function items inside it that branch (changeVersionOrReset, handleSaveSuccess, a function literal at line 126, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
RecordedRequestNormalizer.normalizeToolSummary (cognitive 26) ai/src/main/java/org/conductoross/conductor/ai/recording/RecordedRequestNormalizer.java:264— RecordedRequestNormalizer.normalizeToolSummary has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 8, loops 3 (4 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentCompiler.collectToolCredentials (cognitive 26) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:421— AgentCompiler.collectToolCredentials has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (6 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
TagFilter.TagFilter (cognitive 26) ui-next/src/components/TagFilter.tsx:33— TagFilter.TagFilter has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 14, if/else 9 (10 pts), ternaries 2 (nesting depth added 1). Most of this is not in the body itself: 6 of the 26 points are its own statements and the rest belongs to 9 function items inside it that branch (renderTagList, handleSelectAllInGroup, a function literal at line 58, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
useSchemaFormHandler.useSchemaFormHandler (cognitive 26) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/hooks/useSchemaFormHandler.ts:45— useSchemaFormHandler.useSchemaFormHandler has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 14). None of this is in the body itself: all 26 points belong to one function literal inside it that branches (line 47). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
TaskSummary.TaskSummary (cognitive 26) ui/src/pages/execution/TaskSummary.jsx:6— TaskSummary.TaskSummary has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 9 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
WorkflowGraph.drawGraph (cognitive 26) ui/src/components/diagram/WorkflowGraph.jsx:225— WorkflowGraph.drawGraph has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 7, boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
useWorkflowErrorGroups.hierarchicalClustering (cognitive 26) ui/src/pages/errors/hooks/useWorkflowErrorGroups.js:65— useWorkflowErrorGroups.hierarchicalClustering has cognitive complexity 26 (threshold 15). Drivers by points: loops 5 (15 pts), if/else 4 (8 pts), boolean chains 3 (nesting depth added 14). Of this number, 25 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline.
AbstractProtoMapper.toProto (cognitive 25) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:790— AbstractProtoMapper.toProto has cognitive complexity 25 (threshold 15). Drivers by points: if/else 23, loops 2. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
SubWorkflow.start (cognitive 25) core/src/main/java/com/netflix/conductor/core/execution/tasks/SubWorkflow.java:56— SubWorkflow.start has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (13 pts), ternaries 3 (6 pts), error handling 3 (4 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
WorkflowExecutorOps.updateTask (cognitive 25) core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:940— WorkflowExecutorOps.updateTask has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13, error handling 5 (8 pts), boolean chains 3, match/switch 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
ParametersUtils.substituteSecretsValue (cognitive 25) core/src/main/java/com/netflix/conductor/core/utils/ParametersUtils.java:443— ParametersUtils.substituteSecretsValue has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentService.collectDeclaredWorkerNames (cognitive 25) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:944— AgentService.collectDeclaredWorkerNames has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (8 pts), boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
agentExecutionUtils.transformChainWorkflowToAgentRun.turns (cognitive 25) ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:765— agentExecutionUtils.transformChainWorkflowToAgentRun.turns has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 11 (20 pts), boolean chains 4, if/else 1 (nesting depth added 9). Of this number, 24 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ErrorInspector.ErrorInspector (cognitive 25) ui-next/src/pages/definition/errorInspector/ErrorInspector.tsx:16— ErrorInspector.ErrorInspector has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 13 (21 pts), if/else 4 (nesting depth added 8). Of this number, 18 points are the body's own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
HeadActionButtons.HeadActionButtons (cognitive 25) ui-next/src/pages/definition/EditorPanel/HeadActionButtons.tsx:35— HeadActionButtons.HeadActionButtons has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 11, match/switch 1 (nesting depth added 6). Most of this is not in the body itself: 5 of the 25 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 160, handleDownloadFile). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
ListFilesTaskForm.validateWebUrl (cognitive 25) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ListFilesTaskForm.tsx:30— ListFilesTaskForm.validateWebUrl has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 6, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
useArrowNavigation.useArrowNavigation.moveDown (cognitive 25) ui-next/src/useArrowNavigation.tsx:57— useArrowNavigation.useArrowNavigation.moveDown has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 3 (13 pts), if/else 5 (11 pts), boolean chains 1 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
PanAndZoomWrapper.PanAndZoomWrapper (cognitive 25) ui/src/components/diagram/PanAndZoomWrapper.jsx:58— PanAndZoomWrapper.PanAndZoomWrapper has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 8, ternaries 4 (nesting depth added 1). None of this is in the body itself: all 25 points belong to 10 function items inside it that branch (a function literal at line 94, a function literal at line 258, handleZoom, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
ScriptEvaluator.eval (cognitive 24) core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java:311— ScriptEvaluator.eval has cognitive complexity 24 (threshold 15). Drivers by points: error handling 6 (12 pts), if/else 6 (12 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
Join.execute (cognitive 24) core/src/main/java/com/netflix/conductor/core/execution/tasks/Join.java:60— Join.execute has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 4, ternaries 1 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ExecutionService.poll (cognitive 24) core/src/main/java/com/netflix/conductor/service/ExecutionService.java:111— ExecutionService.poll has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 4 (6 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
OpenAICompatChatModel.convertMessage (cognitive 24) ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java:109— OpenAICompatChatModel.convertMessage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (8 pts), ternaries 1 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction — a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full — so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
AgentChatCompleteTaskMapper.estimateTokenCount (cognitive 24) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:742— AgentChatCompleteTaskMapper.estimateTokenCount has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 2 (4 pts), error handling 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
helpers.dynamicSort (cognitive 24) ui-next/src/components/ui/DataTable/helpers.ts:105— helpers.dynamicSort has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 7 (8 pts), boolean chains 7 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentRunView.AgentRunView (cognitive 24) ui-next/src/pages/execution/AgentExecution/AgentRunView.tsx:307— AgentRunView.AgentRunView has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 10 (11 pts), boolean chains 9, if/else 4 (nesting depth added 1). Of this number, 17 points are the body's own statements and 7 belong to 5 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
EventHandler.EventDefinitionList (cognitive 24) ui-next/src/pages/definitions/EventHandler.tsx:64— EventHandler.EventDefinitionList has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 12, ternaries 9 (11 pts), if/else 1 (nesting depth added 2). Most of this is not in the body itself: 8 of the 24 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 109, 193, 100, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
EventMonitorDetail.EventMonitorDetail (cognitive 24) ui-next/src/pages/eventMonitor/EventMonitorDetail/EventMonitorDetail.tsx:81— EventMonitorDetail.EventMonitorDetail has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 12, ternaries 5 (7 pts), if/else 5 (nesting depth added 2). Most of this is not in the body itself: 5 of the 24 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 177, 130, 150, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
MultiAgentCompiler.validateSwarmHandoffs (cognitive 23) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1472— MultiAgentCompiler.validateSwarmHandoffs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ToolCompiler.compileToolSpecs (cognitive 23) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:183— ToolCompiler.compileToolSpecs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
SchemaSubsetValidator.validateInternal (cognitive 23) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/SchemaSubsetValidator.java:126— SchemaSubsetValidator.validateInternal has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (5 pts), ternaries 2 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
helpers.generateObjectFromSchema (cognitive 23) ui-next/src/components/features/flow/components/RichAddTaskMenu/helpers.ts:45— helpers.generateObjectFromSchema has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 2 (4 pts), boolean chains 3, match/switch 1 (nesting depth added 7). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 57). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
agentExecutionUtils.transformChainWorkflowToAgentRun (cognitive 23) ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:722— agentExecutionUtils.transformChainWorkflowToAgentRun has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, ternaries 4 (6 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
WorkflowDAG.getRefTaskChilds (cognitive 23) ui/src/components/diagram/WorkflowDAG.js:277— WorkflowDAG.getRefTaskChilds has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (8 pts), boolean chains 2, match/switch 1 (nesting depth added 13). The drivers above price the dispatch low by construction — a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full — so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
RedisSchedulerArchivalDAO.searchScheduledExecutions (cognitive 22) scheduler/redis-persistence/src/main/java/org/conductoross/conductor/scheduler/redis/dao/RedisSchedulerArchivalDAO.java:109— RedisSchedulerArchivalDAO.searchScheduledExecutions has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 4 (5 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
WorkflowExecutorOps.scheduleTask (cognitive 22) core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2021— WorkflowExecutorOps.scheduleTask has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 3 (5 pts), boolean chains 3, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
GeminiVideoModel.checkStatus (cognitive 22) ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVideoModel.java:113— GeminiVideoModel.checkStatus has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (7 pts), loops 1 (3 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
OpenAICompatChatModel.toSpringChatResponse (cognitive 22) ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java:168— OpenAICompatChatModel.toSpringChatResponse has cognitive complexity 22 (threshold 15). Drivers by points: loops 2 (6 pts), ternaries 4 (6 pts), boolean chains 5, if/else 3 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
A2AWorkers.buildMessage (cognitive 22) ai/src/main/java/org/conductoross/conductor/ai/tasks/worker/A2AWorkers.java:527— A2AWorkers.buildMessage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5, loops 1 (3 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
AgentService.getStatus (cognitive 22) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:1281— AgentService.getStatus has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (17 pts), boolean chains 2, ternaries 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
PlanAndCompileTask.checkParallelRefShape (cognitive 22) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1586— PlanAndCompileTask.checkParallelRefShape has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
workflow.walk (cognitive 22) ui-next/src/utils/workflow.ts:124— workflow.walk has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (8 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ServiceRegistrySelector.ServiceRegistryPopulator (cognitive 22) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ServiceRegistrySelector.tsx:72— ServiceRegistrySelector.ServiceRegistryPopulator has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 6 (7 pts), ternaries 4 (nesting depth added 1). Of this number, 11 points are the body's own statements and 11 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
HTTPTaskForm.HTTPTaskForm (cognitive 22) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/HTTPTaskForm/HTTPTaskForm.tsx:37— HTTPTaskForm.HTTPTaskForm has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, ternaries 7, if/else 4 (5 pts) (nesting depth added 1). Of this number, 13 points are the body's own statements and 9 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
TaskDefinition.TaskDefinition (cognitive 22) ui-next/src/pages/definition/task/TaskDefinition.tsx:70— TaskDefinition.TaskDefinition has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 9 (14 pts), boolean chains 5, if/else 3 (nesting depth added 5). Of this number, 14 points are the body's own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
useArrowNavigation.useArrowNavigation.moveUp (cognitive 22) ui-next/src/useArrowNavigation.tsx:92— useArrowNavigation.useArrowNavigation.moveUp has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (10 pts), boolean chains 1 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
ElasticSearchRestDAOV8.resolveWriteIndexForAlias (cognitive 21) es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:1145— ElasticSearchRestDAOV8.resolveWriteIndexForAlias has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, error handling 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ParametersUtils.replaceVariables (cognitive 21) core/src/main/java/com/netflix/conductor/core/utils/ParametersUtils.java:253— ParametersUtils.replaceVariables has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 1 (3 pts), boolean chains 2, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
PdfDocumentRenderer.renderTable (cognitive 21) ai/src/main/java/org/conductoross/conductor/ai/pdf/PdfDocumentRenderer.java:392— PdfDocumentRenderer.renderTable has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 5 (7 pts), loops 4 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentChatCompleteTaskMapper.condenseIfNeeded (cognitive 21) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:612— AgentChatCompleteTaskMapper.condenseIfNeeded has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, ternaries 2 (4 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentCompiler.updateRefExpressions (cognitive 21) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2393— AgentCompiler.updateRefExpressions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (7 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
LangGraphNormalizer.normalizeFullExtraction (cognitive 21) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java:73— LangGraphNormalizer.normalizeFullExtraction has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
SkillNormalizer.normalize (cognitive 21) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:56— SkillNormalizer.normalize has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 4, ternaries 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentDagService.injectTask (cognitive 21) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentDagService.java:45— AgentDagService.injectTask has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 3 (6 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentEventListener.recordWorkflowAIMetrics (cognitive 21) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentEventListener.java:297— AgentEventListener.recordWorkflowAIMetrics has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 2 (4 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
IntegrationDrillDownContent.IntegrationDrillDownContent (cognitive 21) ui-next/src/components/features/flow/components/RichAddTaskMenu/IntegrationDrillDownContent.tsx:26— IntegrationDrillDownContent.IntegrationDrillDownContent has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 5 (6 pts), boolean chains 3 (nesting depth added 8). Of this number, 13 points are the body's own statements and 8 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
join.joinTasksToNodesEdges (cognitive 21) ui-next/src/components/features/flow/nodes/mapper/join.ts:150— join.joinTasksToNodesEdges has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 1 (5 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
agentExecutionUtils.transformWorkflowExecutionToAgentRun.rootSubAgents (cognitive 21) ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:1629— agentExecutionUtils.transformWorkflowExecutionToAgentRun.rootSubAgents has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 4, ternaries 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentDetailPanel.GroupDetailPanel (cognitive 21) ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx:728— AgentDetailPanel.GroupDetailPanel has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (11 pts), boolean chains 10 (nesting depth added 3). Of this number, 16 points are the body's own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
SchedulerExecutions.SchedulerExecutions (cognitive 21) ui-next/src/pages/executions/SchedulerExecutions.tsx:32— SchedulerExecutions.SchedulerExecutions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 3, ternaries 3, error handling 1 (2 pts) (nesting depth added 2). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 3 function items inside it that branch (buildQuery, doSearch, readJsonResponse). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
PromptIfChanges.PromptIfChanges (cognitive 21) ui-next/src/pages/definition/PromptIfChanges.tsx:17— PromptIfChanges.PromptIfChanges has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 7, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 4 function items inside it that branch (checkHasErrors, a function literal at line 56, a function literal at line 85, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
DoWhile.isIterationComplete (cognitive 20) core/src/main/java/com/netflix/conductor/core/execution/tasks/DoWhile.java:285— DoWhile.isIterationComplete has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AMQPConnection.createConnection (cognitive 20) amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:83— AMQPConnection.createConnection has cognitive complexity 20 (threshold 15). Drivers by points: error handling 4 (10 pts), if/else 3 (8 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AMQPConnection.getOrCreateChannel) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
AMQPConnection.getOrCreateChannel (cognitive 20) amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:209— AMQPConnection.getOrCreateChannel has cognitive complexity 20 (threshold 15). Drivers by points: error handling 4 (10 pts), if/else 3 (8 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AMQPConnection.createConnection) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
LLMHelper.parseNestedJsonStrings (cognitive 20) ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:772— LLMHelper.parseNestedJsonStrings has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 1 (4 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (LLMHelper.parseNestedJsonStringsInList) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
LLMHelper.parseNestedJsonStringsInList (cognitive 20) ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:821— LLMHelper.parseNestedJsonStringsInList has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 1 (4 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (LLMHelper.parseNestedJsonStrings) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
AgentCompiler.compileSimple (cognitive 20) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:269— AgentCompiler.compileSimple has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ListApiToolsTask.findFirstPostmanUrl (cognitive 20) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:467— ListApiToolsTask.findFirstPostmanUrl has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, error handling 1 (4 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ListApiToolsTask.parsePostman (cognitive 20) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:492— ListApiToolsTask.parsePostman has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 3 (7 pts), error handling 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ConductorNameVersionField.ConductorNameVersionField (cognitive 20) ui-next/src/components/inputs/ConductorNameVersionField.tsx:37— ConductorNameVersionField.ConductorNameVersionField has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, ternaries 7 (8 pts), if/else 3 (nesting depth added 1). Of this number, 12 points are the body's own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
TurnBar.TurnBar (cognitive 20) ui-next/src/pages/execution/AgentExecution/TurnBar.tsx:27— TurnBar.TurnBar has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 14 (15 pts), boolean chains 4, if/else 1 (nesting depth added 1). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 55). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
InlineTaskIterations.InlineTaskIterations (cognitive 20) ui-next/src/pages/execution/RightPanel/InlineTaskIterations.tsx:40— InlineTaskIterations.InlineTaskIterations has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, if/else 4, ternaries 4. Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 93, a function literal at line 157, a function literal at line 63, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
date.getDateTime (cognitive 20) ui-next/src/utils/date.ts:82— date.getDateTime has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (19 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
JoinCodeBlock.JoinCodeBlock (cognitive 20) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/JOINTaskForm/JoinCodeBlock.tsx:88— JoinCodeBlock.JoinCodeBlock has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5, ternaries 2 (nesting depth added 6). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 112, 103, 203, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
ScriptEvaluator.getObject (cognitive 19) core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java:397— ScriptEvaluator.getObject has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 3 (6 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
AIModelTaskMapper.threadPreviousResponseId (cognitive 19) ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/AIModelTaskMapper.java:138— AIModelTaskMapper.threadPreviousResponseId has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentChatCompleteTaskMapper.summarizeToolExchange (cognitive 19) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:943— AgentChatCompleteTaskMapper.summarizeToolExchange has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 2 (7 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentCompiler.resolveNode (cognitive 19) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2626— AgentCompiler.resolveNode has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
MultiAgentCompiler.buildTransferToolsFor (cognitive 19) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1384— MultiAgentCompiler.buildTransferToolsFor has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
MultiAgentCompiler.compileSwarm (cognitive 19) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1158— MultiAgentCompiler.compileSwarm has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 5, loops 2 (3 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
SafeConditionInterpreter.looseEquals (cognitive 19) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/SafeConditionInterpreter.java:220— SafeConditionInterpreter.looseEquals has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8, boolean chains 7, error handling 2 (4 pts) (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
Parser.parseField (cognitive 19) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/SafeConditionInterpreter.java:371— Parser.parseField has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
playwright-coverage-report.shouldExcludeFromCoverageDenom (cognitive 19) ui-next/scripts/playwright-coverage-report.mjs:106— playwright-coverage-report.shouldExcludeFromCoverageDenom has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
AgentSnapshotDetails.A2AAgentCardDetails (cognitive 19) ui-next/src/components/features/agents/AgentSnapshotDetails.tsx:337— AgentSnapshotDetails.A2AAgentCardDetails has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 14, ternaries 5. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
query.useFetch (cognitive 19) ui-next/src/utils/query.ts:136— query.useFetch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, ternaries 3, error handling 1 (2 pts) (nesting depth added 5). Of this number, 11 points are the body's own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
MCPTaskForm.MCPTaskForm (cognitive 19) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/MCPTaskForm.tsx:33— MCPTaskForm.MCPTaskForm has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, if/else 4 (5 pts), error handling 1, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 214, 355, 315, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
helpers.updateInputParametersCommon (cognitive 19) ui-next/src/pages/definition/EditorPanel/TaskFormTab/helpers.ts:140— helpers.updateInputParametersCommon has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (5 pts), ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 4). Of this number, 18 points are the body's own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
taskModifier.applyAddTask (cognitive 19) ui-next/src/pages/definition/state/taskModifier/taskModifier.ts:131— taskModifier.applyAddTask has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (10 pts), boolean chains 7, if/else 2 (nesting depth added 6). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 143, 177). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
taskModifier.applyOperationArrayOnTasks (cognitive 19) ui-next/src/pages/definition/state/taskModifier/taskModifier.ts:322— taskModifier.applyOperationArrayOnTasks has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, ternaries 2 (4 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
Task.TaskDefinitions (cognitive 19) ui-next/src/pages/definitions/Task.tsx:56— Task.TaskDefinitions has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, ternaries 6 (7 pts) (nesting depth added 1). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 88, 224, 325, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
Workflow.WorkflowDefinitions (cognitive 19) ui-next/src/pages/definitions/Workflow.tsx:62— Workflow.WorkflowDefinitions has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 5, ternaries 5. Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 269, a function literal at line 371, a function literal at line 99, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
JOINTaskForm.JOINTaskForm (cognitive 19) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/JOINTaskForm/JOINTaskForm.tsx:36— JOINTaskForm.JOINTaskForm has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 6. Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 8 function items inside it that branch (forkLastTaskReferencesWrapper, a function literal at line 97, a function literal at line 132, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
ParseDocumentTaskForm.ParseDocumentTaskForm (cognitive 19) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ParseDocumentTaskForm.tsx:220— ParseDocumentTaskForm.ParseDocumentTaskForm has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 14, if/else 4, ternaries 1. Of this number, 12 points are the body's own statements and 7 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
SaveProtectionPrompt.SaveProtectionPrompt (cognitive 19) ui-next/src/pages/definition/task/SaveProtectionPrompt.tsx:37— SaveProtectionPrompt.SaveProtectionPrompt has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 74, 108, 163, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
RedisSchedulerArchivalDAO.cleanupOldRecords (cognitive 18) scheduler/redis-persistence/src/main/java/org/conductoross/conductor/scheduler/redis/dao/RedisSchedulerArchivalDAO.java:234— RedisSchedulerArchivalDAO.cleanupOldRecords has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RedisExecutionDAO.updateTask (cognitive 18) redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:198— RedisExecutionDAO.updateTask has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AbstractProtoMapper.toProto (cognitive 18) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1642— AbstractProtoMapper.toProto has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
WorkflowExecutorOps.cancelNonTerminalTasks (cognitive 18) core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:1538— WorkflowExecutorOps.cancelNonTerminalTasks has cognitive complexity 18 (threshold 15). Drivers by points: error handling 3 (9 pts), if/else 4 (8 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
WorkflowExecutorOps.retry (cognitive 18) core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:455— WorkflowExecutorOps.retry has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentChatCompleteTaskMapper.compactToolHistory (cognitive 18) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:279— AgentChatCompleteTaskMapper.compactToolHistory has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentspanAIModelProvider.getModel (cognitive 18) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentspanAIModelProvider.java:124— AgentspanAIModelProvider.getModel has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 2 (4 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentCompiler.pythonDictRepr (cognitive 18) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2662— AgentCompiler.pythonDictRepr has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentService.inspectPlan (cognitive 18) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:129— AgentService.inspectPlan has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 4, ternaries 3 (4 pts), loops 2 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentService.pruneExecutions (cognitive 18) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:621— AgentService.pruneExecutions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 3 (6 pts), error handling 1 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AgentService.searchAgentExecutions (cognitive 18) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:438— AgentService.searchAgentExecutions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, ternaries 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
PlannerContextFetchTask.start (cognitive 18) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlannerContextFetchTask.java:130— PlannerContextFetchTask.start has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, ternaries 3, error handling 1, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
SideTaskCards.SideTaskCards (cognitive 18) ui-next/src/components/features/flow/components/shapes/SideTaskCards.tsx:54— SideTaskCards.SideTaskCards has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (13 pts), boolean chains 3, if/else 2 (nesting depth added 6). Of this number, 9 points are the body's own statements and 9 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
TaskCard.TaskCard (cognitive 18) ui-next/src/components/features/flow/components/shapes/TaskCard/TaskCard.tsx:64— TaskCard.TaskCard has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 13 (14 pts), boolean chains 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
ConductorInput.ConductorInput (cognitive 18) ui-next/src/components/ui/inputs/ConductorInput.tsx:225— ConductorInput.ConductorInput has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, boolean chains 5, ternaries 2. Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 7 function items inside it that branch (clearValue, getCustomEndAdornment, handleCopyValue, …). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
ActionModule.ActionModule (cognitive 18) ui-next/src/pages/execution/ActionModule.jsx:20— ActionModule.ActionModule has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
CollapsibleIterationList.CollapsibleIterationList (cognitive 18) ui-next/src/pages/execution/RightPanel/CollapsibleIterationList.tsx:39— CollapsibleIterationList.CollapsibleIterationList has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (12 pts), if/else 5, boolean chains 1 (nesting depth added 4). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 230, 93, 56, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
executionMapper.taskStatusUpdater (cognitive 18) ui-next/src/pages/execution/state/executionMapper.ts:137— executionMapper.taskStatusUpdater has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, ternaries 1 (3 pts) (nesting depth added 3). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 143). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
resolveDefaultHomePath.findFirstNavigableSidebarPath (cognitive 18) ui-next/src/utils/resolveDefaultHomePath.ts:32— resolveDefaultHomePath.findFirstNavigableSidebarPath has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
SimpleTaskNameInput.SimpleTaskNameInput (cognitive 18) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SimpleTaskNameInput.tsx:43— SimpleTaskNameInput.SimpleTaskNameInput has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, ternaries 2 (nesting depth added 2). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 166, 189, 210, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
SubWorkflowOperatorForm.SubWorkflowOperatorForm (cognitive 18) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SubWorkflowOperatorForm/SubWorkflowOperatorForm.tsx:38— SubWorkflowOperatorForm.SubWorkflowOperatorForm has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, ternaries 7, if/else 3. Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 179, 47, 216, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
WorkbenchForm.WorkbenchForm (cognitive 18) ui/src/pages/workbench/WorkbenchForm.jsx:74— WorkbenchForm.WorkbenchForm has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (nesting depth added 4). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 3 function items inside it that branch (populateInput, a function literal at line 118, a function literal at line 137). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
CassandraSchedulerArchivalDAO.searchScheduledExecutions (cognitive 17) scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerArchivalDAO.java:214— CassandraSchedulerArchivalDAO.searchScheduledExecutions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, boolean chains 4, loops 2 (3 pts), ternaries 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
AbstractProtoMapper.toProto (cognitive 17) grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java:1238— AbstractProtoMapper.toProto has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
SystemTaskWorker.pollAndExecute (cognitive 17) core/src/main/java/com/netflix/conductor/core/execution/tasks/SystemTaskWorker.java:201— SystemTaskWorker.pollAndExecute has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), error handling 3 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
WorkflowTestService.testWorkflow (cognitive 17) core/src/main/java/com/netflix/conductor/service/WorkflowTestService.java:76— WorkflowTestService.testWorkflow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
A2AService.aggregateStream (cognitive 17) ai/src/main/java/org/conductoross/conductor/ai/a2a/A2AService.java:299— A2AService.aggregateStream has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
PdfDocumentRenderer.collectInlineRuns (cognitive 17) ai/src/main/java/org/conductoross/conductor/ai/pdf/PdfDocumentRenderer.java:554— PdfDocumentRenderer.collectInlineRuns has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 1, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
GeminiVertex.generateAudio (cognitive 17) ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java:204— GeminiVertex.generateAudio has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 2 (5 pts), boolean chains 2, error handling 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
OpenAICompatChatModel.buildRequest (cognitive 17) ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAICompatChatModel.java:63— OpenAICompatChatModel.buildRequest has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 10, boolean chains 3, loops 2 (3 pts), if/else 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
JDBCWorker.executeUpdate (cognitive 17) ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java:143— JDBCWorker.executeUpdate has cognitive complexity 17 (threshold 15). Drivers by points: error handling 4 (8 pts), if/else 5 (6 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
PineconeDB.searchWithNameSpace (cognitive 17) ai/src/main/java/org/conductoross/conductor/ai/vectordb/pinecone/PineconeDB.java:122— PineconeDB.searchWithNameSpace has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), error handling 2 (5 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
Handler.do_POST (cognitive 17) docs/devguide/cookbook/assets/saga_stub_service.py:42— Handler.do_POST has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), error handling 2 (4 pts), boolean chains 3, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
registry.createPluginRegistry.rebuildCaches (cognitive 17) ui-next/src/plugins/registry/registry.ts:48— registry.createPluginRegistry.rebuildCaches has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 4 (7 pts) (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline.
useScheduleState.useScheduleState.initializeFromSchedule (cognitive 17) ui-next/src/pages/scheduler/hooks/useScheduleState.ts:95— useScheduleState.useScheduleState.initializeFromSchedule has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 10, boolean chains 5, if/else 2. None of this is in the body itself: all 17 points belong to one function literal inside it that branches (line 95). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
CodeTab.CodeTabWithActor (cognitive 17) ui-next/src/pages/definition/EditorPanel/CodeEditorTab/CodeTab.tsx:54— CodeTab.CodeTabWithActor has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 2 (4 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 4). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 72, 161, 64, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
TaskFormContent.TaskFormContent (cognitive 17) ui-next/src/pages/definition/EditorPanel/TaskFormTab/TaskFormContent.tsx:338— TaskFormContent.TaskFormContent has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, ternaries 4 (5 pts), if/else 3, loops 1 (2 pts) (nesting depth added 2). Of this number, 11 points are the body's own statements and 6 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
helpers.parseErrors (cognitive 17) ui-next/src/pages/definition/task/state/helpers.ts:14— helpers.parseErrors has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 8). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 17). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
WorkflowDAG.processJoin (cognitive 17) ui/src/components/diagram/WorkflowDAG.js:483— WorkflowDAG.processJoin has cognitive complexity 17 (threshold 15). Drivers by points: loops 2 (9 pts), if/else 5 (8 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline.
SchedulerExecutions.SchedulerExecutions (cognitive 17) ui/src/pages/executions/SchedulerExecutions.jsx:36— SchedulerExecutions.SchedulerExecutions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 5, ternaries 3. Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 6 function items inside it that branch (buildQuery, doSearch, a function literal at line 144, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
KafkaObservableQueue.ack (cognitive 16) kafka-event-queue/src/main/java/com/netflix/conductor/kafkaeq/eventqueue/KafkaObservableQueue.java:241— KafkaObservableQueue.ack has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), error handling 4 (6 pts), loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ForkJoinDynamicTaskMapper.getDynamicTasksSimple (cognitive 16) core/src/main/java/com/netflix/conductor/core/execution/mapper/ForkJoinDynamicTaskMapper.java:416— ForkJoinDynamicTaskMapper.getDynamicTasksSimple has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
OpenAIHttpImageModel.call (cognitive 16) ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIHttpImageModel.java:40— OpenAIHttpImageModel.call has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (6 pts), boolean chains 5, if/else 2, loops 1 (2 pts), error handling 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
OpenAIResponsesChatModel.buildRequest (cognitive 16) ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIResponsesChatModel.java:74— OpenAIResponsesChatModel.buildRequest has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (8 pts), if/else 4 (5 pts), loops 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
JDBCWorker.executeSelect (cognitive 16) ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java:77— JDBCWorker.executeSelect has cognitive complexity 16 (threshold 15). Drivers by points: error handling 4 (7 pts), loops 3 (5 pts), if/else 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
MultiAgentCompiler.compileHandoff (cognitive 16) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:253— MultiAgentCompiler.compileHandoff has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (9 pts), if/else 4, loops 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
ToolCompiler.buildApiDiscoveryTasks (cognitive 16) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:962— ToolCompiler.buildApiDiscoveryTasks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 2 (5 pts), loops 3, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ToolCompiler.buildMcpDiscoveryTasks) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
ToolCompiler.buildMcpDiscoveryTasks (cognitive 16) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:805— ToolCompiler.buildMcpDiscoveryTasks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 2 (5 pts), loops 3, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ToolCompiler.buildApiDiscoveryTasks) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
VercelAINormalizer.extractTools (cognitive 16) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/VercelAINormalizer.java:133— VercelAINormalizer.extractTools has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
PlanAndCompileTask.emitGuardrailWrappedSimple (cognitive 16) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1038— PlanAndCompileTask.emitGuardrailWrappedSimple has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 3 (6 pts), loops 3 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
Parser.parseString (cognitive 16) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/SafeConditionInterpreter.java:405— Parser.parseString has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
capture_cookbook_verification.main (cognitive 16) scripts/capture_cookbook_verification.py:26— capture_cookbook_verification.main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 5, ternaries 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
fetch-sdk-docs.fetch_examples (cognitive 16) scripts/fetch-sdk-docs.py:168— fetch-sdk-docs.fetch_examples has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
PanAndZoomWrapper.PanAndZoomWrapper (cognitive 16) ui-next/src/components/features/flow/components/graphs/PanAndZoomWrapper/PanAndZoomWrapper.tsx:81— PanAndZoomWrapper.PanAndZoomWrapper has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 179, 127, 111, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
Flow.Flow (cognitive 16) ui-next/src/components/features/flow/Flow.tsx:55— Flow.Flow has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 3 (4 pts), ternaries 1 (nesting depth added 1). Of this number, 11 points are the body's own statements and 5 belong to 8 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
helpers.defaultFilterItemsSorter (cognitive 16) ui-next/src/components/ui/DataTable/helpers.ts:34— helpers.defaultFilterItemsSorter has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3 (nesting depth added 4). None of this is in the body itself: all 16 points belong to one function literal inside it that branches (line 35). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
CodeBlockInputWrapper.CodeBlockInputWrapper (cognitive 16) ui-next/src/components/ui/inputs/CodeBlockInputWrapper.tsx:151— CodeBlockInputWrapper.CodeBlockInputWrapper has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7, boolean chains 5, if/else 4. Of this number, 12 points are the body's own statements and 4 belong to 3 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
promptPreviewModel.jsonValueEnd (cognitive 16) ui-next/src/pages/execution/AgentExecution/promptPreviewModel.ts:87— promptPreviewModel.jsonValueEnd has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
SubAgentTree.SubAgentNode (cognitive 16) ui-next/src/pages/execution/AgentExecution/SubAgentTree.tsx:53— SubAgentTree.SubAgentNode has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 13, ternaries 2, if/else 1. Of this number, 15 points are the body's own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
actions.delayedNodeSelection (cognitive 16) ui-next/src/pages/execution/state/actions.ts:429— actions.delayedNodeSelection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, ternaries 1 (nesting depth added 2). Of this number, 12 points are the body's own statements and 4 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
ResultsTable.ResultsTable (cognitive 16) ui-next/src/pages/agent/executions/ResultsTable.tsx:228— ResultsTable.ResultsTable has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 2, error handling 1. Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 254, a function literal at line 288, a function literal at line 343, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
reactHookForm.getEditorToFormValue (cognitive 16) ui-next/src/utils/reactHookForm.ts:8— reactHookForm.getEditorToFormValue has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5 (nesting depth added 3). None of this is in the body itself: all 16 points belong to 2 function literals inside it that branch (lines 24, 44). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
WorkflowDAG.processForkJoinDynamic (cognitive 16) ui/src/components/diagram/WorkflowDAG.js:222— WorkflowDAG.processForkJoinDynamic has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D4 · Code Duplication· Near-duplicate member family (4 members, 23 shared lines) · ×1
Near-duplicate member family (4 members, 23 shared lines) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ComparisonOp.java:63— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ComparisonOp.java:63-92 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ComparisonOp.java:63-92 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/ComparisonOp.java:63-92 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/ComparisonOp.java:63-92 — These 4 members are variants of one another: a block of 23 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
D4 · Code Duplication· Near-duplicate member family (4 members, 14 shared lines) · ×1
Near-duplicate member family (4 members, 14 shared lines) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:82— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:82-98 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java:82-98 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java:82-98 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java:82-98 — These 4 members are variants of one another: a block of 14 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
D4 · Code Duplication· Near-duplicate member family (3 members, 91 shared lines) · ×1
Near-duplicate member family (3 members, 91 shared lines) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:809— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:809-940 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:966-1096 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1117-1298 — These 3 members are variants of one another: a block of 91 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times.
D4 · Code Duplication· Near-duplicate member family (3 members, 12 shared lines) · ×1
Near-duplicate member family (3 members, 12 shared lines) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:134— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLFileMetadataDAO.java:134-152 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresFileMetadataDAO.java:134-152 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteFileMetadataDAO.java:133-151 — These 3 members are variants of one another: a block of 12 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times.
Near-duplicate member pair (91 shared lines) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:350— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:350-589 | ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:155-340 — These two members are variants of one another: 91 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members' grain — factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice.
Near-duplicate member pair (85 shared lines) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:372— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:372-533 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1613-1726 — These two members are variants of one another: 85 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members' grain — factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice.
Near-duplicate member pair (64 shared lines) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:295— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/GoogleADKNormalizer.java:295-381 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:148-245 — These two members are variants of one another: 64 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members' grain — factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice.
D4 · Code Duplication· Edited copy of a member (43 corresponding lines) · ×1
Edited copy of a member (43 corresponding lines) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/NameValue.java:96— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/NameValue.java:96-138 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/NameValue.java:89-131 — These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
D4 · Code Duplication· Edited copy of a member (23 corresponding lines) · ×1
Edited copy of a member (23 corresponding lines) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:45— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:45-145 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/VercelAINormalizer.java:238-264 — These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
D4 · Code Duplication· Edited copy of a member (41 corresponding lines) · ×1
Edited copy of a member (41 corresponding lines) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:151— postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:151-191 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:146-186 — These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
D4 · Code Duplication· Edited copy of a member (19 corresponding lines) · ×1
Edited copy of a member (19 corresponding lines) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:43— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:43-64 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:75-93 — These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
D4 · Code Duplication· Members sharing a duplicated core (8 members, 50+ identical tokens) · ×1
Members sharing a duplicated core (8 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java:72— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java:72-86 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/Range.java:46-60 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ConstValue.java:72-86 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/Range.java:46-60 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/ConstValue.java:72-86 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/Range.java:46-60 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/ConstValue.java:72-86 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/Range.java:46-60 — These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times.
D4 · Code Duplication· Members sharing a duplicated core (7 members, 50+ identical tokens) · ×1
Members sharing a duplicated core (7 members, 50+ identical tokens) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:893— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:893-934 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:942-971 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:751-789 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:880-921 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:929-958 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:879-920 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:928-962 — These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below — it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members' grain — factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times.
Duplicated block (139 lines × 2) os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java:137— os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java:137-275 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/config/OpenSearchProperties.java:136-274 — before extracting anything, compare `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/config/OpenSearchProperties.java` and `os-persistence-v3/src/main/java/org/conductoross/conductor/os3/config/OpenSearchProperties.java` as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 163 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (71–88 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:352— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:352-422 | ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:156-243 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java` and `ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 159 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:352` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:245` calls `size` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:424` does not — after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (59–73 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:600— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:600-672 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1401-1459 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (66 lines × 2) scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerArchivalDAO.java:249— scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerArchivalDAO.java:249-314 | scheduler/redis-persistence/src/main/java/org/conductoross/conductor/scheduler/redis/dao/RedisSchedulerArchivalDAO.java:137-202 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
Duplicated block (65 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1308— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1308-1372 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1382-1446 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1308` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (56 lines × 2) scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:105— scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:105-160 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java:105-160 — before extracting anything, compare `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java` and `scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java` as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (52–54 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:474— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:474-527 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:875-926 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:874` calls `setDescription`, `getName` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:473` does not — after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (34–53 lines × 7) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:469— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:469-502 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:621-673 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:943-977 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1422-1460 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1817-1851 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1935-1976 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:2037-2072 — all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (44–46 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2960— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2960-3003 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3669-3714 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2960` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (40–42 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:347— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:347-386 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:971-1012 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (42 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:327— postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:327-368 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:310-351 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:327` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (25–42 lines × 2) scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:76— scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:76-100 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java:59-100 — before extracting anything, compare `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java` and `scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerArchivalDAO.java` as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerArchivalDAO.java:76` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (40–41 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1739— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1739-1778 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:2021-2061 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (39–40 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:264— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:264-303 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:837-875 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (38 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:163— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:163-200 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:142-179 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:157-194 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:145-182 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java` as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: `ElasticSearchProperties` names `com.netflix.conductor.es7.config.ElasticSearchProperties` in one and `org.conductoross.conductor.es8.config.ElasticSearchProperties` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (37–38 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/mcp/MCPService.java:112— ai/src/main/java/org/conductoross/conductor/ai/mcp/MCPService.java:112-149 | ai/src/main/java/org/conductoross/conductor/ai/mcp/MCPService.java:226-262 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/mcp/MCPService.java:112` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (35–36 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:121— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:121-155 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:144-179 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:144-179 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (29–36 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:498— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:498-533 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:588-616 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:498` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (35 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:223— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:223-257 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:285-319 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:273-307 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java` as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 212 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (34–35 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:772— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:772-806 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1589-1622 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (31–34 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1173— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1173-1206 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1266-1296 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (32–34 lines × 2) scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerDAO.java:496— scheduler/cassandra-persistence/src/main/java/org/conductoross/conductor/scheduler/cassandra/dao/CassandraSchedulerDAO.java:496-529 | scheduler/redis-persistence/src/main/java/org/conductoross/conductor/scheduler/redis/dao/RedisSchedulerDAO.java:304-335 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (33 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1122— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1122-1154 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2002-2034 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1122` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (32 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:516— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:516-547 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:548-579 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:548-579 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (31 lines × 2) amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:768— amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:768-798 | amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:818-848 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:768` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (30 lines × 8) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:77— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:77-109 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:241-273 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:468-500 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1064-1093 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1118-1148 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1816-1850 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1928-1970 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:2033-2070 — all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:77` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (30 lines × 6) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:159— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:159-189 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:294-323 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:963-992 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1819-1851 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1955-1991 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:2177-2208 — all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (30 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:832— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:832-861 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:825-854 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:825-854 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (29 lines × 9) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:160— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:160-191 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:295-330 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:511-539 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:966-994 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1067-1095 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1119-1150 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1820-1853 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:1956-1993 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:2179-2212 — all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/util/JavaScriptBuilder.java:160` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (29 lines × 3) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchBaseDAO.java:45— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchBaseDAO.java:45-73 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchBaseDAO.java:45-73 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchBaseDAO.java:43-71 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchBaseDAO.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchBaseDAO.java` as WHOLE FILES: 82% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (29 lines × 2) os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:344— os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:344-372 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:400-428 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:344` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (28–29 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:369— postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:369-397 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:352-379 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java` as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:369` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: `Query` names `com.netflix.conductor.postgres.util.Query` in one and `com.netflix.conductor.sqlite.util.Query` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (27–28 lines × 3) amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:114— amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:114-141 | nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java:104-130 | nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java:104-130 — before extracting anything, compare `nats-streaming/src/main/java/com/netflix/conductor/contribs/queue/stan/NATSAbstractQueue.java` and `nats/src/main/java/com/netflix/conductor/contribs/queue/nats/NATSAbstractQueue.java` as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:114` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (28 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:607— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:607-634 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:600-627 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:600-627 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (27–28 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:118— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:118-145 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java:117-143 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java` and `ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java` as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (21–28 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java:114— ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java:114-141 | ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java:195-215 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/sql/JDBCWorker.java:114` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (27 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:462— mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:462-488 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java:489-515 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java:482-508 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java` as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (24–27 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:318— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:318-341 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:939-965 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:939` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (19–27 lines × 2) scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:68— scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:68-86 | scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerDAO.java:56-82 — before extracting anything, compare `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java` and `scheduler/postgres-persistence/src/main/java/org/conductoross/conductor/scheduler/postgres/dao/PostgresSchedulerDAO.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `scheduler/mysql-persistence/src/main/java/org/conductoross/conductor/scheduler/mysql/dao/MySQLSchedulerDAO.java:68` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (23–26 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:271— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:271-296 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:425-447 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:271` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (24–25 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:1025— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:1025-1049 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java:164-187 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqlitePollDataDAO.java:85-108 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (23–24 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:899— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:899-922 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1056-1079 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1257-1279 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (21–24 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3567— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3567-3587 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3632-3655 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3567` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (20–23 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1109— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1109-1128 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1297-1319 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1989-2008 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1297` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (19–23 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java:155— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java:155-177 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java:199-217 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java:155` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (22–23 lines × 2) amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:123— amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:123-144 | amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:146-168 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:146` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (21–22 lines × 4) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:839— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:839-860 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:996-1016 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1145-1166 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1190-1210 — all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (22 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java:94— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java:94-115 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ConstValue.java:94-115 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/ConstValue.java:94-115 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/ConstValue.java:94-115 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ConstValue.java` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (22 lines × 3) mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java:152— mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java:152-173 | postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillMetadataDAO.java:154-175 | sqlite-persistence/src/main/java/org/conductoross/conductor/sqlite/dao/SqliteSkillMetadataDAO.java:154-175 — before extracting anything, compare `mysql-persistence/src/main/java/org/conductoross/conductor/mysql/dao/MySQLSkillMetadataDAO.java` and `postgres-persistence/src/main/java/org/conductoross/conductor/postgres/dao/PostgresSkillMetadataDAO.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (19–21 lines × 4) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:93— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:93-113 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:116-136 | redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:121-139 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:116-136 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:93` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:115` calls `taskKey`, `getReferenceTaskName`, `getRetryCount` and `redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java:141` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (19–21 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:362— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:362-382 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:510-528 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:474-492 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java` as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 212 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:362` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (20–21 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:121— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:121-140 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/VercelAINormalizer.java:241-261 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/VercelAINormalizer.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/OpenAINormalizer.java:121` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (19–20 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:877— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:877-896 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1034-1053 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1236-1254 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1233` calls `size`, `put`, `get` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:876` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (19 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:710— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:710-728 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:561-579 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:697-715 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:691-709 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java` as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (18–19 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2166— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2166-2183 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2278-2296 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (17–19 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:46— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:46-64 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:77-93 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/TerminationCompiler.java:46` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (10–18 lines × 4) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:686— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:686-703 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1130-1139 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1321-1330 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2010-2019 — there are 4 copies across 2 file(s) — more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:704` calls `put` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1140` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (15–18 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:272— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:272-286 | ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AServerResource.java:119-136 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:272` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (12–18 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:485— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:485-502 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1684-1695 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (17 lines × 4) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java:54— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java:54-70 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ConstValue.java:54-70 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/ConstValue.java:54-70 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/ConstValue.java:54-70 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ConstValue.java` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (13–17 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3156— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3156-3172 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3466-3478 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (16 lines × 5) postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:78— postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:78-93 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresMetadataDAO.java:69-84 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:71-86 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:78-93 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:67-82 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java` as WHOLE FILES: this scan already matched 47 separate duplicated blocks between them, totalling at least 767 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (13–16 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:400— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:400-413 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:429-444 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:456-468 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (7–16 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:827— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:827-842 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1137-1143 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (14–16 lines × 2) core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java:181— core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java:181-196 | core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java:223-236 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java:181` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (6–15 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:829— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:829-843 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1139-1144 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1475-1484 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (14–15 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:934— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:934-948 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java:929-942 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteExecutionDAO.java:929-942 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresExecutionDAO.java` as WHOLE FILES: this scan already matched 44 separate duplicated blocks between them, totalling at least 730 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java:934` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (10–15 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:940— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:940-949 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:986-1000 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:986` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (11–15 lines × 2) core/src/main/java/com/netflix/conductor/core/execution/mapper/DynamicTaskMapper.java:145— core/src/main/java/com/netflix/conductor/core/execution/mapper/DynamicTaskMapper.java:145-155 | core/src/main/java/com/netflix/conductor/core/execution/mapper/UserDefinedTaskMapper.java:77-91 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/com/netflix/conductor/core/execution/mapper/DynamicTaskMapper.java:145` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (14–15 lines × 2) core/src/main/java/org/conductoross/conductor/core/storage/FileStorageServiceImpl.java:105— core/src/main/java/org/conductoross/conductor/core/storage/FileStorageServiceImpl.java:105-118 | core/src/main/java/org/conductoross/conductor/core/storage/FileStorageServiceImpl.java:204-218 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/org/conductoross/conductor/core/storage/FileStorageServiceImpl.java:105` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (14 lines × 8) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java:73— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java:73-86 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/Range.java:47-60 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ConstValue.java:73-86 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/Range.java:47-60 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/ConstValue.java:73-86 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/Range.java:47-60 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/ConstValue.java:73-86 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/Range.java:47-60 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/ConstValue.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/ConstValue.java` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (10–14 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:870— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:870-879 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1027-1036 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1222-1235 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1222` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1236` calls `size`, `put`, `get` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:880` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (13–14 lines × 3) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1341— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1341-1353 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:1290-1302 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:1364-1377 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:1341` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: `BulkRequest` names `org.elasticsearch.action.bulk.BulkRequest` in one and `org.opensearch.action.bulk.BulkRequest` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (13 lines × 5) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:282— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:282-294 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:854-866 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1049-1061 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1190-1202 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1900-1912 — all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (12–13 lines × 4) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:115— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:115-126 | mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:153-165 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java:115-126 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java:153-165 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java` as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:115` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (12–13 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:472— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:472-483 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1672-1684 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:472` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (11–13 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1416— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1416-1428 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1433-1443 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1416` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (7–12 lines × 6) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2103— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2103-2109 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2164-2173 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2233-2239 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2276-2285 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3249-3256 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3572-3583 — all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2164` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2110` calls `put` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:3257` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (11–12 lines × 6) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:282— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:282-293 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:854-865 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1049-1060 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1190-1201 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1706-1716 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1900-1911 — all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (12 lines × 6) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:131— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:131-142 | mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:168-179 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java:131-142 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java:168-179 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:105-116 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:149-160 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java` as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:131` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (6–12 lines × 4) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:399— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:399-410 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:418-423 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:428-437 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/SkillNormalizer.java:455-466 — all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (9–12 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:299— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:299-307 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:327-335 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:584-595 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (6–12 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:318— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:318-326 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:754-759 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:939-950 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:318` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (11–12 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:93— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:93-104 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:191-201 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:275-285 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:204` calls `upsertWorkflowDef`, `registerTaskDefinitions` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:106` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (11–12 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:426— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:426-436 | ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:248-259 — before extracting anything, compare `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java` and `ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java` as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 159 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:426` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java:245` calls `size` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:422` does not — after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (7–12 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2889— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2889-2900 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2978-2984 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2901` calls `put`, `subAgentResultRef` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2985` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (10–12 lines × 2) ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:783— ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:783-794 | ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:829-838 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java:783` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (6–11 lines × 4) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1817— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1817-1822 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:755-760 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2890-2900 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2979-2986 — there are 4 copies across 2 file(s) — more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2979` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (10–11 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:751— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:751-760 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:913-923 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1351-1361 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (9–11 lines × 3) core/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:66— core/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:66-74 | core/src/main/java/com/netflix/conductor/core/execution/mapper/UserDefinedTaskMapper.java:69-79 | kafka/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java:66-74 — before extracting anything, compare `core/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java` and `kafka/src/main/java/com/netflix/conductor/core/execution/mapper/KafkaPublishTaskMapper.java` as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/com/netflix/conductor/core/execution/mapper/UserDefinedTaskMapper.java:69` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (3–11 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1522— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1522-1532 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1551-1559 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1641-1643 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1522` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (9–10 lines × 4) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1304— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1304-1312 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1378-1386 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1967-1976 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:2087-2095 — all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (9–10 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java:158— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java:158-167 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java:200-208 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/normalizer/LangGraphNormalizer.java:235-244 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (8–10 lines × 3) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:431— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java:431-438 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:536-545 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java:500-508 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLQueueDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java` as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 212 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (7–10 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1270— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1270-1276 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3151-3160 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (9 lines × 9) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:726— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:726-734 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1087-1095 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:281-289 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:440-448 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:679-687 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:853-861 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1048-1056 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1189-1197 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1899-1907 — there are 9 copies across 2 file(s) — more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 9 sites; resolving a subset leaves the remainder to drift apart. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:735` calls `add` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:1098` does not — after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (7–9 lines × 7) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:509— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:509-515 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:878-886 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:329-335 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:500-506 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:865-873 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:499-505 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:864-872 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java` as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:509` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (9 lines × 7) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:920— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:920-928 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:958-966 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:775-783 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:907-915 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:945-953 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:906-914 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:949-957 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java` as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (6–8 lines × 11) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:509— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:509-514 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:844-849 | es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:878-885 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:329-334 | es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java:697-702 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:500-505 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:831-836 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:865-872 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:499-504 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:825-830 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:864-871 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java` as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (6–8 lines × 9) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:712— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:712-719 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1307-1312 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1359-1364 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1381-1386 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1433-1438 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1750-1757 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1970-1976 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:2032-2039 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:2090-2095 — all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1750` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (6–8 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3199— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:3199-3205 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1819-1826 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:2079-2084 — there are 3 copies across 2 file(s) — more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (6–7 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:901— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:901-907 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:1267-1272 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (6 lines × 7) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:719— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:719-724 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:751-756 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:919-924 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:940-945 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:986-991 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1357-1362 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:1403-1408 — all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (6 lines × 5) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2178— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2178-2183 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2291-2296 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:922-927 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1079-1084 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/ToolCompiler.java:1279-1284 — there are 5 copies across 2 file(s) — more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart.
Duplicated block (5–6 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:801— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:801-805 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:819-824 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:819` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (3–6 lines × 3) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2254— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2254-2256 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:389-394 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:2411-2416 — there are 3 copies across 2 file(s) — more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/MultiAgentCompiler.java:394` calls `put`, `getProvider` and `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/compiler/AgentCompiler.java:2256` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (4–5 lines × 3) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:150— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:150-154 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java:144-148 | os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/index/OpenSearchRestDAO.java:133-136 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/OpenSearchRestDAO.java` as WHOLE FILES: this scan already matched 55 separate duplicated blocks between them, totalling at least 696 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind `properties` to `ElasticSearchProperties` in one and `OpenSearchProperties` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH — their common supertype where they have one, or a new abstraction over them where they do not — and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (62 lines × 2) agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/OpenAiAssistantsAgentClient.java:1— agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/OpenAiAssistantsAgentClient.java:1-69 | agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/VertexAiAgentClient.java:1-62 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/OpenAiAssistantsAgentClient.java:1` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (37 lines × 2) core/src/main/java/com/netflix/conductor/core/execution/evaluators/GraalJSEvaluator.java:1— core/src/main/java/com/netflix/conductor/core/execution/evaluators/GraalJSEvaluator.java:1-39 | core/src/main/java/com/netflix/conductor/core/execution/evaluators/JavascriptEvaluator.java:1-37 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `core/src/main/java/com/netflix/conductor/core/execution/evaluators/GraalJSEvaluator.java:1` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (25 lines × 2) es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/BulkRequestWrapper.java:26— es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/BulkRequestWrapper.java:26-50 | os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/BulkRequestWrapper.java:26-50 — before extracting anything, compare `es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/BulkRequestWrapper.java` and `os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/index/BulkRequestWrapper.java` as WHOLE FILES: 85% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: `BulkRequest` names `org.elasticsearch.action.bulk.BulkRequest` in one and `org.opensearch.action.bulk.BulkRequest` in another — different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (38 lines × 2) postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/QueueStats.java:1— postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/QueueStats.java:1-38 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/QueueStats.java:1-38 — before extracting anything, compare `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/QueueStats.java` and `sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/QueueStats.java` as WHOLE FILES: 96% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/QueueStats.java:1` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (45 lines × 2) task-status-listener/src/main/java/com/netflix/conductor/contribs/listener/StatusNotifier.java:1— task-status-listener/src/main/java/com/netflix/conductor/contribs/listener/StatusNotifier.java:1-45 | task-status-listener/src/main/java/com/netflix/conductor/contribs/listener/StatusNotifierNotificationProperties.java:1-163 — before extracting anything, compare `task-status-listener/src/main/java/com/netflix/conductor/contribs/listener/StatusNotifier.java` and `task-status-listener/src/main/java/com/netflix/conductor/contribs/listener/StatusNotifierNotificationProperties.java` as WHOLE FILES: 86% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `task-status-listener/src/main/java/com/netflix/conductor/contribs/listener/StatusNotifier.java:1` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (7 lines × 6) mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:77— mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:77-83 | mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java:85-91 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java:77-83 | postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java:85-91 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:64-70 | sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:72-78 — before extracting anything, compare `mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLBaseDAO.java` and `postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresBaseDAO.java` as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
CI formatting step cannot fail REDACTED:48— `pnpm prettier:check` invokes prettier in the mode that REWRITES the files it reformats and exits 0 whatever it changed. The rewrite happens inside the runner's throwaway checkout and is then discarded, so the step passes on a badly-formatted change exactly as it passes on a clean one — it enforces nothing, and no other step in this file reads the result. `--check` is the flag that turns the same invocation into a gate: it leaves the files alone and exits non-zero when anything would have been reformatted.
Duplication concentrated across 2 sibling directories (50 clone groups) REDACTED:209— 50 duplicated blocks under the repository root have copies in at least two of the sibling directories ui, ui-next — 41 of them are reported below, and 9 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 50 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 50 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 50 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on.
Duplication concentrated across 10 sibling directories (49 clone groups) ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx:9— 49 duplicated blocks under ui-next/src/pages/ have copies in at least two of the sibling directories agent, definition, definitions, eventMonitor, execution, executions (+4 more sibling(s) not listed) — 29 of them are reported below, and 20 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 49 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 49 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 49 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on.
Duplication concentrated across 4 sibling directories (32 clone groups) ui-next/src/components/ui/inputs/ConductorArrayField.tsx:65— 32 duplicated blocks under ui-next/src/ have copies in at least two of the sibling directories components, pages, shared, utils — 18 of them are reported below, and 14 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 32 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 32 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 32 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on.
Duplication concentrated across 9 sibling directories (23 clone groups) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/HTTPTaskForm/state/services.ts:86— 23 duplicated blocks under ui-next/src/pages/definition/ have copies in at least two of the sibling directories ConfirmLocalCopyDialog, EditorPanel, EventHandler, RunWorkflow, WorkflowMetadata, confirmSave (+3 more sibling(s) not listed) — 6 of them are reported below, and 17 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 23 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 23 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 23 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on.
Duplication concentrated across 15 sibling directories (22 clone groups) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/GRPCTaskForm/GRPCTaskForm.tsx:40— 22 duplicated blocks under ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ have copies in at least two of the sibling directories DoWhileTaskForm, EventTaskForm, GRPCTaskForm, GetWorkflowTaskForm, HTTPTaskForm, INLINETaskForm (+9 more sibling(s) not listed) — 19 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 22 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 22 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 22 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on.
Duplication concentrated across 6 sibling directories (8 clone groups) ui-next/src/components/react-hook-form/ReactHookFormFlatMapForm.tsx:58— 8 duplicated blocks under ui-next/src/components/ have copies in at least two of the sibling directories FlatMapForm, SubjectSelector, features, layout, react-hook-form, ui — 6 of them are reported below, and 2 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 8 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 8 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 8 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on.
Wholesale file copy (377 identical lines × 2 files) ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx:9— ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx:9 · ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx:2 — these 2 files are line-for-line copies of one another — 377 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done.
R10 · Code Duplication· Duplicated block with local edits (307 matched lines × 2 locations) · ×1
Duplicated block with local edits (307 matched lines × 2 locations) ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx:83— ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx:83 · ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx:82 — the two spans are one implementation copied and then locally edited — 1377 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
Wholesale file copy (305 identical lines × 2 files) ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx:1— ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx:1 · ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx:1 — these 2 files are line-for-line copies of one another — 305 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done.
R10 · Code Duplication· Duplicated block with local edits (208 matched lines × 2 locations) · ×1
Duplicated block with local edits (208 matched lines × 2 locations) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/GRPCTaskForm/GRPCTaskForm.tsx:40— ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/GRPCTaskForm/GRPCTaskForm.tsx:40 · ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/HTTPTaskForm/HTTPTaskForm.tsx:74 — the two spans are one implementation copied and then locally edited — 847 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
Wholesale file copy (160 identical lines × 2 files) ui-next/src/pages/agent/executions/AgentSearch.tsx:2— ui-next/src/pages/agent/executions/AgentSearch.tsx:2 · ui-next/src/pages/executions/WorkflowSearch.tsx:2 — these 2 files are line-for-line copies of one another — 160 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done.
R10 · Code Duplication· Duplicated block with local edits (130 matched lines × 2 locations) · ×1
Duplicated block with local edits (130 matched lines × 2 locations) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ChunkTextTaskForm.tsx:199— ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ChunkTextTaskForm.tsx:199 · ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ParseDocumentTaskForm.tsx:295 — the two spans are one implementation copied and then locally edited — 642 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
R10 · Code Duplication· Duplicated block with local edits (123 matched lines × 2 locations) · ×1
Duplicated block with local edits (123 matched lines × 2 locations) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/JOINTaskForm/JoinCodeBlock.tsx:30— ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/JOINTaskForm/JoinCodeBlock.tsx:30 · ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SwitchTaskForm/SwitchCodeBlock.tsx:35 — the two spans are one implementation copied and then locally edited — 638 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
Duplicated block (122 lines × 2 locations) ui/src/pages/executions/ResultsTable.jsx:44— ui/src/pages/executions/ResultsTable.jsx:44 · ui/src/pages/executions/TaskResultsTable.jsx:91 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported.
Wholesale file copy (119 identical lines × 2 files) ui-next/src/pages/agent/executions/BulkActionModule.tsx:1— ui-next/src/pages/agent/executions/BulkActionModule.tsx:1 · ui-next/src/pages/executions/BulkActionModule.tsx:1 — these 2 files are line-for-line copies of one another — 119 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done.
Duplicated block (99 lines × 2 locations) REDACTED:209— REDACTED:209 · REDACTED:179 — the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour — the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator's options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents.
R10 · Code Duplication· Duplicated block with local edits (91 matched lines × 2 locations) · ×1
Duplicated block with local edits (91 matched lines × 2 locations) ui-next/src/pages/definition/EventHandler/eventhandlers/FormComponent/ActionForms/StartAgentTask.tsx:35— ui-next/src/pages/definition/EventHandler/eventhandlers/FormComponent/ActionForms/StartAgentTask.tsx:35 · ui-next/src/pages/definition/EventHandler/eventhandlers/FormComponent/ActionForms/StartWorkflowTask.tsx:29 — the two spans are one implementation copied and then locally edited — 417 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
R10 · Code Duplication· Duplicated block with local edits (85 matched lines × 2 locations) · ×1
Duplicated block with local edits (85 matched lines × 2 locations) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/StartWorkflowTaskForm/StartWorkflowTaskForm.tsx:64— ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/StartWorkflowTaskForm/StartWorkflowTaskForm.tsx:64 · ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SubWorkflowOperatorForm/SubWorkflowOperatorForm.tsx:67 — the two spans are one implementation copied and then locally edited — 311 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
Duplicated block (85 lines × 2 locations) ui/src/pages/definition/SchedulerDefinition.jsx:21— ui/src/pages/definition/SchedulerDefinition.jsx:21 · ui/src/pages/definition/TaskDefinition.jsx:16 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it.
Wholesale file copy (82 identical lines × 3 files) ui/src/pages/definition/SaveEventHandlerDialog.jsx:1— ui/src/pages/definition/SaveEventHandlerDialog.jsx:1 · ui/src/pages/definition/SaveSchedulerDialog.jsx:1 · ui/src/pages/definition/SaveTaskDialog.jsx:3 — these 3 files are line-for-line copies of one another — 82 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done.
Duplicated block (81 lines × 2 locations) ui/src/pages/definition/EventHandlerDefinition.jsx:82— ui/src/pages/definition/EventHandlerDefinition.jsx:82 · ui/src/pages/definition/TaskDefinition.jsx:73 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported.
R10 · Code Duplication· Duplicated block with local edits (75 matched lines × 2 locations) · ×1
Duplicated block with local edits (75 matched lines × 2 locations) ui-next/src/pages/executions/SchedulerExecutions.tsx:126— ui-next/src/pages/executions/SchedulerExecutions.tsx:126 · ui-next/src/pages/executions/TaskSearch.tsx:252 — the two spans are one implementation copied and then locally edited — 374 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
Duplicated block (74 lines × 2 locations) ui-next/src/pages/definitions/EventHandler.tsx:371— ui-next/src/pages/definitions/EventHandler.tsx:371 · ui-next/src/pages/definitions/Scheduler/Schedules.tsx:757 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another.
R10 · Code Duplication· Duplicated block with local edits (71 matched lines × 2 locations) · ×1
Duplicated block with local edits (71 matched lines × 2 locations) ui-next/src/pages/definitions/EventHandler.tsx:207— ui-next/src/pages/definitions/EventHandler.tsx:207 · ui-next/src/pages/definitions/Workflow.tsx:320 — the two spans are one implementation copied and then locally edited — 306 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
Wholesale file copy (64 identical lines × 2 files) ui/src/pages/execution/Legend.jsx:1— ui/src/pages/execution/Legend.jsx:1 · ui/src/pages/kitchensink/DiagramTest.jsx:1 — these 2 files are line-for-line copies of one another — 64 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done.
R10 · Code Duplication· Duplicated block with local edits (63 matched lines × 2 locations) · ×1
Duplicated block with local edits (63 matched lines × 2 locations) ui-next/src/pages/executions/TaskSearch.tsx:166— ui-next/src/pages/executions/TaskSearch.tsx:166 · ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx:267 — the two spans are one implementation copied and then locally edited — 310 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
Duplicated block (62 lines × 2 locations) ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx:722— ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx:722 · ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:1572 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are.
Duplicated block (61 lines × 2 locations) ui-next/src/pages/executions/DateControlComponent.tsx:166— ui-next/src/pages/executions/DateControlComponent.tsx:166 · ui-next/src/pages/executions/DateControlComponent.tsx:288 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported.
Duplicated block (59 lines × 2 locations) ui-next/src/pages/executions/ResultsTable.tsx:286— ui-next/src/pages/executions/ResultsTable.tsx:286 · ui-next/src/pages/executions/TaskResultsTable.tsx:309 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are.
R10 · Code Duplication· Duplicated block with local edits (54 matched lines × 2 locations) · ×1
Duplicated block with local edits (54 matched lines × 2 locations) ui-next/src/components/ui/inputs/ConductorArrayField.tsx:65— ui-next/src/components/ui/inputs/ConductorArrayField.tsx:65 · ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/HTTPTaskForm/ConductorAdditionalHeaders.tsx:84 — the two spans are one implementation copied and then locally edited — 214 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
Complex function transformWorkflowExecutionToAgentRun (cyclomatic 119, cognitive 207) ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:931— transformWorkflowExecutionToAgentRun has cyclomatic complexity 119 and cognitive complexity 207; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function SummaryContent (cyclomatic 114, cognitive 122) ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx:1002— SummaryContent has cyclomatic complexity 114 and cognitive complexity 122; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function (anonymous) (cyclomatic 103, cognitive 131) ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:1018— (anonymous) has cyclomatic complexity 103 and cognitive complexity 131; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function SidebarItem (cyclomatic 96, cognitive 79) ui-next/src/components/providers/sidebar/SidebarItem.tsx:45— SidebarItem has cyclomatic complexity 96 and cognitive complexity 79; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function buildTurnNodes (cyclomatic 77, cognitive 182) ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:896— buildTurnNodes has cyclomatic complexity 77 and cognitive complexity 182; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function (anonymous) (cyclomatic 68, cognitive 136) REDACTED:281— (anonymous) has cyclomatic complexity 68 and cognitive complexity 136; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function WorkflowIntrospection (cyclomatic 67, cognitive 99) ui-next/src/pages/execution/WorkflowIntrospection.tsx:216— WorkflowIntrospection has cyclomatic complexity 67 and cognitive complexity 99; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function NodeCard (cyclomatic 51, cognitive 55) ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:237— NodeCard has cyclomatic complexity 51 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function AgentDetailPanel (cyclomatic 42, cognitive 43) ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx:1699— AgentDetailPanel has cyclomatic complexity 42 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function Execution (cyclomatic 38, cognitive 32) ui-next/src/pages/execution/Execution.tsx:276— Execution has cyclomatic complexity 38 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function TaskSummary (cyclomatic 37, cognitive 39) ui-next/src/pages/execution/TaskSummary.tsx:19— TaskSummary has cyclomatic complexity 37 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function (anonymous) (cyclomatic 36, cognitive 75) REDACTED:83— (anonymous) has cyclomatic complexity 36 and cognitive complexity 75; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function (anonymous) (cyclomatic 34, cognitive 36) REDACTED:41— (anonymous) has cyclomatic complexity 34 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
R2 · Cyclomatic Complexity· Complex function main (cyclomatic 32, cognitive 54) · ×1
Complex function main (cyclomatic 32, cognitive 54) ui-next/scripts/playwright-coverage-report.mjs:225— main has cyclomatic complexity 32 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function AgentInspector (cyclomatic 32, cognitive 28) ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx:193— AgentInspector has cyclomatic complexity 32 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function RightPanel (cyclomatic 31, cognitive 28) ui-next/src/pages/execution/RightPanel/RightPanel.tsx:74— RightPanel has cyclomatic complexity 31 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function SubAgentNode (cyclomatic 30, cognitive 28) ui-next/src/pages/execution/AgentExecution/SubAgentTree.tsx:53— SubAgentNode has cyclomatic complexity 30 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function (anonymous) (cyclomatic 29, cognitive 56) ui-next/src/utils/hooks/useConductorProjectBuilder.ts:73— (anonymous) has cyclomatic complexity 29 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
R3 · Large Files· ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx · ×1
ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx: 2154 lines of code ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx:1— ui-next/src/pages/execution/AgentExecution/AgentDetailPanel.tsx has 2154 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts · ×1
ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts: 2056 lines of code ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:1— ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts has 2056 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx · ×1
ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx: 1969 lines of code ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx:1— ui-next/src/pages/execution/AgentExecution/AgentExecutionDiagram.tsx has 1969 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/definition/state/machine.ts · ×1
ui-next/src/pages/definition/state/machine.ts: 1338 lines of code ui-next/src/pages/definition/state/machine.ts:1— ui-next/src/pages/definition/state/machine.ts has 1338 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/definition/state/action.ts · ×1
ui-next/src/pages/definition/state/action.ts: 1079 lines of code ui-next/src/pages/definition/state/action.ts:1— ui-next/src/pages/definition/state/action.ts has 1079 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/creatorFlags/CreatorFlags.tsx · ×1
ui-next/src/pages/creatorFlags/CreatorFlags.tsx: 1029 lines of code ui-next/src/pages/creatorFlags/CreatorFlags.tsx:1— ui-next/src/pages/creatorFlags/CreatorFlags.tsx has 1029 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx · ×1
ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx: 971 lines of code ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx:1— ui-next/src/pages/execution/AgentExecution/AgentDefinitionView.tsx has 971 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/components/features/flow/components/RichAddTaskMenu/QuickAddMenu.tsx · ×1
ui-next/src/components/features/flow/components/RichAddTaskMenu/QuickAddMenu.tsx: 891 lines of code ui-next/src/components/features/flow/components/RichAddTaskMenu/QuickAddMenu.tsx:1— ui-next/src/components/features/flow/components/RichAddTaskMenu/QuickAddMenu.tsx has 891 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/definitions/Scheduler/Schedules.tsx · ×1
ui-next/src/pages/definitions/Scheduler/Schedules.tsx: 879 lines of code ui-next/src/pages/definitions/Scheduler/Schedules.tsx:1— ui-next/src/pages/definitions/Scheduler/Schedules.tsx has 879 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/components/features/flow/components/RichAddTaskMenu/AddTaskSidebar.tsx · ×1
ui-next/src/components/features/flow/components/RichAddTaskMenu/AddTaskSidebar.tsx: 827 lines of code ui-next/src/components/features/flow/components/RichAddTaskMenu/AddTaskSidebar.tsx:1— ui-next/src/components/features/flow/components/RichAddTaskMenu/AddTaskSidebar.tsx has 827 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/execution/Execution.tsx · ×1
ui-next/src/pages/execution/Execution.tsx: 816 lines of code ui-next/src/pages/execution/Execution.tsx:1— ui-next/src/pages/execution/Execution.tsx has 816 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/execution/WorkflowIntrospection.tsx · ×1
ui-next/src/pages/execution/WorkflowIntrospection.tsx: 805 lines of code ui-next/src/pages/execution/WorkflowIntrospection.tsx:1— ui-next/src/pages/execution/WorkflowIntrospection.tsx has 805 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui/src/pages/errors/ErrorsInspector.jsx · ×1
ui/src/pages/errors/ErrorsInspector.jsx: 805 lines of code ui/src/pages/errors/ErrorsInspector.jsx:1— ui/src/pages/errors/ErrorsInspector.jsx has 805 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/components/features/flow/components/RichAddTaskMenu/taskGenerator.ts · ×1
ui-next/src/components/features/flow/components/RichAddTaskMenu/taskGenerator.ts: 804 lines of code ui-next/src/components/features/flow/components/RichAddTaskMenu/taskGenerator.ts:1— ui-next/src/components/features/flow/components/RichAddTaskMenu/taskGenerator.ts has 804 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/scheduler/Schedule.tsx · ×1
ui-next/src/pages/scheduler/Schedule.tsx: 799 lines of code ui-next/src/pages/scheduler/Schedule.tsx:1— ui-next/src/pages/scheduler/Schedule.tsx has 799 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/utils/cloudTemplates.ts · ×1
ui-next/src/utils/cloudTemplates.ts: 759 lines of code ui-next/src/utils/cloudTemplates.ts:1— ui-next/src/utils/cloudTemplates.ts has 759 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
ui-next/src/utils/query.ts: 754 lines of code ui-next/src/utils/query.ts:1— ui-next/src/utils/query.ts has 754 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx · ×1
ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx: 724 lines of code ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx:1— ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx has 724 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/utils/fieldHelpers.tsx · ×1
ui-next/src/utils/fieldHelpers.tsx: 703 lines of code ui-next/src/utils/fieldHelpers.tsx:1— ui-next/src/utils/fieldHelpers.tsx has 703 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/runWorkflow/RunWorkflow.tsx · ×1
ui-next/src/pages/runWorkflow/RunWorkflow.tsx: 697 lines of code ui-next/src/pages/runWorkflow/RunWorkflow.tsx:1— ui-next/src/pages/runWorkflow/RunWorkflow.tsx has 697 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx · ×1
ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx: 675 lines of code ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx:1— ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx has 675 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/definition/task/form/TaskDefinitionForm.tsx · ×1
ui-next/src/pages/definition/task/form/TaskDefinitionForm.tsx: 667 lines of code ui-next/src/pages/definition/task/form/TaskDefinitionForm.tsx:1— ui-next/src/pages/definition/task/form/TaskDefinitionForm.tsx has 667 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/definition/state/taskModifier/taskModifier.ts · ×1
ui-next/src/pages/definition/state/taskModifier/taskModifier.ts: 655 lines of code ui-next/src/pages/definition/state/taskModifier/taskModifier.ts:1— ui-next/src/pages/definition/state/taskModifier/taskModifier.ts has 655 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui/src/components/diagram/WorkflowGraph.jsx · ×1
ui/src/components/diagram/WorkflowGraph.jsx: 652 lines of code ui/src/components/diagram/WorkflowGraph.jsx:1— ui/src/components/diagram/WorkflowGraph.jsx has 652 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
ui/src/theme/theme.js: 648 lines of code ui/src/theme/theme.js:1— ui/src/theme/theme.js has 648 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/plugins/registry/types.ts · ×1
ui-next/src/plugins/registry/types.ts: 630 lines of code ui-next/src/plugins/registry/types.ts:1— ui-next/src/plugins/registry/types.ts has 630 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/execution/AgentExecution/AgentRunView.tsx · ×1
ui-next/src/pages/execution/AgentExecution/AgentRunView.tsx: 627 lines of code ui-next/src/pages/execution/AgentExecution/AgentRunView.tsx:1— ui-next/src/pages/execution/AgentExecution/AgentRunView.tsx has 627 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/components/features/agents/AgentSnapshotDetails.tsx · ×1
ui-next/src/components/features/agents/AgentSnapshotDetails.tsx: 608 lines of code ui-next/src/components/features/agents/AgentSnapshotDetails.tsx:1— ui-next/src/components/features/agents/AgentSnapshotDetails.tsx has 608 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
ui-next/src/utils/date.ts: 589 lines of code ui-next/src/utils/date.ts:1— ui-next/src/utils/date.ts has 589 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/definitions/Workflow.tsx · ×1
ui-next/src/pages/definitions/Workflow.tsx: 568 lines of code ui-next/src/pages/definitions/Workflow.tsx:1— ui-next/src/pages/definitions/Workflow.tsx has 568 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/definition/EditorPanel/TaskFormTab/TaskFormContent.tsx · ×1
ui-next/src/pages/definition/EditorPanel/TaskFormTab/TaskFormContent.tsx: 567 lines of code ui-next/src/pages/definition/EditorPanel/TaskFormTab/TaskFormContent.tsx:1— ui-next/src/pages/definition/EditorPanel/TaskFormTab/TaskFormContent.tsx has 567 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx · ×1
ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx: 565 lines of code ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx:1— ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx has 565 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/execution/state/machine.ts · ×1
ui-next/src/pages/execution/state/machine.ts: 564 lines of code ui-next/src/pages/execution/state/machine.ts:1— ui-next/src/pages/execution/state/machine.ts has 564 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui/src/components/diagram/WorkflowDAG.js · ×1
ui/src/components/diagram/WorkflowDAG.js: 561 lines of code ui/src/components/diagram/WorkflowDAG.js:1— ui/src/components/diagram/WorkflowDAG.js has 561 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx · ×1
ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx: 551 lines of code ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx:1— ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx has 551 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ChunkTextTaskForm.tsx · ×1
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ChunkTextTaskForm.tsx: 546 lines of code ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ChunkTextTaskForm.tsx:1— ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ChunkTextTaskForm.tsx has 546 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ParseDocumentTaskForm.tsx · ×1
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ParseDocumentTaskForm.tsx: 540 lines of code ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ParseDocumentTaskForm.tsx:1— ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ParseDocumentTaskForm.tsx has 540 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/definitions/Task.tsx · ×1
ui-next/src/pages/definitions/Task.tsx: 538 lines of code ui-next/src/pages/definitions/Task.tsx:1— ui-next/src/pages/definitions/Task.tsx has 538 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/GRPCTaskForm/GRPCTaskForm.tsx · ×1
ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/GRPCTaskForm/GRPCTaskForm.tsx: 537 lines of code ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/GRPCTaskForm/GRPCTaskForm.tsx:1— ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/GRPCTaskForm/GRPCTaskForm.tsx has 537 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
REDACTED: 537 lines of code REDACTED:1— REDACTED has 537 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
Dead file (~708 LoC) ui-next/src/components/features/flow/components/shapes/testDiagrams.js— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~293 LoC) ui-next/src/growthbook/plugins.ts— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui-next/src/growthbook/growthbookInstance.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it
Dead file (~258 LoC) ui-next/src/pages/definitions/dialog/ShareWorkflowDialog.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~256 LoC) ui-next/src/utils/hooks/useConductorProjectBuilder.ts— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui-next/src/components/features/getStartedSample/GetStartedSample.tsx) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it
Dead file (~196 LoC) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/TaskFormFooter.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~158 LoC) ui-next/src/components/features/getStartedSample/GetStartedSample.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~155 LoC) ui-next/src/utils/constants/webhook.ts— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~154 LoC) ui-next/src/components/features/charts/ErrorsChart.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui-next/src/components/features/charts/index.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it
Dead file (~143 LoC) ui-next/src/components/ui/inputs/FileUploadButton.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~139 LoC) ui-next/src/components/ui/inputs/InlineEdit.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~137 LoC) ui-next/src/components/features/charts/chartUtils.ts— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 5 in-repo import(s) from 5 other file(s) do name it (ui-next/src/components/features/charts/CacheChart.tsx, ui-next/src/components/features/charts/ErrorsChart.tsx, ui-next/src/components/features/charts/LatencyChart.tsx and 2 more) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it
Dead file (~120 LoC) ui/src/pages/execution/Legend.jsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~118 LoC) ui-next/src/utils/reactHookForm.ts— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui-next/src/utils/hooks/useEditorForm.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it
Dead file (~115 LoC) ui-next/src/components/ui/ConductorSliderStateless.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui-next/src/components/ui/ConductorSlider.tsx) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it
Dead file (~110 LoC) ui-next/src/components/features/charts/LatencyChart.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui-next/src/components/features/charts/index.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it
Dead file (~109 LoC) ui/src/components/CustomButtons.jsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~101 LoC) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ArrayForm.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/TaskFormFooter.tsx) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it
Dead file (~99 LoC) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/TaskFormStyles.ts— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~94 LoC) ui-next/src/utils/hooks/useEditorForm.ts— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~88 LoC) ui-next/src/components/react-hook-form/ReactHookFormFlatMapForm.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~84 LoC) ui-next/src/components/FlatMapForm/ConductorFieldTypeDropdown.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~80 LoC) ui-next/src/components/features/charts/CacheChart.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui-next/src/components/features/charts/index.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it
Dead file (~78 LoC) ui-next/src/components/ui/inputs/EditInPlace.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui-next/src/pages/definition/WorkflowMetadata/EditInPlaceWrapper/EditInPlaceFieldWrapper.tsx) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it
Dead file (~77 LoC) ui-next/src/pages/definition/task/TaskDefErrorInspector.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~76 LoC) ui-next/src/components/features/flow/components/shapes/TaskCard/icons/TerminateWorkFlow.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~75 LoC) ui-next/src/components/features/agent/useAiContext.ts— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~71 LoC) ui-next/src/components/features/flow/components/shapes/TaskCard/icons/WorkFlow.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~66 LoC) ui-next/src/components/features/charts/RequestsChart.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui-next/src/components/features/charts/index.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it
Dead file (~64 LoC) ui-next/src/components/features/flow/components/shapes/TaskCard/icons/BusinessRule.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~62 LoC) ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/UpdateSecretForm/UpdateSecretTaskForm.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/UpdateSecretForm/index.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it
Dead file (~61 LoC) ui-next/src/pages/definition/task/dialogs/state/hook.ts— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~58 LoC) ui-next/src/components/features/flow/components/shapes/TaskCard/icons/Http.tsx— no import path from any entry point (67 application, 14 tooling, 176 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Unused dependency 'cronstrue' — Declared in REDACTED but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it.
Unused dependency 'js-yaml' — Declared in REDACTED but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it.
Unused dependency 'json-bigint-string' — Declared in REDACTED but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it.
Third-party script without Subresource Integrity ui-next/src/components/App.tsx:84— `//js.hs-scripts.com/20882608.js` is executed by this page with no Subresource Integrity. Whoever can answer that request — the CDN, anyone who compromises it, anyone on the network path — runs arbitrary script in this page's origin, with its session. The URL also names no version, so it resolves to whatever that origin serves at fetch time — the executed bytes can change with nobody touching this repository. 2 such include(s) across the repository's markup.
X27 · Collection changed while being enumerated· Collection is structurally changed while it is being enumerated · ×1
Collection is structurally changed while it is being enumerated common/src/main/java/com/netflix/conductor/common/metadata/workflow/WorkflowDef.java:472— `this.tasks` is enumerated directly, and line 473 calls `this.tasks.addAll(…)` inside the loop body — a structural change to a `LinkedList`. The loop's hidden iterator is fail-fast, so its next `next()` throws `ConcurrentModificationException`: every pass that reaches this call ends the loop by exception instead of by running out of elements, and the remaining elements are never seen.
Orphaned file core/src/main/java/com/netflix/conductor/model/WorkflowModel.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file core/src/main/java/com/netflix/conductor/service/WorkflowService.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file common/src/main/java/com/netflix/conductor/common/run/Workflow.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file core/src/main/java/com/netflix/conductor/core/events/DefaultEventProcessor.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/WorkflowServiceImpl.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file grpc-client/src/main/java/com/netflix/conductor/client/grpc/WorkflowClient.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisMetadataDAO.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file http-task/src/main/java/com/netflix/conductor/tasks/http/HttpTask.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file core/src/main/java/com/netflix/conductor/core/utils/ExternalPayloadStorageUtils.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file common/src/main/java/com/netflix/conductor/common/run/TaskSummary.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/TaskServiceImpl.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file core/src/main/java/com/netflix/conductor/core/events/queue/DefaultEventQueueProcessor.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file core/src/main/java/com/netflix/conductor/core/execution/mapper/TaskMapperContext.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/WorkflowStatusListenerFactory.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file core/src/main/java/com/netflix/conductor/service/TaskService.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/metadata/SqliteWorkflowMetadataDAO.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file core/src/main/java/com/netflix/conductor/core/metadata/MetadataMapperService.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file grpc-client/src/main/java/com/netflix/conductor/client/grpc/TaskClient.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file core/src/main/java/com/netflix/conductor/core/reconciliation/WorkflowRepairService.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file workflow-event-listener/src/main/java/com/netflix/conductor/contribs/listener/archive/ArchivingWorkflowToS3.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresQueueListener.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteBaseDAO.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/GRPCHelper.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file core/src/main/java/com/netflix/conductor/core/execution/mapper/DecisionTaskMapper.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
Orphaned file core/src/main/java/com/netflix/conductor/core/execution/mapper/DynamicTaskMapper.java:1— No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
README/code drift README.md:194— README.md runs `.\install.ps1 -All`, but `install.ps1` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift README.md:197— README.md runs `powershell -c "irm https://conductor-oss.github.io/conductor-skills/install.ps1 -OutFile install.ps1`, but `https:/conductor-oss.github.io/conductor-skills/install.ps1` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift README.md:208— README.md installs `@io-orkes/conductor-javascript` (`npm install @io-orkes/conductor-javascript`), but no REDACTED declares it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift README.md:210— README.md installs the package `conductor-csharp` (`dotnet add package conductor-csharp`), but no project or props file references it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift ai/README.md:372— ai/README.md links to `url`, but `ai/url` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift ai/README.md:714— ai/README.md documents the environment variable `LITELLM_API_KEY`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docker/README.md:24— docker/README.md links to `docker/server/config/config.properties`, but `docker/docker/server/config/config.properties` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docker/README.md:61— docker/README.md runs `yarn build:`, but no REDACTED declares a `build:` script. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift nats-streaming/README.md:32— nats-streaming/README.md links to `amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/config/AMQPEventQueueProperties.java`, but `nats-streaming/amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/config/AMQPEventQueueProperties.java` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift ui-next/README.md:263— ui-next/README.md names `docker/build-push-action`, but no file or folder `docker/build-push-action` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/quickstart/first-agent.md:117— docs/quickstart/first-agent.md installs `@io-orkes/conductor-javascript` (`npm install @io-orkes/conductor-javascript`), but no REDACTED declares it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/quickstart/first-agent.md:155— docs/quickstart/first-agent.md installs the package `conductor-ai` (`dotnet add package conductor-ai`), but no project or props file references it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/quickstart/first-worker.md:202— docs/quickstart/first-worker.md installs `@io-orkes/conductor-javascript` (`npm install @io-orkes/conductor-javascript`), but no REDACTED declares it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/quickstart/first-worker.md:249— docs/quickstart/first-worker.md runs `npx tsx quickstart.ts`, but `quickstart.ts` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/quickstart/first-worker.md:262— docs/quickstart/first-worker.md installs the package `conductor-csharp` (`dotnet add package conductor-csharp`), but no project or props file references it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/devguide/ai/agent-configuration.md:30— docs/devguide/ai/agent-configuration.md documents the setting `context_window_budget`, but no code or configuration file names `context_window_budget`. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/devguide/ai/agent-configuration.md:42— docs/devguide/ai/agent-configuration.md documents the setting `local_code_execution`, but no code or configuration file names `local_code_execution`. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/devguide/ai/agent-configuration.md:43— docs/devguide/ai/agent-configuration.md documents the setting `allowed_languages`, but no code or configuration file names `allowed_languages`. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/devguide/ai/agent-configuration.md:62— docs/devguide/ai/agent-configuration.md documents the setting `on_event`, but no code or configuration file names `on_event`. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/devguide/ai/agent-configuration.md:63— docs/devguide/ai/agent-configuration.md documents the setting `run_settings`, but no code or configuration file names `run_settings`. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/devguide/ai/first-ai-agent.md:56— docs/devguide/ai/first-ai-agent.md documents the environment variable `CONDUCTOR_AGENT_LLM_MODEL`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/devguide/how-tos/conductor-skills.md:39— docs/devguide/how-tos/conductor-skills.md runs `.\install.ps1 -All`, but `install.ps1` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/devguide/how-tos/conductor-skills.md:321— docs/devguide/how-tos/conductor-skills.md names `.github/copilot-instructions.md`, but no file or folder `.github/copilot-instructions.md` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/devguide/running/source.md:52— docs/devguide/running/source.md documents the environment variable `CONDUCTOR_VER`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift docs/documentation/cli/index.md:30— docs/documentation/cli/index.md documents the environment variable `INSTALL_DIR`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
Interpolated log message defeats structured logging amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:139— `info` at line 139 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPObservableQueue.java:308— `info` at line 308 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:215— `debug` at line 215 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.debug("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:222— `error` at line 222 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:345— `info` at line 345 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:351— `info` at line 351 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:359— `info` at line 359 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:367— `info` at line 367 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging amqp/src/main/java/com/netflix/conductor/contribs/queue/amqp/AMQPConnection.java:389— `info` at line 389 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/eventqueue/SQSObservableQueue.java:272— `info` at line 272 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/eventqueue/SQSObservableQueue.java:275— `info` at line 275 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/eventqueue/SQSObservableQueue.java:285— `info` at line 285 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/eventqueue/SQSObservableQueue.java:286— `info` at line 286 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/config/cache/CacheableMetadataDAO.java:160— `debug` at line 160 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.debug("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/config/cache/CacheableEventHandlerDAO.java:129— `debug` at line 129 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.debug("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging core/src/main/java/com/netflix/conductor/core/events/DefaultEventQueueManager.java:163— `error` at line 163 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging core/src/main/java/com/netflix/conductor/core/events/queue/DefaultEventQueueProcessor.java:169— `info` at line 169 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2754— `error` at line 2754 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutorOps.java:2807— `error` at line 2807 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java:144— `debug` at line 144 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.debug("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging REDACTED:114— `error` at line 114 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging core/src/main/java/org/conductoross/conductor/core/execution/tasks/annotated/AnnotatedWorkflowSystemTask.java:113— `error` at line 113 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging core/src/main/java/org/conductoross/conductor/core/execution/tasks/annotated/AnnotatedWorkflowSystemTask.java:125— `error` at line 125 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:265— `info` at line 265 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
Interpolated log message defeats structured logging es7-persistence/src/main/java/com/netflix/conductor/es7/dao/index/ElasticSearchRestDAOV7.java:282— `error` at line 282 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text.
+ 15 more in this group — see findings.md.
P2 · Observability· Console output used as the logging channel · ×31
Console output used as the logging channel ui-next/src/components/ErrorBoundary.tsx:27— `ui-next/src/components/ErrorBoundary.tsx` reports through `console.*` at line 27 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/components/features/agent/useAiContext.ts:56— `ui-next/src/components/features/agent/useAiContext.ts` reports through `console.*` at line 56 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/components/features/charts/chartUtils.ts:70— `ui-next/src/components/features/charts/chartUtils.ts` reports through `console.*` at line 70 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/components/features/charts/chartUtils.ts:94— `ui-next/src/components/features/charts/chartUtils.ts` reports through `console.*` at line 94 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/components/features/flow/components/RichAddTaskMenu/state/actions.ts:94— `ui-next/src/components/features/flow/components/RichAddTaskMenu/state/actions.ts` reports through `console.*` at line 94 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/components/features/flow/components/graphs/PanAndZoomWrapper/exportDiagram.ts:66— `ui-next/src/components/features/flow/components/graphs/PanAndZoomWrapper/exportDiagram.ts` reports through `console.*` at line 66 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/components/features/flow/state/service.ts:104— `ui-next/src/components/features/flow/state/service.ts` reports through `console.*` at line 104 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/pages/definition/EditorPanel/CodeEditorTab/CodeTab.tsx:168— `ui-next/src/pages/definition/EditorPanel/CodeEditorTab/CodeTab.tsx` reports through `console.*` at line 168 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SimpleTaskNameInput.tsx:115— `ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SimpleTaskNameInput.tsx` reports through `console.*` at line 115 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/MCPTaskForm.tsx:236— `ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/MCPTaskForm.tsx` reports through `console.*` at line 236 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ChunkTextTaskForm.tsx:227— `ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/ChunkTextTaskForm.tsx` reports through `console.*` at line 227 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/pages/eventMonitor/EventMonitorDetail/Refresher/state/services.ts:29— `ui-next/src/pages/eventMonitor/EventMonitorDetail/Refresher/state/services.ts` reports through `console.*` at line 29 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/pages/eventMonitor/EventMonitorDetail/Refresher/state/services.ts:44— `ui-next/src/pages/eventMonitor/EventMonitorDetail/Refresher/state/services.ts` reports through `console.*` at line 44 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/pages/eventMonitor/EventMonitorDetail/Refresher/state/services.ts:64— `ui-next/src/pages/eventMonitor/EventMonitorDetail/Refresher/state/services.ts` reports through `console.*` at line 64 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/pages/execution/WorkflowIntrospection.tsx:327— `ui-next/src/pages/execution/WorkflowIntrospection.tsx` reports through `console.*` at line 327 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/pages/execution/WorkflowIntrospection.tsx:866— `ui-next/src/pages/execution/WorkflowIntrospection.tsx` reports through `console.*` at line 866 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/pages/execution/AgentExecution/AgentExecutionTab.tsx:65— `ui-next/src/pages/execution/AgentExecution/AgentExecutionTab.tsx` reports through `console.*` at line 65 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/pages/execution/AgentExecution/AgentExecutionTab.tsx:129— `ui-next/src/pages/execution/AgentExecution/AgentExecutionTab.tsx` reports through `console.*` at line 129 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/pages/scheduler/Schedule.tsx:184— `ui-next/src/pages/scheduler/Schedule.tsx` reports through `console.*` at line 184 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/plugins/registry/registry.ts:89— `ui-next/src/plugins/registry/registry.ts` reports through `console.*` at line 89 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/plugins/registry/registry.ts:103— `ui-next/src/plugins/registry/registry.ts` reports through `console.*` at line 103 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/plugins/registry/registry.ts:423— `ui-next/src/plugins/registry/registry.ts` reports through `console.*` at line 423 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/shared/createAndDisplayApplication/MetadataBanner.tsx:247— `ui-next/src/shared/createAndDisplayApplication/MetadataBanner.tsx` reports through `console.*` at line 247 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/utils/utils.ts:62— `ui-next/src/utils/utils.ts` reports through `console.*` at line 62 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel ui-next/src/utils/utils.ts:70— `ui-next/src/utils/utils.ts` reports through `console.*` at line 70 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Duplicated predicate postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:246— `!StringUtils.isEmpty(freeText) && !freeText.equals("*")` appears character-identically in 2 files — postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java, sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate ai/src/main/java/org/conductoross/conductor/ai/a2a/A2AService.java:567— `!data.isEmpty() && !data.equals("[DONE]")` appears character-identically in 2 files — ai/src/main/java/org/conductoross/conductor/ai/a2a/A2AService.java, ai/src/main/java/org/conductoross/conductor/ai/mcp/MCPService.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java:186— `!messagesSlice.isEmpty() || ((System.currentTimeMillis() - start) > timeout)` appears character-identically in 2 files — postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresQueueDAO.java, sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/dao/SqliteQueueDAO.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java:583— `"Y".equalsIgnoreCase(text) || "YES".equalsIgnoreCase(text) || "TRUE".equalsIgnoreCase(text) || "T".equalsIgnoreCase(text) || "1".equalsIgnor…` appears character-identically in 3 files — mysql-persistence/src/main/java/com/netflix/conductor/mysql/util/Query.java, postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/Query.java, sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/Query.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:272— `"agent_hierarchy".equals(attribute) && Arrays.asList(VALID_SORT_ORDER).contains(order)` appears character-identically in 2 files — postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java, sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:120— `"classifier".equals(attribute) && values != null && values.stream().anyMatch(WorkflowClassifier.WORKFLOW::equalsIgnoreCase)` appears character-identically in 2 files — postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java, sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:274— `"message/stream".equals(method) || "tasks/sendSubscribe".equals(method)` appears character-identically in 2 files — agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java, ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AServerResource.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:956— `"on_condition".equals(handoff.getType()) && handoff.getTaskName() != null && !handoff.getTaskName().isBlank()` appears character-identically in 2 files — agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java, common/src/main/java/org/conductoross/conductor/common/metadata/agent/AgentConfig.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:947— `"worker".equals(tool.getToolType()) && tool.getName() != null && !tool.getName().isBlank()` appears character-identically in 2 files — agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java, common/src/main/java/org/conductoross/conductor/common/metadata/agent/AgentConfig.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:422— `("HUMAN".equals(type) || "WAIT".equals(type)) && task.getStatus() != null && !task.getStatus().isTerminal()` appears character-identically in 2 files — agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java, ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java:275— `Arrays.asList(VALID_FIELDS).contains(attribute) && Arrays.asList(VALID_SORT_ORDER).contains(order)` appears character-identically in 2 files — postgres-persistence/src/main/java/com/netflix/conductor/postgres/util/PostgresIndexQueryBuilder.java, sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/util/SqliteIndexQueryBuilder.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate postgres-persistence/src/main/java/com/netflix/conductor/postgres/config/PostgresConfiguration.java:213— `ER_LOCK_DEADLOCK.equals(sqlException.getSQLState()) || ER_SERIALIZATION_FAILURE.equals(sqlException.getSQLState())` appears character-identically in 2 files — postgres-persistence/src/main/java/com/netflix/conductor/postgres/config/PostgresConfiguration.java, sqlite-persistence/src/main/java/com/netflix/conductor/sqlite/config/SqliteConfiguration.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate core/src/main/java/com/netflix/conductor/core/execution/mapper/WaitTaskMapper.java:93— `StringUtils.isNotBlank(duration) && StringUtils.isNotBlank(until)` appears character-identically in 2 files — core/src/main/java/com/netflix/conductor/core/execution/mapper/WaitTaskMapper.java, core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:543— `TaskState.isTerminal(state) || TaskState.isInterrupted(state)` appears character-identically in 2 files — agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java, ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java:446— `Workflow.WorkflowStatus.COMPLETED == workflow.getStatus() && workflow.getOutput() != null && !workflow.getOutput().isEmpty()` appears character-identically in 2 files — agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java, ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java:592— `aiModelProvider == null || chatCompletion.getLlmProvider() == null` appears character-identically in 2 files — agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/ai/AgentChatCompleteTaskMapper.java, ai/src/main/java/org/conductoross/conductor/ai/tasks/mapper/ChatCompleteTaskMapper.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java:205— `assistantMsg.getText() != null && !assistantMsg.getText().isBlank()` appears character-identically in 2 files — ai/src/main/java/org/conductoross/conductor/ai/providers/anthropic/AnthropicChatModel.java, ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiChatModel.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:56— `buffer.length > 1 && buffer[0] == 'O' && buffer[1] == 'R'` appears character-identically in 8 files — es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java, es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/BooleanOp.java, es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java, es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/BooleanOp.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:58— `buffer.length > 2 && buffer[0] == 'A' && buffer[1] == 'N' && buffer[2] == 'D'` appears character-identically in 8 files — es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java, es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/BooleanOp.java, es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java, es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/BooleanOp.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:87— `c == ' ' || c == '\t' || c == '\n' || c == '\r'` appears character-identically in 4 files — es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java, es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java, os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java, os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:101— `c == '-' || c == 'e' || (c >= '0' && c <= '9') || c == '.'` appears character-identically in 4 files — es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java, es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java, os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java, os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java:90— `c == '=' || c == '>' || c == '<' || c == '!'` appears character-identically in 4 files — es7-persistence/src/main/java/com/netflix/conductor/es7/dao/query/parser/internal/AbstractNode.java, es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/query/parser/internal/AbstractNode.java, os-persistence-v2/src/main/java/org/conductoross/conductor/os2/dao/query/parser/internal/AbstractNode.java, os-persistence-v3/src/main/java/org/conductoross/conductor/os3/dao/query/parser/internal/AbstractNode.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java:233— `c.content() == null || c.content().parts() == null` appears character-identically in 2 files — ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java, ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/api/GeminiApi.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:965— `callback.getTaskName() != null && !callback.getTaskName().isBlank()` appears character-identically in 2 files — agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java, common/src/main/java/org/conductoross/conductor/common/metadata/agent/AgentConfig.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java:1526— `classifier == null || classifier.isBlank()` appears character-identically in 3 files — agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentService.java, rest/src/main/java/com/netflix/conductor/rest/controllers/MetadataResource.java, rest/src/main/java/com/netflix/conductor/rest/controllers/WorkflowResource.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Fat interface: PluginRegistry (26 required operations) ui-next/src/plugins/registry/types.ts:585— `PluginRegistry` declares 26 required operations: `register`, `getPlugins`, `getRoutes`, `getPublicRoutes`, `getSidebarItems`, `getTaskForm`, `getTaskMenuItems`, `getAuthProvider`, `getSearchProviders`, `getSidebarExtensions`, `getTaskDocUrl`, `getTaskDocUrls`, `getGlobalComponents`, `getNewIntegrationModal`, `getPlaygroundHomePage`, `getAppLayout`, `getDependencySections`, `getTaskExecutionPanels`, `getTaskValidationErrors`, `runPreSaveValidation`, `getSchemaEditDialog`, `getSchemaPreviewDialog`, `getGeneratedKeyDialog`, `getLoginPage`, `getAuthGuard`, `getAccessToken`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: AdvancedSearchProps (17 required operations) ui-next/src/pages/executions/workflowSearchComponents/AdvancedSearch.tsx:45— `AdvancedSearchProps` declares 17 required operations: `doSearch`, `getTableTitle`, `setFreeText`, `setStatus`, `setStartTimeFrom`, `onStartFromChange`, `setStartTimeTo`, `onStartToChange`, `setEndTimeFrom`, `onEndFromChange`, `setEndTimeTo`, `onEndToChange`, `setFromDisplayTime`, `setToDisplayTime`, `setOpenDateSelect`, `setStartOpenDatePicker`, `setEndOpenDatePicker`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: BasicSearchProps (17 required operations) ui-next/src/pages/executions/workflowSearchComponents/BasicSearch.tsx:40— `BasicSearchProps` declares 17 required operations: `doSearch`, `getTableTitle`, `setFreeText`, `setStatus`, `setStartTimeFrom`, `onStartFromChange`, `setStartTimeTo`, `onStartToChange`, `setEndTimeFrom`, `onEndFromChange`, `setEndTimeTo`, `onEndToChange`, `setFromDisplayTime`, `setToDisplayTime`, `setOpenDateSelect`, `setStartOpenDatePicker`, `setEndOpenDatePicker`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: AdvancedSearchProps (17 required operations) ui-next/src/pages/agent/executions/workflowSearchComponents/AdvancedSearch.tsx:45— `AdvancedSearchProps` declares 17 required operations: `doSearch`, `getTableTitle`, `setFreeText`, `setStatus`, `setStartTimeFrom`, `onStartFromChange`, `setStartTimeTo`, `onStartToChange`, `setEndTimeFrom`, `onEndFromChange`, `setEndTimeTo`, `onEndToChange`, `setFromDisplayTime`, `setToDisplayTime`, `setOpenDateSelect`, `setStartOpenDatePicker`, `setEndOpenDatePicker`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: BasicSearchProps (17 required operations) ui-next/src/pages/agent/executions/workflowSearchComponents/BasicSearch.tsx:40— `BasicSearchProps` declares 17 required operations: `doSearch`, `getTableTitle`, `setFreeText`, `setStatus`, `setStartTimeFrom`, `onStartFromChange`, `setStartTimeTo`, `onStartToChange`, `setEndTimeFrom`, `onEndFromChange`, `setEndTimeTo`, `onEndToChange`, `setFromDisplayTime`, `setToDisplayTime`, `setOpenDateSelect`, `setStartOpenDatePicker`, `setEndOpenDatePicker`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: JedisCommands (59 abstract methods) redis-api/src/main/java/com/netflix/conductor/redis/jedis/JedisCommands.java:26— `JedisCommands` declares 59 abstract methods: `del`, `evalsha`, `evalsha`, `exists`, `expire`, `get`, `getBytes`, `hdel`, `hexists`, `hget`, `hincrBy`, `hlen`, `hscan`, `hscan`, `hset`, `hset`, `hsetnx`, `hvals`, `incrBy`, `info`, `llen`, `lrange`, `ltrim`, `mget`, `mgetBytes`, `mset`, `persist`, `ping`, `rpush`, `sadd`, `scan`, `scard`, `scriptLoad`, `set`, `set`, `set`, `set`, `setnx`, `sismember`, `smembers`, and 19 more. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. Those 59 declarations carry 49 distinct name(s), so part of the width is overloading rather than separate responsibilities — but 49 operations clears the >15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: ExecutionDAO (26 abstract methods) core/src/main/java/com/netflix/conductor/dao/ExecutionDAO.java:23— `ExecutionDAO` declares 26 abstract methods: `addEventExecution`, `canSearchAcrossWorkflows`, `createTasks`, `createWorkflow`, `getInProgressTaskCount`, `getPendingTasksByWorkflow`, `getPendingTasksForTaskType`, `getPendingWorkflowCount`, `getPendingWorkflowsByType`, `getRunningWorkflowIds`, `getTask`, `getTasks`, `getTasks`, `getTasksForWorkflow`, `getWorkflow`, `getWorkflow`, `getWorkflowsByCorrelationId`, `getWorkflowsByType`, `removeEventExecution`, `removeFromPendingWorkflow`, `removeTask`, `removeWorkflow`, `removeWorkflowWithExpiry`, `updateEventExecution`, `updateTask`, `updateWorkflow`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. Those 26 declarations carry 24 distinct name(s), so part of the width is overloading rather than separate responsibilities — but 24 operations clears the >15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: IndexDAO (29 abstract methods) core/src/main/java/com/netflix/conductor/dao/IndexDAO.java:26— `IndexDAO` declares 29 abstract methods: `addEventExecution`, `addMessage`, `addTaskExecutionLogs`, `asyncAddEventExecution`, `asyncAddMessage`, `asyncAddTaskExecutionLogs`, `asyncIndexTask`, `asyncIndexWorkflow`, `asyncRemoveTask`, `asyncRemoveWorkflow`, `asyncUpdateTask`, `asyncUpdateWorkflow`, `get`, `getEventExecutions`, `getMessages`, `getTaskExecutionLogs`, `getWorkflowCount`, `indexTask`, `indexWorkflow`, `removeTask`, `removeWorkflow`, `searchArchivableWorkflows`, `searchTaskSummary`, `searchTasks`, `searchWorkflowSummary`, `searchWorkflows`, `setup`, `updateTask`, `updateWorkflow`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: WorkflowExecutor (22 abstract methods) core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutor.java:32— `WorkflowExecutor` declares 22 abstract methods: `decide`, `decideWithLock`, `getRunningWorkflowIds`, `getRunningWorkflows`, `getTask`, `getWorkflow`, `getWorkflows`, `pauseWorkflow`, `rerun`, `resetCallbacksForWorkflow`, `restart`, `resumeWorkflow`, `retry`, `scheduleNextIteration`, `skipTaskFromWorkflow`, `startAgentExecution`, `startAgentExecution`, `startWorkflow`, `startWorkflowIdempotent`, `terminateWorkflow`, `terminateWorkflow`, `updateTask`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. Those 22 declarations carry 20 distinct name(s), so part of the width is overloading rather than separate responsibilities — but 20 operations clears the >15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: MetadataService (22 abstract methods) core/src/main/java/com/netflix/conductor/service/MetadataService.java:33— `MetadataService` declares 22 abstract methods: `addEventHandler`, `findWorkflowDef`, `getAllEventHandlers`, `getEventHandlersForEvent`, `getLatestWorkflow`, `getTaskDef`, `getTaskDefs`, `getWorkflowDef`, `getWorkflowDefs`, `getWorkflowDefsLatestVersions`, `getWorkflowNames`, `getWorkflowNamesAndVersions`, `getWorkflowVersions`, `registerTaskDef`, `registerWorkflowDef`, `removeEventHandlerStatus`, `unregisterTaskDef`, `unregisterWorkflowDef`, `updateEventHandler`, `updateTaskDef`, `updateWorkflowDef`, `updateWorkflowDef`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. Those 22 declarations carry 21 distinct name(s), so part of the width is overloading rather than separate responsibilities — but 21 operations clears the >15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: TaskService (24 abstract methods) core/src/main/java/com/netflix/conductor/service/TaskService.java:34— `TaskService` declares 24 abstract methods: `ackTaskReceived`, `ackTaskReceived`, `allVerbose`, `batchPoll`, `getAllPollData`, `getAllQueueDetails`, `getExternalStorageLocation`, `getPendingTaskForWorkflow`, `getPollData`, `getTask`, `getTaskLogs`, `getTaskQueueSize`, `getTaskQueueSizes`, `getTasks`, `log`, `poll`, `removeTaskFromQueue`, `removeTaskFromQueue`, `requeuePendingTask`, `search`, `searchV2`, `signalTask`, `updateTask`, `updateTask`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. Those 24 declarations carry 21 distinct name(s), so part of the width is overloading rather than separate responsibilities — but 21 operations clears the >15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: WorkflowService (28 abstract methods) core/src/main/java/com/netflix/conductor/service/WorkflowService.java:37— `WorkflowService` declares 28 abstract methods: `decideWorkflow`, `deleteWorkflow`, `getExecutionStatus`, `getExternalStorageLocation`, `getRunningWorkflows`, `getWorkflowModel`, `getWorkflows`, `getWorkflows`, `pauseWorkflow`, `rerunWorkflow`, `resetWorkflow`, `restartWorkflow`, `resumeWorkflow`, `retryWorkflow`, `searchWorkflows`, `searchWorkflows`, `searchWorkflowsByTasks`, `searchWorkflowsByTasks`, `searchWorkflowsByTasksV2`, `searchWorkflowsByTasksV2`, `searchWorkflowsV2`, `searchWorkflowsV2`, `skipTaskFromWorkflow`, `startWorkflow`, `startWorkflow`, `startWorkflow`, `terminateRemove`, `terminateWorkflow`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. Those 28 declarations carry 21 distinct name(s), so part of the width is overloading rather than separate responsibilities — but 21 operations clears the >15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: VideoOptions (20 abstract methods) ai/src/main/java/org/conductoross/conductor/ai/video/VideoOptions.java:26— `VideoOptions` declares 20 abstract methods: `getAspectRatio`, `getDuration`, `getFps`, `getGenerateAudio`, `getGenerateThumbnail`, `getGuidanceScale`, `getHeight`, `getInputImage`, `getModel`, `getMotion`, `getN`, `getNegativePrompt`, `getOutputFormat`, `getPersonGeneration`, `getResolution`, `getSeed`, `getSize`, `getStyle`, `getThumbnailTimestamp`, `getWidth`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Silent fallback default in catch redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisSkillMetadataDAO.java:149— `readUpdatedAt` swallows every exception into `return 0L` — a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing.
Silent fallback default in catch awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/eventqueue/SQSObservableQueue.java:120— `size` swallows every exception into `return -1` — a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing.
Silent fallback default in catch ui-next/src/pages/execution/AgentExecution/agentExecutionUtils.ts:1524— `transformWorkflowExecutionToAgentRun` swallows every exception into `return "[complex data]"` — a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing.
Silent fallback default in catch ui-next/src/pages/definition/confirmSave/state/services.ts:109— `refetchAllDefinitionsOfCurrentWorkflow` swallows every exception into `return {}` — a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing.
Silent fallback default in catch ui-next/src/pages/definition/commonService.ts:72— `getEnvVariables` swallows every exception into `return {}` — a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing.
Silent fallback default in catch ui-next/src/pages/definition/state/services.ts:81— `fetchSecrets` swallows every exception into `return {}` — a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing.
Silent fallback default in catch ui-next/src/pages/definition/state/services.ts:155— `refetchCurrentWorkflowVersionsService` swallows every exception into `return {}` — a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing.
Silent fallback default in catch ui-next/src/utils/date.ts:64— `timestampRendererLocal` swallows every exception into `return ""` — a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing.
Silent fallback default in catch ui-next/src/utils/date.ts:593— `getTimeZoneAbbreviation` swallows every exception into `return ""` — a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing.
Silent fallback default in catch ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/SimpleTaskForm/TemplateKeys.tsx:28— `deserializeOrDash` swallows every exception into `return "-"` — a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing.
Silent fallback default in catch ui/src/pages/execution/TaskHumanForm.jsx:17— `Yup.addMethod("isJson")` swallows every exception into `return false` — a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing.
Silent fallback default in catch ui/src/pages/workbench/WorkbenchForm.jsx:55— `Yup.addMethod("isJson")` swallows every exception into `return false` — a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing.
Off-boarding risk: anonymized user #1 — If anonymized user #1 becomes unavailable, 42 significant file(s) lose their only recent owner: ui-next/src/pages/definition/state/machine.ts, ui-next/src/pages/definition/state/action.ts, ui-next/src/theme/tokens/colors.ts, ui-next/src/pages/definitions/EventHandler.tsx, ui-next/src/pages/definition/EditorPanel/EditorPanel.tsx, ui-next/src/components/features/testTask/TestTask.tsx, ui-next/src/pages/executions/SchedulerExecutions.tsx, ui-next/src/pages/executions/DateControlComponent.tsx (+34 more). Pair on, review, or document these before any departure.
Off-boarding risk: anonymized user #2 — If anonymized user #2 becomes unavailable, 27 significant file(s) lose their only recent owner: mysql-persistence/src/main/java/com/netflix/conductor/mysql/dao/MySQLExecutionDAO.java, cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraExecutionDAO.java, core/src/main/java/com/netflix/conductor/core/execution/mapper/ForkJoinDynamicTaskMapper.java, ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/AgentTaskForm.tsx, core/src/main/java/com/netflix/conductor/core/execution/tasks/SubWorkflow.java, ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertex.java, ai/src/main/java/org/conductoross/conductor/ai/providers/openai/OpenAIVideoModel.java, ai/src/main/java/org/conductoross/conductor/ai/providers/gemini/GeminiVideoModel.java (+19 more). Pair on, review, or document these before any departure.
Off-boarding risk: anonymized user #3 — If anonymized user #3 becomes unavailable, 15 significant file(s) lose their only recent owner: ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/GRPCTaskForm/GRPCTaskForm.tsx, ui-next/src/pages/definition/EditorPanel/TaskFormTab/TaskFormContent.tsx, ui-next/src/pages/definition/EditorPanel/TaskFormTab/forms/MCPTaskForm.tsx, ui-next/src/pages/definition/task/TaskDefinitionButtons.tsx, ui-next/src/pages/agent/CreateAgentGuide.tsx, ui-next/src/pages/scheduler/utils/scheduleTransformers.ts, ui-next/src/pages/definitions/dialog/CloneDialog.tsx, ui-next/src/components/ui/DataTable/Filter.tsx (+7 more). Pair on, review, or document these before any departure.
Off-boarding risk: anonymized user #4 — If anonymized user #4 becomes unavailable, 8 significant file(s) lose their only recent owner: agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2ANativeAgentFacade.java, ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AWorkflowAgent.java, ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AServerResource.java, common/src/main/java/com/netflix/conductor/common/metadata/tasks/ExecutionMetadata.java, agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/a2a/A2AAgentServerResource.java, ai/src/main/java/org/conductoross/conductor/ai/a2a/server/A2AServerProperties.java, agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/OpenAiAssistantsAgentClient.java, agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/VertexAiAgentClient.java. Pair on, review, or document these before any departure.
Off-boarding risk: anonymized user #5 — If anonymized user #5 becomes unavailable, 5 significant file(s) lose their only recent owner: ui-next/src/pages/execution/AgentExecution/mockData.ts, ui-next/src/utils/utils.ts, ui-next/src/utils/helpers.ts, ui-next/src/pages/execution/AgentExecution/TurnBar.tsx, ui-next/src/components/features/flow/state/service.ts. Pair on, review, or document these before any departure.
Off-boarding risk: anonymized user #6 — If anonymized user #6 becomes unavailable, 5 significant file(s) lose their only recent owner: core/src/main/java/com/netflix/conductor/core/execution/tasks/DoWhile.java, postgres-persistence/src/main/java/com/netflix/conductor/postgres/dao/PostgresPollDataDAO.java, cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/config/CassandraProperties.java, core/src/main/java/com/netflix/conductor/core/execution/tasks/Inline.java, core/src/main/java/com/netflix/conductor/core/execution/mapper/JoinTaskMapper.java. Pair on, review, or document these before any departure.
Off-boarding risk: anonymized user #7 — If anonymized user #7 becomes unavailable, 4 significant file(s) lose their only recent owner: ui-next/src/pages/execution/AgentExecution/promptPreviewModel.ts, ui-next/src/pages/execution/AgentExecution/PromptPreview.tsx, ui-next/src/pages/execution/AgentExecution/ContentViews.tsx, ui-next/src/components/ErrorBoundary.tsx. Pair on, review, or document these before any departure.
Off-boarding risk: anonymized user #8 — If anonymized user #8 becomes unavailable, 4 significant file(s) lose their only recent owner: es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/ElasticSearchRestDAOV8.java, es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/Es8IndexManagementSupport.java, es8-persistence/src/main/java/org/conductoross/conductor/es8/dao/index/Es8BulkIngestionSupport.java, es8-persistence/src/main/java/org/conductoross/conductor/es8/config/ElasticSearchProperties.java. Pair on, review, or document these before any departure.
Disabled test ui-next/e2e/integration/llm-workflows.spec.ts:600— A test is skipped/ignored — coverage that looks present but never runs. Re-enable it or delete it so the green run means something.
Disabled test ui-next/e2e/integration/llm-workflows.spec.ts:636— A test is skipped/ignored — coverage that looks present but never runs. Re-enable it or delete it so the green run means something.
Disabled test ui-next/e2e/integration/llm-workflows.spec.ts:672— A test is skipped/ignored — coverage that looks present but never runs. Re-enable it or delete it so the green run means something.
Disabled test ui-next/e2e/integration/run-agent.spec.ts:107— A test is skipped/ignored — coverage that looks present but never runs. Re-enable it or delete it so the green run means something.
Disabled test ui-next/src/pages/definition/errorInspector/state/service.test.ts:143— A test is skipped/ignored — coverage that looks present but never runs. Re-enable it or delete it so the green run means something.
X23 · Unguarded diagnostic materialisation· Diagnostic log message is built whether or not it is wanted · ×5
Diagnostic log message is built whether or not it is wanted core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java:253— `debug` at line 253 is called with an argument built by `nextTasks.stream()` (line 256), whose cost grows with the collection it walks. Java evaluates a call's arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached — and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no `isDebugEnabled`/`isTraceEnabled` test, no debug flag, no lambda or `Supplier` the logger calls only when the level is on.
Diagnostic log message is built whether or not it is wanted core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java:269— `debug` at line 269 is called with an argument built by `unScheduledTasks.stream()` (line 271), whose cost grows with the collection it walks. Java evaluates a call's arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached — and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no `isDebugEnabled`/`isTraceEnabled` test, no debug flag, no lambda or `Supplier` the logger calls only when the level is on.
Diagnostic log message is built whether or not it is wanted core/src/main/java/com/netflix/conductor/core/reconciliation/WorkflowReconciler.java:81— `debug` at line 81 is called with an argument built by `String.join("…", workflowIds)` (line 83), whose cost grows with the collection it walks. Java evaluates a call's arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached — and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no `isDebugEnabled`/`isTraceEnabled` test, no debug flag, no lambda or `Supplier` the logger calls only when the level is on.
Diagnostic log message is built whether or not it is wanted core/src/main/java/com/netflix/conductor/service/TaskServiceImpl.java:100— `debug` at line 100 is called with an argument built by `polledTasks.stream()` (line 102), whose cost grows with the collection it walks. Java evaluates a call's arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached — and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no `isDebugEnabled`/`isTraceEnabled` test, no debug flag, no lambda or `Supplier` the logger calls only when the level is on.
Diagnostic log message is built whether or not it is wanted core/src/main/java/org/conductoross/conductor/core/execution/WorkflowSweeper.java:341— `debug` at line 341 is called with an argument built by `objectMapper.writeValueAsString(workflow)` (line 344), whose cost grows with the collection it walks. Java evaluates a call's arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached — and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no `isDebugEnabled`/`isTraceEnabled` test, no debug flag, no lambda or `Supplier` the logger calls only when the level is on.
No direct assertions: testNoStorageAccount azureblob-storage/src/test/java/com/netflix/conductor/azureblob/storage/AzureBlobPayloadStorageTest.java:62— No conventional assertion call was detected, and 3 of 5 tests in `azureblob-storage` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: testUseConnectionString azureblob-storage/src/test/java/com/netflix/conductor/azureblob/storage/AzureBlobPayloadStorageTest.java:68— No conventional assertion call was detected, and 3 of 5 tests in `azureblob-storage` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: testUseEndpoint azureblob-storage/src/test/java/com/netflix/conductor/azureblob/storage/AzureBlobPayloadStorageTest.java:74— No conventional assertion call was detected, and 3 of 5 tests in `azureblob-storage` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
Silent fallback default on parse failure agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentEventListener.java:389— `toInt` returns `0` when `NumberFormatException` is thrown, with no log or throw — a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing.
Silent fallback default on parse failure agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AgentStreamRegistry.java:317— `parseEventId` returns `0` when `NumberFormatException` is thrown, with no log or throw — a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing.
Silent fallback default on parse failure scripts/fetch-sdk-docs.py:180— `fetch_examples` returns `[]` when `json.JSONDecodeError` is raised, with no log or raise — a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing.
Subsumed condition operand agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:223— `trimmed.startsWith("<!")` can never decide this `||` — every value satisfying `trimmed.startsWith("<!")` also satisfies `trimmed.startsWith("<")`, so the `||` chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident.
Subsumed condition operand ui-next/scripts/playwright-coverage-report.mjs:177— `trimmed.startsWith("*/")` can never decide this `||` — every value satisfying `trimmed.startsWith("*/")` also satisfies `trimmed.startsWith("*")`, so the `||` chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident.
D16 · Bus Factor· Further sole-owners (lower concentration) · ×1
Further sole-owners (lower concentration) — 8 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold — folded into the bus-factor score and metrics (118 single-owned of 1051 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 1051 of the 2184 production source files in this repository met that bar). They are anonymized user #9 (1 file(s)), anonymized user #10 (1 file(s)), anonymized user #11 (1 file(s)), anonymized user #12 (1 file(s)), anonymized user #13 (1 file(s)), anonymized user #14 (1 file(s)) (+2 more) — spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: kafka-event-queue/src/main/java/com/netflix/conductor/kafkaeq/eventqueue/KafkaObservableQueue.java, cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/util/Statements.java, nats/src/main/java/com/netflix/conductor/contribs/queue/nats/JetStreamObservableQueue.java, task-status-listener/src/main/java/com/netflix/conductor/contribs/listener/TaskStatusPublisher.java, core/src/main/java/com/netflix/conductor/core/storage/DummyPayloadStorage.java, core/src/main/java/com/netflix/conductor/dao/MetadataDAO.java, ai/src/main/java/org/conductoross/conductor/ai/providers/litellm/LiteLLM.java, ai/src/main/java/org/conductoross/conductor/ai/http/AIHttpClientProperties.java.
No ADRs found — No ADRs found. No recognised ADR directory (`docs/adr/`, `docs/decisions/`, `adr/`, `docs/rfcs/`, an `ADR0001/` folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (`docs/adr/use-postgres.md`, `docs/adr/2024/0001-x.md`); or a file anywhere whose name is ADR-shaped (`0001-use-postgres.md`, `adr-012-caching.md`); or, when neither turned anything up, a document carrying the decision-record signature (an "Architecture Decision Record" heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these — unnumbered files outside any recognised directory, without those headings — is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in `docs/adr/`.
D26 · Project Cohesion· Projects may be oversized for their cohesion · ×1
Projects may be oversized for their cohesion — 6 of 50 project(s) overshoot their size bounds, lowering Project Cohesion to 7.6/10. The most over is `ui-next` (193217 LoC, 1427 module-visible types across 183 directories). Review these for cohesion — draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers.
D28 · Secrets (history)· Rotate the exposed credentials · ×1
D34 · Knowledge Freshness· Further orphaned files (smaller) · ×1
Further orphaned files (smaller) — 134 smaller file(s) also have no living knowledge — folded into the freshness score and metrics rather than raised one row each — most significant first: core/src/main/java/com/netflix/conductor/model/WorkflowModel.java, core/src/main/java/com/netflix/conductor/service/WorkflowService.java, common/src/main/java/com/netflix/conductor/common/run/Workflow.java, core/src/main/java/com/netflix/conductor/core/events/DefaultEventProcessor.java, grpc-server/src/main/java/com/netflix/conductor/grpc/server/service/WorkflowServiceImpl.java, grpc-client/src/main/java/com/netflix/conductor/client/grpc/WorkflowClient.java, redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisMetadataDAO.java, core/src/main/java/com/netflix/conductor/core/utils/ExternalPayloadStorageUtils.java (and 126 more) (139 orphaned of 1051 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 1051 of the 2184 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway.
Blanket warning suppression ui-next/src/growthbook/plugins.ts:1— A bare `eslint-disable` or `@ts-nocheck` with no rule list switches every lint rule or the whole type checker off for the rest of the file — hidden debt. Disable the specific rule on the specific line, with a justification, instead.
No ADRs — No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
Logging is not universal — Only 39/41 runnable modules use logging (modules with no entry point or server are excluded — they are libraries a runnable module hosts). Silent: `.`, `annotations-processor`.
Security headers incomplete docker/server/nginx/nginx.conf:1— Set: Content-Security-Policy, Permissions-Policy, Referrer-Policy, X-Content-Type-Options, X-Frame-Options. Missing: Strict-Transport-Security — the four headers that carry the points of this card's security-headers term (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options), 0.5 each. (−0.5 on this card.)
X2 · Cancellation propagation· Not all async functions that make a request accept an AbortSignal · ×1
Not all async functions that make a request accept an AbortSignal — Only 0/10 async functions that make a cancellable request (fetch, axios, ky, ofetch) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up — a page navigated away from, an unmounted component, a timed-out job. Take a `signal` (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice — judge against how the function is used.
Null assertions (`!`) reduce the strict null checking score — ~1.6 `!` null assertions per 1k TypeScript source lines — 236 assertion(s) across the 144311 source line(s) of the 1123 TypeScript file(s) read, which is the only code the operator asserts anything in (a `!` in a `.js` file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: ui-next/src/components/FlatMapForm/ConductorAutocompleteVariables.tsx (13), ui-next/src/components/features/flow/nodes/mapper/crumbs.ts (13), ui-next/src/pages/definition/EditorPanel/TaskFormTab/TaskFormContent.tsx (11). Each one tells the compiler to trust the author about null, suppressing the very diagnostic `strictNullChecks` exists to produce.
Skipped (documented): priorIterationsResponseIdIsInjectedOntoCurrentTaskInput ai/src/test/java/org/conductoross/conductor/ai/mapper/AIModelTaskMapperPreviousResponseIdTest.java:62— Skipped with a documented reason — a deferral, not lazy debt: switched off by @Disabled
Skipped (documented): testGetChatModel_createsModel ai/src/test/java/org/conductoross/conductor/ai/providers/gemini/GeminiVertexTest.java:143— Skipped with a documented reason — a deferral, not lazy debt: skipped at run time by a JUnit assumption
Skipped (documented): testBasicWorkflowOperations os-persistence-v3/src/test/java/org/conductoross/conductor/os3/dao/index/QuickV3Test.java:68— Skipped with a documented reason — a deferral, not lazy debt: switched off by @Ignore
Skipped (documented): sameObjectForSameThread http-task/src/test/java/com/netflix/conductor/tasks/http/providers/DefaultRestTemplateProviderTest.java:51— Skipped with a documented reason — a deferral, not lazy debt: switched off by @Ignore
Skipped (documented): testRemoveTask sqlite-persistence/src/test/java/com/netflix/conductor/sqlite/dao/SqliteIndexDAOTest.java:868— Skipped with a documented reason — a deferral, not lazy debt: switched off by @Ignore
Appendix B — Reproduction & audit trail
Every external tool invocation behind a deep-scan dimension — the tool, its captured version, the exact command, how many findings it yielded, and a link to the retained raw output. To reproduce any finding: check out the same commit and run the command shown (repo-relative — never an absolute scratch path). The complete raw scanner output is retained verbatim under artifacts/raw/ (indexed in artifacts/raw/index.json); per-invocation exit codes and wall-clock durations are in sidecar.json — kept out of this table so the rendered report stays byte-identical across runs of the same commit.
semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. semgrep could not parse 6 file(s) — `agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlannerContextFetchTask.java`, `ai/src/main/java/org/conductoross/conductor/ai/LLMHelper.java`, `ui-next/src/components/features/flow/components/RichAddTaskMenu/iconsForTaskTypes.ts`, `ui-next/src/components/features/flow/components/RichAddTaskMenu/taskGenerator.ts`, `ui-next/src/components/features/flow/components/shapes/TaskShape/Shape.tsx`, … (+1 more) — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real.
runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
Run 01a16c67-0bda-7ca8-8022-a1286af3e583 · every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.
Issues: 270 · Warnings: 2229 · Recommendations: 346 · Info: 518 — Appendix A · all findings · full markdown report.
Generated by Watchdog — deterministic code-health analysis. 24-10-2026 @ 05:34 UTC.
Downloadable artifacts
Machine-readable and reproducible from this commit + frozen rubric — drop them straight into a contract appendix, a CRA dossier, or a downstream SCA / VEX tool.