Add agent-generated files directory to artifact uploads#13945
Conversation
- Add /tmp/gh-aw/agent/ to artifactPaths in compiler_yaml_main_job.go - This enables persisting agent-generated files like smoke-claude status summaries - MCP server startup logging with DEBUG="*" and GitHub Actions notices already implemented - Recompiled all 145 workflows to include the new artifact path Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR enables persisting agent-generated files by adding /tmp/gh-aw/agent/ to artifact upload paths across all 145 workflows. This supports workflows like smoke-claude that instruct agents to write status summaries and test files to this directory.
Changes:
- Added
/tmp/gh-aw/agent/directory to unified artifact upload paths in the workflow compiler - Recompiled all 145 workflow files to include the new artifact path
- Verified existing MCP server startup logging already uses
DEBUG="*"and GitHub Actions notices
Reviewed changes
Copilot reviewed 146 out of 146 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pkg/workflow/compiler_yaml_main_job.go | Added /tmp/gh-aw/agent/ to artifactPaths collection with clear documentation |
| .github/workflows/*.lock.yml (145 files) | All workflow lock files regenerated to include the new artifact path in unified uploads |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
❌ Changeset Generator failed. Please review the logs for details. |
|
📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing... |
|
🎬 THE END — Smoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨ |
|
🌑 The shadows whisper... Smoke Codex failed. The oracle requires further meditation... |
Agent Container Tool Check
Result: 11/12 tools available ❌ FAIL Missing Tool: .NET (dotnet) runtime is not available in the container.
|
Smoke Test ResultsLast 2 Merged PRs:
Test Results:
Overall: ✅ PASS cc: @pelikhan
|
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤 |
The smoke-claude workflow writes status summaries to
/tmp/gh-aw/agent/but these files were not persisted. Workflows that instruct agents to write output files need this directory uploaded for debugging and analysis.Changes
/tmp/gh-aw/agent/to artifact upload paths (pkg/workflow/compiler_yaml_main_job.go)artifactPathsslice after agent stdio logsif-no-files-found: ignoreso empty directories don't fail uploadsExample Usage
Note: MCP server startup logging (
DEBUG="*"+ GitHub Actions notices) was already implemented in all three server startup scripts.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.