@@ -26,10 +26,14 @@ const (
2626 DescriptionRepositoryName = "Repository name"
2727)
2828
29- // FeatureFlagConsolidatedActions is the feature flag that disables individual actions tools
30- // in favor of the consolidated actions tools .
29+ // FeatureFlagConsolidatedActions is the legacy feature flag (deprecated, no longer used).
30+ // Kept for documentation purposes only .
3131const FeatureFlagConsolidatedActions = "remote_mcp_consolidated_actions"
3232
33+ // FeatureFlagHoldbackConsolidatedActions is the feature flag that, when enabled, reverts to
34+ // individual actions tools instead of the consolidated actions tools.
35+ const FeatureFlagHoldbackConsolidatedActions = "mcp_holdback_consolidated_actions"
36+
3337// Method constants for consolidated actions tools
3438const (
3539 actionsMethodListWorkflows = "list_workflows"
@@ -117,7 +121,7 @@ func ListWorkflows(t translations.TranslationHelperFunc) inventory.ServerTool {
117121 return utils .NewToolResultText (string (r )), nil , nil
118122 },
119123 )
120- tool .FeatureFlagDisable = FeatureFlagConsolidatedActions
124+ tool .FeatureFlagEnable = FeatureFlagHoldbackConsolidatedActions
121125 return tool
122126}
123127
@@ -272,7 +276,7 @@ func ListWorkflowRuns(t translations.TranslationHelperFunc) inventory.ServerTool
272276 return utils .NewToolResultText (string (r )), nil , nil
273277 },
274278 )
275- tool .FeatureFlagDisable = FeatureFlagConsolidatedActions
279+ tool .FeatureFlagEnable = FeatureFlagHoldbackConsolidatedActions
276280 return tool
277281}
278282
@@ -385,7 +389,7 @@ func RunWorkflow(t translations.TranslationHelperFunc) inventory.ServerTool {
385389 return utils .NewToolResultText (string (r )), nil , nil
386390 },
387391 )
388- tool .FeatureFlagDisable = FeatureFlagConsolidatedActions
392+ tool .FeatureFlagEnable = FeatureFlagHoldbackConsolidatedActions
389393 return tool
390394}
391395
@@ -454,7 +458,7 @@ func GetWorkflowRun(t translations.TranslationHelperFunc) inventory.ServerTool {
454458 return utils .NewToolResultText (string (r )), nil , nil
455459 },
456460 )
457- tool .FeatureFlagDisable = FeatureFlagConsolidatedActions
461+ tool .FeatureFlagEnable = FeatureFlagHoldbackConsolidatedActions
458462 return tool
459463}
460464
@@ -533,7 +537,7 @@ func GetWorkflowRunLogs(t translations.TranslationHelperFunc) inventory.ServerTo
533537 return utils .NewToolResultText (string (r )), nil , nil
534538 },
535539 )
536- tool .FeatureFlagDisable = FeatureFlagConsolidatedActions
540+ tool .FeatureFlagEnable = FeatureFlagHoldbackConsolidatedActions
537541 return tool
538542}
539543
@@ -634,7 +638,7 @@ func ListWorkflowJobs(t translations.TranslationHelperFunc) inventory.ServerTool
634638 return utils .NewToolResultText (string (r )), nil , nil
635639 },
636640 )
637- tool .FeatureFlagDisable = FeatureFlagConsolidatedActions
641+ tool .FeatureFlagEnable = FeatureFlagHoldbackConsolidatedActions
638642 return tool
639643}
640644
@@ -746,7 +750,7 @@ func GetJobLogs(t translations.TranslationHelperFunc) inventory.ServerTool {
746750 return utils .NewToolResultError ("Either job_id must be provided for single job logs, or run_id with failed_only=true for failed job logs" ), nil , nil
747751 },
748752 )
749- tool .FeatureFlagDisable = FeatureFlagConsolidatedActions
753+ tool .FeatureFlagEnable = FeatureFlagHoldbackConsolidatedActions
750754 return tool
751755}
752756
@@ -976,7 +980,7 @@ func RerunWorkflowRun(t translations.TranslationHelperFunc) inventory.ServerTool
976980 return utils .NewToolResultText (string (r )), nil , nil
977981 },
978982 )
979- tool .FeatureFlagDisable = FeatureFlagConsolidatedActions
983+ tool .FeatureFlagEnable = FeatureFlagHoldbackConsolidatedActions
980984 return tool
981985}
982986
@@ -1052,7 +1056,7 @@ func RerunFailedJobs(t translations.TranslationHelperFunc) inventory.ServerTool
10521056 return utils .NewToolResultText (string (r )), nil , nil
10531057 },
10541058 )
1055- tool .FeatureFlagDisable = FeatureFlagConsolidatedActions
1059+ tool .FeatureFlagEnable = FeatureFlagHoldbackConsolidatedActions
10561060 return tool
10571061}
10581062
@@ -1130,7 +1134,7 @@ func CancelWorkflowRun(t translations.TranslationHelperFunc) inventory.ServerToo
11301134 return utils .NewToolResultText (string (r )), nil , nil
11311135 },
11321136 )
1133- tool .FeatureFlagDisable = FeatureFlagConsolidatedActions
1137+ tool .FeatureFlagEnable = FeatureFlagHoldbackConsolidatedActions
11341138 return tool
11351139}
11361140
@@ -1211,7 +1215,7 @@ func ListWorkflowRunArtifacts(t translations.TranslationHelperFunc) inventory.Se
12111215 return utils .NewToolResultText (string (r )), nil , nil
12121216 },
12131217 )
1214- tool .FeatureFlagDisable = FeatureFlagConsolidatedActions
1218+ tool .FeatureFlagEnable = FeatureFlagHoldbackConsolidatedActions
12151219 return tool
12161220}
12171221
@@ -1289,7 +1293,7 @@ func DownloadWorkflowRunArtifact(t translations.TranslationHelperFunc) inventory
12891293 return utils .NewToolResultText (string (r )), nil , nil
12901294 },
12911295 )
1292- tool .FeatureFlagDisable = FeatureFlagConsolidatedActions
1296+ tool .FeatureFlagEnable = FeatureFlagHoldbackConsolidatedActions
12931297 return tool
12941298}
12951299
@@ -1366,7 +1370,7 @@ func DeleteWorkflowRunLogs(t translations.TranslationHelperFunc) inventory.Serve
13661370 return utils .NewToolResultText (string (r )), nil , nil
13671371 },
13681372 )
1369- tool .FeatureFlagDisable = FeatureFlagConsolidatedActions
1373+ tool .FeatureFlagEnable = FeatureFlagHoldbackConsolidatedActions
13701374 return tool
13711375}
13721376
@@ -1435,7 +1439,7 @@ func GetWorkflowRunUsage(t translations.TranslationHelperFunc) inventory.ServerT
14351439 return utils .NewToolResultText (string (r )), nil , nil
14361440 },
14371441 )
1438- tool .FeatureFlagDisable = FeatureFlagConsolidatedActions
1442+ tool .FeatureFlagEnable = FeatureFlagHoldbackConsolidatedActions
14391443 return tool
14401444}
14411445
@@ -1631,7 +1635,7 @@ Use this tool to list workflows in a repository, or list workflow runs, jobs, an
16311635 }
16321636 },
16331637 )
1634- tool .FeatureFlagEnable = FeatureFlagConsolidatedActions
1638+ tool .FeatureFlagDisable = FeatureFlagHoldbackConsolidatedActions
16351639 return tool
16361640}
16371641
@@ -1740,7 +1744,7 @@ Use this tool to get details about individual workflows, workflow runs, jobs, an
17401744 }
17411745 },
17421746 )
1743- tool .FeatureFlagEnable = FeatureFlagConsolidatedActions
1747+ tool .FeatureFlagDisable = FeatureFlagHoldbackConsolidatedActions
17441748 return tool
17451749}
17461750
@@ -1859,7 +1863,7 @@ func ActionsRunTrigger(t translations.TranslationHelperFunc) inventory.ServerToo
18591863 }
18601864 },
18611865 )
1862- tool .FeatureFlagEnable = FeatureFlagConsolidatedActions
1866+ tool .FeatureFlagDisable = FeatureFlagHoldbackConsolidatedActions
18631867 return tool
18641868}
18651869
@@ -1977,7 +1981,7 @@ For single job logs, provide job_id. For all failed jobs in a run, provide run_i
19771981 return utils .NewToolResultError ("Either job_id must be provided for single job logs, or run_id with failed_only=true for failed job logs" ), nil , nil
19781982 },
19791983 )
1980- tool .FeatureFlagEnable = FeatureFlagConsolidatedActions
1984+ tool .FeatureFlagDisable = FeatureFlagHoldbackConsolidatedActions
19811985 return tool
19821986}
19831987
0 commit comments