Problem Statement
The agent job fails during the Restore APM packages (all bundles) step on multiple workflows and PRs. The APM bundle downloads successfully, but the unpack step exits with code 1, aborting the run before the agent ever executes.
Affected Workflows and Run IDs
| Run |
Workflow |
Branch |
Firewall Version |
Bundle Size |
| §25350390860 |
Matt Pocock Skills Reviewer |
copilot/fix-ai-moderator-workflow-allowlist |
v0.25.35 |
78,764 B |
| §25351475330 |
Smoke Claude |
copilot/bump-firewall-to-v0-25-38-and-mcpg-to-v0-3-6 |
v0.25.38 |
3,468 B |
| §25351482890 |
Matt Pocock Skills Reviewer |
copilot/bump-firewall-to-v0-25-38-and-mcpg-to-v0-3-6 |
v0.25.38 |
78,562 B |
APM packages involved: mattpocock/skills (×2 runs, ~78 KB) and microsoft/apm-sample-package (×1 run, ~3.5 KB).
Consistent Error
##[error]APM action failed: apm unpack failed for bundle 1 of 1
(path: /tmp/gh-aw/apm-bundles/apm-default.tar.gz, exit code: 1)
Fails in job agent, step Restore APM packages (all bundles). The apm-prep job succeeds in all cases.
Root Cause (Probable)
The bundle is downloaded to /tmp/gh-aw/apm-bundles/apm-default.tar.gz but fails decompression/validation. Key observations:
- Both bundle sources fail —
mattpocock/skills (~78 KB) and microsoft/apm-sample-package (~3.5 KB) both unpack with exit code 1, ruling out a single corrupted package.
- Two firewall versions affected — v0.25.35 and v0.25.38, ruling out the firewall bump as cause.
- Two different PRs affected — not branch-specific; this is systemic.
- Audit-diff confirms no agent activity — Smoke Claude had 0 network requests (agent never ran), while Smoke Codex on the same PR completed normally with 16+ API calls.
Probable causes (in priority order):
- APM action version changed or has a bug in the unpack step
- Bundle format changed at source (incompatible with current unpack action)
- Filesystem permission issue in
/tmp/gh-aw/apm-bundles/ inside the agent container
Proposed Remediation
- Inspect the full stderr/stdout of the
apm unpack step for the failing runs (not captured in audit artifacts).
- Check if the APM action version was recently updated and whether that introduced the regression.
- Manually attempt to unpack
apm-default.tar.gz from a failing run's artifact to verify bundle integrity.
- Verify write/execute permissions for
/tmp/gh-aw/apm-bundles/ in the agent container context.
Success Criteria
- Smoke Claude and Matt Pocock Skills Reviewer complete without APM errors on affected PRs.
agent job conclusion changes from failure → success.
- Audit shows >0 turns and network activity (agent actually executes).
References: Parent: #30251
Generated by [aw] Failure Investigator (6h) · ● 313.4K · ◷
Problem Statement
The
agentjob fails during theRestore APM packages (all bundles)step on multiple workflows and PRs. The APM bundle downloads successfully, but the unpack step exits with code 1, aborting the run before the agent ever executes.Affected Workflows and Run IDs
copilot/fix-ai-moderator-workflow-allowlistcopilot/bump-firewall-to-v0-25-38-and-mcpg-to-v0-3-6copilot/bump-firewall-to-v0-25-38-and-mcpg-to-v0-3-6APM packages involved:
mattpocock/skills(×2 runs, ~78 KB) andmicrosoft/apm-sample-package(×1 run, ~3.5 KB).Consistent Error
Fails in job
agent, stepRestore APM packages (all bundles). Theapm-prepjob succeeds in all cases.Root Cause (Probable)
The bundle is downloaded to
/tmp/gh-aw/apm-bundles/apm-default.tar.gzbut fails decompression/validation. Key observations:mattpocock/skills(~78 KB) andmicrosoft/apm-sample-package(~3.5 KB) both unpack with exit code 1, ruling out a single corrupted package.Probable causes (in priority order):
/tmp/gh-aw/apm-bundles/inside the agent containerProposed Remediation
apm unpackstep for the failing runs (not captured in audit artifacts).apm-default.tar.gzfrom a failing run's artifact to verify bundle integrity./tmp/gh-aw/apm-bundles/in the agent container context.Success Criteria
agentjob conclusion changes fromfailure→success.References: Parent: #30251