Skip to content

Possible regression bug - safe-outputs fails on uploading artifacts #21834

@molson504x

Description

@molson504x

After upgrading gh aw to version v0.62.1, the safe-outputs step in the workflows is consistently failing on both ARC runners and github-hosted runners. The failure is on artifact upload:

2026-03-19T18:05:19.6749359Z ##[group]Run actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
2026-03-19T18:05:19.6750155Z with:
2026-03-19T18:05:19.6750370Z   name: agent
2026-03-19T18:05:19.6750594Z   path: /tmp/gh-aw/safe-output-items.jsonl
2026-03-19T18:05:19.6750890Z   if-no-files-found: ignore
2026-03-19T18:05:19.6751130Z   compression-level: 6
2026-03-19T18:05:19.6751336Z   overwrite: false
2026-03-19T18:05:19.6751543Z   include-hidden-files: false
2026-03-19T18:05:19.6751768Z   archive: true
2026-03-19T18:05:19.6751948Z env:
2026-03-19T18:05:19.6752134Z   GH_AW_INFO_FIREWALL_ENABLED: false
2026-03-19T18:05:19.6752567Z   GH_AW_CALLER_WORKFLOW_ID: mdo-test-org/agentic-mulesoft-build-publish/maven-build-publish
2026-03-19T18:05:19.6753004Z   GH_AW_ENGINE_ID: copilot
2026-03-19T18:05:19.6753237Z   GH_AW_WORKFLOW_ID: maven-build-publish
2026-03-19T18:05:19.6753530Z   GH_AW_WORKFLOW_NAME: Maven Build and Publish
2026-03-19T18:05:19.6753839Z   GH_AW_AGENT_OUTPUT: /tmp/gh-aw/agent_output.json
2026-03-19T18:05:19.6754175Z   GH_HOST: github.com
2026-03-19T18:05:19.6754372Z ##[endgroup]
2026-03-19T18:05:19.8382394Z With the provided path, there will be 1 file uploaded
2026-03-19T18:05:19.8396027Z Artifact name is valid!
2026-03-19T18:05:19.8410284Z Root directory input is valid!
2026-03-19T18:05:20.0833560Z ##[error]Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run

An artifact with the name "agent" is being uploaded during the agent job which is the cause of this collision.

Metadata

Metadata

Labels

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