Skip to content

[WIP] Debug Changeset Generator workflow failure#12953

Closed
Copilot wants to merge 2 commits intomainfrom
copilot/debug-changeset-generator-failure
Closed

[WIP] Debug Changeset Generator workflow failure#12953
Copilot wants to merge 2 commits intomainfrom
copilot/debug-changeset-generator-failure

Conversation

Copy link
Contributor

Copilot AI commented Jan 31, 2026

Debug Changeset Generator Workflow Failure

Investigation Complete

The workflow failed with error: [ERROR] Invalid environment variable format: ANDROID_HOME (expected KEY=VALUE)

Root cause: The env_mirror.go code generates AWF arguments like --env "ANDROID_HOME=${ANDROID_HOME}", which relies on bash shell expansion. When a variable doesn't exist on the runner (like ANDROID_HOME), the shell expands ${ANDROID_HOME} to an empty string, resulting in --env ANDROID_HOME being passed to AWF, which expects KEY=VALUE format.

Implementation Plan

  • Investigate workflow failure logs
  • Identify root cause in env_mirror.go
  • Fix env_mirror.go to generate correct shell conditional logic
  • Update tests to verify the fix
  • Rebuild and test locally
  • Recompile workflows
  • Run validation (make agent-finish)
Original prompt

This section details on the original issue you should resolve

<issue_title>[agentics] Changeset Generator failed</issue_title>
<issue_description>### Workflow Failure

Workflow: Changeset Generator
Branch: HEAD
Run URL: https://github.com/githubnext/gh-aw/actions/runs/21407080898

Action Required

Debug this workflow failure using the agentic-workflows agent:

/agent agentic-workflows

When prompted, instruct the agent to debug this workflow failure.

Generated from Changeset Generator

  • expires on Feb 3, 2026, 5:21 PM UTC

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan pelikhan closed this Jan 31, 2026
Copilot AI requested a review from pelikhan January 31, 2026 15:37
Copilot stopped work on behalf of pelikhan due to an error January 31, 2026 15:37
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.

[agentics] Changeset Generator failed

2 participants