Skip to content

[WIP] Fix issues in tests#15146

Merged
pelikhan merged 2 commits intocopilot/add-actor-flag-supportfrom
copilot/fix-tests-issues
Feb 12, 2026
Merged

[WIP] Fix issues in tests#15146
pelikhan merged 2 commits intocopilot/add-actor-flag-supportfrom
copilot/fix-tests-issues

Conversation

Copy link
Contributor

Copilot AI commented Feb 12, 2026

Fix failing tests for GITHUB_ACTOR support

The recent changes added GITHUB_ACTOR support to the MCP configuration, but the tests weren't updated accordingly.

Changes completed:

  • Update TestRenderAgenticWorkflowsMCPConfigTOML test expectations
    • Update env_vars expectation to include GITHUB_ACTOR
    • Update entrypointArgs expectation to include --actor flag in release mode
  • Run tests to verify the fix
  • Validate with formatting and linting
Original prompt

Reference: https://github.com/github/gh-aw/actions/runs/21946221331/job/63384954411#step:9:1

Fix tests


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Update TestRenderAgenticWorkflowsMCPConfigTOML test to match the current implementation:
- Update env_vars expectation to include GITHUB_ACTOR
- Update entrypointArgs expectation to include --actor flag in release mode

The implementation was updated to add GITHUB_ACTOR support but the tests weren't updated, causing CI failures.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan pelikhan marked this pull request as ready for review February 12, 2026 12:36
Copilot AI review requested due to automatic review settings February 12, 2026 12:36
@pelikhan pelikhan merged commit 3473a0b into copilot/add-actor-flag-support Feb 12, 2026
@pelikhan pelikhan deleted the copilot/fix-tests-issues branch February 12, 2026 12:36
Copilot stopped work on behalf of pelikhan due to an error February 12, 2026 12:36
Copilot AI requested a review from pelikhan February 12, 2026 12:36
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

Updates workflow MCP configuration tests to match the recently added GITHUB_ACTOR support in the Agentic Workflows MCP configuration output.

Changes:

  • Update TOML test expectations to include GITHUB_ACTOR in env_vars.
  • Update release-mode TOML expectations to include --actor ${GITHUB_ACTOR} in entrypointArgs.

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

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