Skip to content

Comments

Fix failing GitHub Actions workflow for Integration: Workflow Misc Part 2#15722

Merged
pelikhan merged 2 commits intocopilot/fix-ci-pipeline-issuefrom
copilot/fix-github-actions-workflow-6d49c693-07d8-47c0-9592-2ab322cc2e76
Feb 14, 2026
Merged

Fix failing GitHub Actions workflow for Integration: Workflow Misc Part 2#15722
pelikhan merged 2 commits intocopilot/fix-ci-pipeline-issuefrom
copilot/fix-github-actions-workflow-6d49c693-07d8-47c0-9592-2ab322cc2e76

Conversation

Copy link
Contributor

Copilot AI commented Feb 14, 2026

Fixed the failing test TestCollectDockerImages_APIProxyForEnginesWithLLMGateway in the "Integration: Workflow Misc Part 2" test suite.

Root Cause

The test had incorrect expectations about LLM gateway support for AI engines:

  • Test assumption: Claude, Copilot, and Codex engines should NOT include the api-proxy Docker image
  • Actual behavior: Claude and Codex engines implement SupportsLLMGateway() returning positive port numbers (10000 and 10001 respectively), which triggers the inclusion of the api-proxy image

Changes Made

Updated test expectations in pkg/workflow/docker_api_proxy_test.go to correctly reflect actual LLM gateway support:

  • Claude engine: Changed to expectAPIProxy: true (supports LLM gateway on port 10000)
  • Codex engine: Changed to expectAPIProxy: true (supports LLM gateway on port 10001)
  • Copilot engine: Kept as expectAPIProxy: false (does not support LLM gateway)

Testing

  • ✅ The specific failing test now passes
  • ✅ All related Docker image collection tests pass
  • ✅ All tests in the "Workflow Misc Part 2" group pass
  • ✅ Code formatted with make fmt

The fix is minimal and surgical, only correcting the test expectations to match the actual implementation without modifying any production code.

Original prompt

Fix the failing GitHub Actions workflow Integration: Workflow Misc Part 2
Analyze the workflow logs, identify the root cause of the failure, and implement a fix.
Job ID: 63630850560
Job URL: https://github.com/github/gh-aw/actions/runs/22021316704/job/63630850560


💡 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.

@pelikhan
Copy link
Contributor

@copilot keep working

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

Copilot AI commented Feb 14, 2026

@copilot keep working

Fixed! The test failure was caused by incorrect expectations - the test assumed Claude and Codex engines don't support LLM gateway, but they actually do (returning port numbers 10000 and 10001 respectively). Updated the test expectations to match the actual implementation. All "Workflow Misc Part 2" tests now pass. Commit: b6c638a

Copilot AI changed the title [WIP] Fix failing GitHub Actions workflow for Integration: Workflow Misc Part 2 Fix failing GitHub Actions workflow for Integration: Workflow Misc Part 2 Feb 14, 2026
@pelikhan pelikhan marked this pull request as ready for review February 14, 2026 17:39
Copilot AI review requested due to automatic review settings February 14, 2026 17:39
@pelikhan pelikhan merged commit d6c33da into copilot/fix-ci-pipeline-issue Feb 14, 2026
@pelikhan pelikhan deleted the copilot/fix-github-actions-workflow-6d49c693-07d8-47c0-9592-2ab322cc2e76 branch February 14, 2026 17:39
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 PR fixes a failing test in the "Integration: Workflow Misc Part 2" GitHub Actions workflow by correcting incorrect test expectations about LLM gateway support for AI engines. The test TestCollectDockerImages_APIProxyForEnginesWithLLMGateway was expecting that Claude and Codex engines would NOT include the api-proxy Docker image, but the actual implementation shows both engines support LLM gateway (returning ports 10000 and 10001 respectively from SupportsLLMGateway()), which triggers inclusion of the api-proxy container.

Changes:

  • Updated test expectations for Claude engine to expectAPIProxy: true (port 10000)
  • Updated test expectations for Codex engine to expectAPIProxy: true (port 10001)
  • Copilot engine expectations remain unchanged at expectAPIProxy: false (returns -1)

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

pelikhan added a commit that referenced this pull request Feb 14, 2026
* Initial plan

* Changes before error encountered

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

* Refactor temporary ID validation into reusable helper function

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

* Fix TypeScript strict null check error in create_issue.cjs (#15721)

* Initial plan

* Fix TypeScript null check error in create_issue.cjs line 488

Wrap temporaryId with String() before passing to normalizeTemporaryId().
TypeScript's strict null checking was complaining that temporaryId could
be null even though we checked for error earlier. The String() wrapper
satisfies TypeScript's type system while maintaining the same runtime
behavior (normalizeTemporaryId already does String() conversion internally).

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* Fix failing GitHub Actions workflow for Integration: Workflow Misc Part 2 (#15722)

* Initial plan

* Fix docker_api_proxy_test expectations for LLM gateway support

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>
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