[Agent Assist validation] Verify persistent fork promotion fixes
Disposable production validation for Agent Assist image 0.0.0-341391.
Expected change:
- Create exactly one file named
.agent-assist-fork-flow-validation-2.txt. - The file must contain exactly these two lines:
Agent Assist persistent promotion fix validation.Safe to delete after validation. - Do not change any other file.
Acceptance criteria:
- Copilot work starts in
a0x1ab/azure-clifrom an exact-SHA temporary base. - Agent Assist marks the Copilot fork PR ready and squash-promotes it as a one-commit draft PR from the
a0x1abfork intoAzure/azure-cli:dev. - The promoted title uses a capital letter after the command-summary colon.
- The promoted body contains exactly one generated
## Descriptionprefix after retries. - The promoted PR uses external-fork CI routing and contains no internal boundary markers or unused template examples.
This issue and its disposable PR will be closed after production validation.
Thank you for opening this issue, we will look into it.
This is a production validation task for Agent Assist image 0.0.0-341391.
Task: Create exactly one new file at the repository root named .agent-assist-fork-flow-validation-2.txt containing exactly these two lines:
Agent Assist persistent promotion fix validation.
Safe to delete after validation.
Do not modify any other file.
Use this EXACT PR title: [Core] Fix #33965: az: Add fork-flow validation file
PR title & description format (required)
This repo enforces a PR format (guide). Please author the PR exactly as follows or CI's Check the Format of Pull Request Title and Content will fail.
Use this EXACT PR title (copy verbatim, do not reword):
[Core] Fix #33965: `az`: Add fork-flow validation file
Keep the backticks around the command and the Fix #33965: prefix. You may only adjust the wording after the command (the final summary) if the fix changes; the [Core] prefix, issue link, and backticked command must stay.
Description — follow the PR template and fill in:
- Link the issue — start the Description with a closing keyword so the PR auto-links and closes it:
Fixes #33965. - Related command — the
az ...command this affects. - Description (mandatory) — why the bug happens, what you changed, and the resulting behavior.
- Testing Guide — example command(s) showing the fix works.
- History Notes — leave the title to drive the history note, or add extra lines in the same format (component in brackets + the command in backticks), e.g.
[Core] `az <command>`: <note>. - Keep the template checklist and tick the items you've satisfied.
X Engineering Agent · Fixer · react 👍 / 👎 to train the agent
Started a Copilot task in a0x1ab/azure-cli using claude-sonnet-4.6: https://github.com/a0x1ab/azure-cli/tasks/86e0a45c-af5f-488f-b568-13dbb4b237ee
Fork promotion for this issue could not complete: the promotion helper attempted to squash-merge the completed fork PR (a0x1ab/azure-cli) into its temporary base branch, but that base branch (agent-assist/azure-azure-cli-issue-33965-ae51706ce7aa) no longer exists on the fork even though the fork PR shows as merged/closed. This looks like a partially-completed prior promotion attempt (squash merge succeeded and the temp branch was cleaned up, but the upstream draft PR was never opened). A maintainer needs to inspect a0x1ab/azure-cli PR #4 and either recreate the temp base branch from its merge commit or restart the fork task for this issue.
Fork promotion is blocked: the fork PR's temporary base branch (agent-assist/azure-azure-cli-issue-33965-ae51706ce7aa in a0x1ab/azure-cli) no longer exists (it was deleted after the fork PR was merged), so the squash/promotion step cannot read the merged commit. A maintainer must repair the Agent Assist dispatch record (e.g. recreate the temp base branch at the pre-merge SHA, or restart the fork task) before this can be promoted to an upstream draft PR.
Fork promotion is blocked: the fork PR (a0x1ab/azure-cli#4) is already merged, but its temporary base branch agent-assist/azure-azure-cli-issue-33965-ae51706ce7aa and head branch copilot/fix-azure-cli-bug-33965 no longer exist in the fork (likely deleted by an auto-delete-branch-on-merge setting on a0x1ab/azure-cli). Promotion needs a live branch ref to squash and open the upstream draft, and cannot proceed from a merge commit SHA alone under the current pipeline. The merge commit is still reachable at d33c845636ff04eb0b0b870215f187e213edb77a. A maintainer should either disable auto-delete-branch-on-merge on the fork repo, or recreate the two branches pointing at that commit, so the Agent Assist dispatch record can be repaired and promotion retried.