Skip to content

Fix TypeScript compilation errors in agent-dispatcher breaking CI build#2064

Merged
robgruen merged 2 commits intodev/robgruen/mcp_non_blocking_loadingfrom
copilot/fix-github-actions-build-ts
Mar 24, 2026
Merged

Fix TypeScript compilation errors in agent-dispatcher breaking CI build#2064
robgruen merged 2 commits intodev/robgruen/mcp_non_blocking_loadingfrom
copilot/fix-github-actions-build-ts

Conversation

Copy link
Contributor

Copilot AI commented Mar 24, 2026

Four TS errors in agent-dispatcher were causing tsc -b to fail, blocking the build_ts workflow on all platforms.

Changes

  • appAgentManager.ts — Add missing loadGrammarRulesNoThrow to import from action-grammar (used in newly added loadDynamicGrammar for .agr format parsing)
  • appAgentManager.ts — Remove duplicate reloadAgentSchema method (TS2393); the new implementation at line 1021 conflicted with the pre-existing one at line 1233. The private helpers it introduced (loadDynamicSchema, loadDynamicGrammar) are retained and already wired into updateAction
  • configCommandHandlers.ts — Register ConfigExecutionScriptReuseCommandHandler in configExecutionCommandHandlers alongside the existing planReuse entry (class was defined but never instantiated)
  • commandHandlerContext.ts — Remove unused wrapClientIOWithDisplayLog helper function (TS6133; never called)
Original prompt

Fix the failing GitHub Actions workflow build_ts (windows-latest, 20)
Analyze the workflow logs, identify the root cause of the failure, and implement a fix.
Job ID: 68297257030
Job URL: https://github.com/microsoft/TypeAgent/actions/runs/23472219964/job/68297257030


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Copilot AI changed the title [WIP] Fix failing GitHub Actions workflow build_ts on windows-latest Fix TypeScript compilation errors in agent-dispatcher breaking CI build Mar 24, 2026
Copilot AI requested a review from robgruen March 24, 2026 04:26
@robgruen robgruen marked this pull request as ready for review March 24, 2026 04:27
@robgruen robgruen merged commit 32f8b75 into dev/robgruen/mcp_non_blocking_loading Mar 24, 2026
1 check passed
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