Skip to content

fix: remove GitHub MCP token and encrypt MSBench CAPI env - #3112

Merged
Sai Koumudi Kaluvakolanu (saikoumudi) merged 1 commit into
mainfrom
skaluvak-microsoft-secure-msbench-capi-env
Aug 25, 2026
Merged

fix: remove GitHub MCP token and encrypt MSBench CAPI env#3112
Sai Koumudi Kaluvakolanu (saikoumudi) merged 1 commit into
mainfrom
skaluvak-microsoft-secure-msbench-capi-env

Conversation

@saikoumudi

Copy link
Copy Markdown
Contributor

Description

Separates Azure MSBench authentication from GitHub MCP authentication for the Azure benchmark submission path:

  • removes retrieval and forwarding of the unused azure-eval-gh-pat / GITHUB_MCP_SERVER_TOKEN
  • continues retrieving the CAPI integration ID and HMAC from kv-msbench-eval-azuremcp without logging their values
  • submits CAPI_INTEGRATION_ID and CAPI_HMAC_KEY through --encrypted-env
  • keeps non-secret USE_COPILOT_CLI_VERSION under --env

MSBench run 2026082502422012 validated this separation with azure.enterprise_infra_planner_skill on direct model claude-opus-4.5: encrypted CAPI credentials, no GitHub MCP token, and 1/1 resolved (100%).

Checklist

  • Targeted PowerShell parser and static MSBench argument checks pass locally
  • Title has one of the prefixes: fix:, feat:, feature:, chore:, misc:, test:, eval:
  • Skill description routing validation is not applicable

Related Issues

Related to microsoft/mcp-pr#648.

Remove the unused GitHub MCP PAT from Azure benchmark submissions and pass CAPI credentials through encrypted environment arguments.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This change updates the Azure DevOps MSBench submission script to decouple MSBench CAPI authentication from GitHub MCP authentication by removing the unused GitHub PAT flow and ensuring CAPI credentials are passed to MSBench via encrypted environment variables.

Changes:

  • Removed retrieval/forwarding of the unused azure-eval-gh-pat / GITHUB_MCP_SERVER_TOKEN.
  • Kept retrieving CAPI Integration ID + HMAC from Key Vault and registering them as pipeline secrets (masked).
  • Passed CAPI_INTEGRATION_ID and CAPI_HMAC_KEY to msbench-cli run via --encrypted-env, keeping non-secret config in --env.
Show a summary per file
File Description
pipelines/scripts/Invoke-RunBenchmarks.ps1 Removes GitHub MCP token handling and switches MSBench invocation to use --encrypted-env for CAPI credentials.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 1/1 changed files
  • Comments generated: 2
  • Review effort level: Lite

Comment thread pipelines/scripts/Invoke-RunBenchmarks.ps1
Comment thread pipelines/scripts/Invoke-RunBenchmarks.ps1
@saikoumudi
Sai Koumudi Kaluvakolanu (saikoumudi) merged commit 22f96fd into main Aug 25, 2026
12 checks passed
@saikoumudi
Sai Koumudi Kaluvakolanu (saikoumudi) deleted the skaluvak-microsoft-secure-msbench-capi-env branch August 25, 2026 17:11
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