Skip to content

Update artifact naming documentation to reflect upload-artifact@v5 changes#8397

Merged
pelikhan merged 2 commits into
copilot/update-action-run-referencesfrom
copilot/update-gh-aw-actions
Jan 1, 2026
Merged

Update artifact naming documentation to reflect upload-artifact@v5 changes#8397
pelikhan merged 2 commits into
copilot/update-action-run-referencesfrom
copilot/update-gh-aw-actions

Conversation

Copilot AI commented Jan 1, 2026

Copy link
Copy Markdown
Contributor

PR #8362 renamed artifacts from agent_output.jsonagent-output (and similar) to comply with upload-artifact@v5 requirements, but specs/layout.md still documented the old names, creating confusion about which name to use when.

Changes

Updated artifact documentation structure

  • Added "File Inside" column to distinguish artifact names (GitHub Actions layer) from file names (filesystem layer)
  • Artifact names: agent-output, safe-output, aw-info, prompt (hyphens, no extensions)
  • File names inside: agent_output.json, safe_output.jsonl, aw_info.json, prompt.txt (unchanged)

Updated constant value documentation

  • AgentOutputArtifactName: "agent-output" (was documented as "agent_output.json")
  • SafeOutputArtifactName: "safe-output" (was documented as "safe_output.jsonl")

Clarified environment variable paths

  • GH_AW_AGENT_OUTPUT now documents the full path including artifact subdirectory: /tmp/gh-aw/safeoutputs/agent-output/agent_output.json

Key Insight

# Artifact name (GitHub Actions layer)
- uses: actions/upload-artifact@v6
  with:
    name: agent-output  # ← Changed (hyphens, no extension)
    path: /tmp/gh-aw/agent_output.json  # ← File name unchanged

# Later download extracts to:
# /tmp/gh-aw/safeoutputs/agent-output/agent_output.json
#                        └─ artifact dir └─ original filename

Other documentation (compilation-process.md, threat-detection.md) already correctly referenced file names and required no changes.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/githubnext/gh-aw/check-runs/59245594596/annotations
    • Triggering command: /usr/bin/curl curl -s REDACTED (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Reference: https://github.com/githubnext/gh-aw/actions/runs/20629624745/job/59245594596#step:6:1

Custom agent used: debug-agentic-workflow
Debug and refine agentic workflows using gh-aw CLI tools - analyze logs, audit runs, and improve workflow performance


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update GH AW actions based on run reference Update artifact naming documentation to reflect upload-artifact@v5 changes Jan 1, 2026
Copilot AI requested a review from pelikhan January 1, 2026 00:43
@github-actions

github-actions Bot commented Jan 1, 2026

Copy link
Copy Markdown
Contributor

Smoke Test Results

Last 2 Merged PRs:

Test Results:

  • ✅ GitHub MCP - Retrieved PR data
  • ✅ File Writing - Created /tmp/gh-aw/agent/smoke-test-copilot-20629950807.txt
  • ✅ Bash Tool - Verified file contents
  • ✅ Playwright MCP - Navigated to github.com (title: "GitHub · Change is constant. GitHub keeps you ahead. · GitHub")
  • ❌ Safe Input gh Tool - No auth token configured

Overall Status: PASS (4/5 tests successful)

AI generated by Smoke Copilot No Firewall

@pelikhan pelikhan marked this pull request as ready for review January 1, 2026 01:16
@pelikhan pelikhan merged commit 03f815f into copilot/update-action-run-references Jan 1, 2026
@pelikhan pelikhan deleted the copilot/update-gh-aw-actions branch January 1, 2026 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants