Skip to content

[aw-failures] [aw] Fix: APM unpack fails for apm-default.tar.gz (exit code 1) — 3 workflows blocked #30252

@github-actions

Description

@github-actions

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:

  1. Both bundle sources failmattpocock/skills (~78 KB) and microsoft/apm-sample-package (~3.5 KB) both unpack with exit code 1, ruling out a single corrupted package.
  2. Two firewall versions affected — v0.25.35 and v0.25.38, ruling out the firewall bump as cause.
  3. Two different PRs affected — not branch-specific; this is systemic.
  4. 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

  1. Inspect the full stderr/stdout of the apm unpack step for the failing runs (not captured in audit artifacts).
  2. Check if the APM action version was recently updated and whether that introduced the regression.
  3. Manually attempt to unpack apm-default.tar.gz from a failing run's artifact to verify bundle integrity.
  4. 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 failuresuccess.
  • Audit shows >0 turns and network activity (agent actually executes).

References: Parent: #30251

Generated by [aw] Failure Investigator (6h) · ● 313.4K ·

  • expires on May 12, 2026, 1:29 AM UTC

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions