Skip to content

Increase mcp-cli usage to 80% of agentic workflows#26715

Merged
pelikhan merged 1 commit intomainfrom
copilot/increase-mcp-cli-usage
Apr 16, 2026
Merged

Increase mcp-cli usage to 80% of agentic workflows#26715
pelikhan merged 1 commit intomainfrom
copilot/increase-mcp-cli-usage

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 16, 2026

  • Inspect workflow frontmatter usage for features.mcp-cli and tools.mount-as-clis
  • Baseline validation run before changes (make fmt, make lint, make test-unit) and record pre-existing failures
  • Update workflow frontmatter so at least 80% of top-level agentic workflows enable both mcp-cli: true and mount-as-clis: true
  • Recompute adoption metrics to confirm >=80% (154/192 = 80.21%)
  • Recompile workflow lock files after markdown changes (make recompile)
  • Run required validation before commit (make agent-finish) and record pre-existing timeout failure in pkg/cli tests (TestFetchIncludeFromSource_SectionExtraction)
  • Run parallel validation (Code Review + CodeQL)
  • Create/update PR with final summary

@pelikhan pelikhan marked this pull request as ready for review April 16, 2026 19:53
Copilot AI review requested due to automatic review settings April 16, 2026 19:53
Copy link
Copy Markdown
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.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

@pelikhan pelikhan merged commit a22c643 into main Apr 16, 2026
64 of 66 checks passed
@pelikhan pelikhan deleted the copilot/increase-mcp-cli-usage branch April 16, 2026 19:54
Copilot stopped work on behalf of pelikhan due to an error April 16, 2026 19:54
Copilot AI requested a review from pelikhan April 16, 2026 19:54
@github-actions github-actions bot mentioned this pull request Apr 16, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🧪 Test Quality Sentinel Report

Test Quality Score: N/A

i️ No new tests added — only existing tests removed

Metric Value
New/modified tests analyzed 0
Test files with changes 1 (pkg/workflow/copilot_engine_test.go)
Tests removed 2
🚨 Coding-guideline violations None

Analysis

The only test file changed in this PR is pkg/workflow/copilot_engine_test.go, and all changes are deletions (0 lines added, 40 lines removed):

  1. Removed assertion from TestCopilotEngineExecutionSteps — The check verifying CopilotCLIIntegrationIDEnvVar was present in step content was removed.

  2. Removed entire test TestCopilotEngineExecutionStepsAlwaysInjectsIntegrationIDAfterEnvMerges — This test verified that the integration ID env variable was always forced to the canonical value, overriding any user/engine env overrides.

Both removals are consistent with the production code changes in this PR, which appear to drop the CopilotCLIIntegrationID enforcement. The test file retains its correct //go:build !integration build tag.


Verdict

No new tests to evaluate. Test deletions align with production code changes (removing the CopilotCLIIntegrationID feature). No guideline violations detected.

⚠️ Note: The removed tests (TestCopilotEngineExecutionStepsAlwaysInjectsIntegrationIDAfterEnvMerges) were high-value behavioral contract tests that verified env variable injection enforcement. If the underlying behavior was not removed (only restructured), consider whether replacement tests are needed.


Language Support

Tests analyzed:

  • 🐹 Go (*_test.go): 0 new tests (1 file modified — deletions only)

References: §24530842102

🧪 Test quality analysis by Test Quality Sentinel · ● 643.8K ·

Copy link
Copy Markdown
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

✅ Test Quality Sentinel: N/A score (no new tests added). The only test change is deletion of tests that covered the removed CopilotCLIIntegrationID enforcement — consistent with the production code change. No coding-guideline violations detected.

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.

3 participants