Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 9, 2026

Summary

Removed references to undefined FeatureFlagHoldbackConsolidatedProjects and FeatureFlagHoldbackConsolidatedActions constants that were causing build failures.

Why

These feature flags were used during the transition period to holdback consolidated actions/projects tools. Now that consolidated tools are the only versions, the flags are obsolete but references remained in knownFeatureFlags array.

What changed

  • Removed undefined constants from knownFeatureFlags in pkg/http/server.go
  • Updated test in pkg/http/handler_test.go to reflect that no feature flags are currently supported via HTTP headers
  • Added comment documenting that array is empty but preserved for future use

MCP impact

  • No tool or API changes

Internal HTTP header feature flag mechanism unchanged, just removed broken references to non-existent constants.

Prompts tested (tool changes only)

N/A

Security / limits

  • No security or limits impact

Tool renaming

  • I am not renaming tools as part of this PR

Lint & tests

  • Linted locally with ./script/lint
  • Tested locally with ./script/test

Docs

  • Not needed

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 7 commits February 4, 2026 14:00
This commit removes the old individual tool implementations for
Actions and Projects toolsets that have been superseded by consolidated
tools (actions_list, actions_get, actions_run_trigger, get_job_logs,
projects_list, projects_get, projects_write).

Removed old Actions tools:
- ListWorkflows, ListWorkflowRuns, RunWorkflow, GetWorkflowRun
- GetWorkflowRunLogs, ListWorkflowJobs, GetJobLogs
- RerunWorkflowRun, RerunFailedJobs, CancelWorkflowRun
- ListWorkflowRunArtifacts, DownloadWorkflowRunArtifact
- DeleteWorkflowRunLogs, GetWorkflowRunUsage

Removed old Projects tools:
- ListProjects, GetProject, ListProjectFields, GetProjectField
- ListProjectItems, GetProjectItem, AddProjectItem
- UpdateProjectItem, DeleteProjectItem

Also removed:
- Feature flag constants (FeatureFlagHoldbackConsolidatedActions/Projects)
- FeatureFlagDisable from consolidated tools
- Old toolsnaps for removed tools
- Tests for removed tools
- Unused helper function toNewProjectType

Co-authored-by: mattdholloway <918573+mattdholloway@users.noreply.github.com>
Co-authored-by: mattdholloway <918573+mattdholloway@users.noreply.github.com>
Co-authored-by: mattdholloway <918573+mattdholloway@users.noreply.github.com>
Co-authored-by: mattdholloway <918573+mattdholloway@users.noreply.github.com>
Removed references to FeatureFlagHoldbackConsolidatedProjects and
FeatureFlagHoldbackConsolidatedActions which no longer exist after the
consolidation of actions and projects tools. Updated test expectations
to reflect that these flags are no longer in knownFeatureFlags array.

Co-authored-by: SamMorrowDrums <4811358+SamMorrowDrums@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix CI errors related to deprecated feature flags Remove obsolete feature flag constants causing CI failures Feb 9, 2026
Copilot AI requested a review from SamMorrowDrums February 9, 2026 21:53
Base automatically changed from copilot/remove-old-actions-toolsets to main February 10, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants