Skip to content

Remove copilot-sdk agent engine#16519

Merged
pelikhan merged 7 commits intomainfrom
copilot/remove-copilot-sdk-agent-engine
Feb 18, 2026
Merged

Remove copilot-sdk agent engine#16519
pelikhan merged 7 commits intomainfrom
copilot/remove-copilot-sdk-agent-engine

Conversation

Copy link
Contributor

Copilot AI commented Feb 18, 2026

Remove copilot-sdk agent engine

Summary

Successfully removed the copilot-sdk agent engine from the codebase with no legacy or backward compatibility support. Merged main branch to incorporate latest changes.

Changes Made

  • Investigate copilot-sdk references in codebase
  • Remove engine implementation files
    • Remove pkg/workflow/copilot_sdk_engine.go
    • Remove pkg/workflow/copilot_sdk_engine_test.go
  • Remove copilot-client directory
    • Remove copilot-client/ TypeScript implementation
    • Remove actions/setup/js/copilot-client.js
  • Update engine registry
    • Remove registration in pkg/workflow/agentic_engine.go
  • Update constants
    • Remove CopilotSDKEngine constant
    • Remove CopilotSDKLLMGatewayPort constant
    • Remove from AgenticEngines list
    • Remove from EngineOptions list
  • Update CLI code
    • Remove references in pkg/cli/engine_secrets.go
    • Update pkg/cli/completions_test.go
    • Update pkg/cli/engine_secrets_test.go
    • Update cmd/gh-aw/main_entry_test.go
  • Update workflow code
    • Update pkg/workflow/imported_steps_validation_test.go
    • Update pkg/workflow/strict_mode_llm_gateway_test.go
    • Update pkg/constants/constants_test.go
  • Remove workflow files
    • Remove .github/workflows/smoke-copilot-sdk.md
    • Remove .github/workflows/smoke-copilot-sdk.lock.yml
    • Remove .github/workflows/copilot-sdk-ci.yml
    • Update .github/workflows/dev.md and recompile .github/workflows/dev.lock.yml
  • Update documentation
    • Remove from scratchpad/adding-new-engines.md
    • Remove from scratchpad/engine-architecture-review.md
    • Remove from scratchpad/engine-review-summary.md
    • Remove from scratchpad/layout.md
    • Remove from schema file pkg/parser/schemas/main_workflow_schema.json
    • Remove from .github/agents/custom-engine-implementation.agent.md
    • Remove Copilot SDK Client section from DEVGUIDE.md
  • Update build system
    • Remove deps-copilot-client target from Makefile
    • Remove copilot-client build target from Makefile
    • Remove test-copilot-client target from Makefile
    • Update test-all target to exclude copilot-client
    • Update recompile target to remove copilot-client dependency
    • Remove copilot-client references from DEVGUIDE.md
  • Merge main branch
    • Merged 2 commits from main
    • Resolved conflict with deleted smoke-copilot-sdk.lock.yml file
    • All workflow lock files updated with latest changes from main
  • Run tests and validation
    • Run unit tests - All passing
    • Build successful
    • Workflow compilation successful
    • No remaining references to copilot-sdk in code

Merge Details

Merged main branch which included:

Conflict resolution:

  • Kept deletion of smoke-copilot-sdk.lock.yml (consistent with copilot-sdk removal)
  • All other workflow lock files auto-merged successfully

Impact

  • Removed ~10,687 lines of code (copilot-client TypeScript implementation, engine files, tests, workflows)
  • Engine count reduced from 5 to 4: copilot, claude, codex, custom
  • All tests passing
  • Build successful
  • No backward compatibility maintained (as requested)
Original prompt

Remove copilot-sdk agent engine (no legacy or backward compatibility support)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.



✨ PR Review Safe Output Test - Run 22127763102

💥 [THE END] — Illustrated by Smoke Claude

Copilot AI and others added 3 commits February 18, 2026 05:19
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove copilot-sdk agent engine without legacy support Remove copilot-sdk agent engine Feb 18, 2026
Copilot AI requested a review from pelikhan February 18, 2026 05:26
@pelikhan pelikhan marked this pull request as ready for review February 18, 2026 05:27
Copilot AI review requested due to automatic review settings February 18, 2026 05:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request removes the experimental copilot-sdk engine from the gh-aw codebase, eliminating approximately 10,000 lines of TypeScript code and associated infrastructure. The removal is intentionally breaking with no backward compatibility maintained.

Changes:

  • Removed copilot-sdk engine implementation (Go code and tests)
  • Removed copilot-client TypeScript implementation (~10k lines)
  • Updated constants, schemas, CLI tools, and documentation to reflect 4-engine model (claude, codex, copilot, custom)
  • Removed copilot-sdk-specific workflows and updated dev.md to use copilot engine
  • Reassigned port 10002 from CopilotSDKLLMGatewayPort to CopilotLLMGatewayPort

Reviewed changes

Copilot reviewed 34 out of 36 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pkg/workflow/copilot_sdk_engine.go Removed copilot-sdk engine implementation (258 lines)
pkg/workflow/copilot_sdk_engine_test.go Removed copilot-sdk engine tests (179 lines)
pkg/workflow/agentic_engine.go Unregistered copilot-sdk from engine registry
pkg/constants/constants.go Removed CopilotSDKEngine constant, CopilotSDKLLMGatewayPort (port 10002 reassigned to Copilot)
pkg/constants/constants_test.go Updated expected engines list (4 instead of 5)
pkg/parser/schemas/main_workflow_schema.json Updated enum to exclude copilot-sdk
pkg/cli/engine_secrets.go Updated secret validation for copilot only
pkg/cli/engine_secrets_test.go Removed copilot-sdk test cases
pkg/cli/completions_test.go Updated completion tests for 4 engines
cmd/gh-aw/main_entry_test.go Updated validation tests and error messages
pkg/workflow/strict_mode_llm_gateway_test.go Removed copilot-sdk test case
pkg/workflow/imported_steps_validation_test.go Updated validation tests
copilot-client/* Removed entire TypeScript client directory (~10k lines)
.github/workflows/smoke-copilot-sdk.md Removed smoke test workflow for copilot-sdk
.github/workflows/smoke-copilot-sdk.lock.yml Removed compiled smoke test workflow (1536 lines)
.github/workflows/copilot-sdk-ci.yml Removed CI workflow for copilot-client (145 lines)
.github/workflows/dev.md Changed engine from copilot-sdk to copilot
.github/workflows/dev.lock.yml Updated compiled workflow with copilot engine
DEVGUIDE.md Removed Copilot SDK Client section (105 lines)
scratchpad/*.md Updated documentation to reflect 4-engine architecture
.github/agents/custom-engine-implementation.agent.md Removed copilot-sdk from example
Files not reviewed (1)
  • copilot-client/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pelikhan
Copy link
Contributor

@copilot merge main and fix build

…t-sdk-agent-engine

# Conflicts:
#	.github/workflows/smoke-copilot-sdk.lock.yml
Copy link
Contributor Author

Copilot AI commented Feb 18, 2026

@copilot merge main and fix build

Merged main branch and verified build is successful (commit bdec7cd).

Changes:

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/user
    • Triggering command: /usr/bin/gh gh api user --jq .login (http block)

If you need me to access, download, or install something from one of these locations, you can either:

@pelikhan
Copy link
Contributor

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 18, 2026

@copilot remove copilot-cli build from makefile

https://github.com/github/gh-aw/actions/runs/22128020721/job/63962335833#step:10:1

Removed copilot-client build targets from Makefile (commit c9c34c4).

Removed:

  • deps-copilot-client target
  • copilot-client build target
  • test-copilot-client target
  • Dependency on copilot-client in recompile target
  • Updated test-all to exclude copilot-client tests
  • Removed references from DEVGUIDE.md

Build verified successfully ✓

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/actions/github-script/git/ref/tags/v8
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha go1.25.0 -c=4 -nolocalimports -importcfg /tmp/go-build1524363915/b383/importcfg -pack /tmp/go-build1524363915/b383/_testmain.go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha -c=4 -nolocalimports -importcfg /tmp/go-build1524363915/b395/importcfg -pack /home/REDACTED/work/gh-aw/gh-aw/pkg/mathutil/mathutil.go /home/REDACTED/work/gh-aw/gh-aw/pkg/mathutil/mathutil_test.go (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/1/artifacts
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/12345/artifacts
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/12346/artifacts
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/2/artifacts
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/3/artifacts
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/4/artifacts
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/5/artifacts
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 (http block)
  • https://api.github.com/repos/github/gh-aw/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 100 (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 6 rnal/header (http block)
  • https://api.github.com/repos/nonexistent/repo/actions/runs/12345
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion ame (http block)
  • https://api.github.com/repos/owner/repo/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo (http block)
  • https://api.github.com/repos/owner/repo/contents/file.md
    • Triggering command: /tmp/go-build1524363915/b368/cli.test /tmp/go-build1524363915/b368/cli.test -test.testlogfile=/tmp/go-build1524363915/b368/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true (http block)
  • https://api.github.com/repos/test-owner/test-repo/actions/secrets
    • Triggering command: /usr/bin/gh gh api /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name (http block)
  • https://api.github.com/user
    • Triggering command: /usr/bin/gh gh api user --jq .login (http block)

If you need me to access, download, or install something from one of these locations, you can either:

@pelikhan pelikhan merged commit 293bb1b into main Feb 18, 2026
56 checks passed
@pelikhan pelikhan deleted the copilot/remove-copilot-sdk-agent-engine branch February 18, 2026 06:03
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

Comments