Skip to content

smoke-copilot: add artifact readability test#5711

Merged
lpcox merged 1 commit into
mainfrom
feat/smoke-copilot-artifact-readability
May 14, 2026
Merged

smoke-copilot: add artifact readability test#5711
lpcox merged 1 commit into
mainfrom
feat/smoke-copilot-artifact-readability

Conversation

@lpcox
Copy link
Copy Markdown
Collaborator

@lpcox lpcox commented May 14, 2026

Summary

Adds a new test step to the smoke-copilot workflow that verifies all files under /tmp/gh-aw/mcp-logs/ are readable before the framework's artifact upload step runs.

Problem

The wazero-cache directory was created with 0700 permissions, causing the artifact upload step to fail with EACCES. However, because the framework uses continue-on-error: true on the upload step, this failure was silently swallowed — the smoke test still reported success.

Fix

Test step 6 now runs find /tmp/gh-aw/mcp-logs/ -not -readable and fails the overall test if any files/directories have restrictive permissions. This ensures future permission issues are surfaced as explicit test failures rather than silent artifact upload errors.

Adds test step 6 that verifies all files under /tmp/gh-aw/mcp-logs/ are
readable. This ensures permission issues (like the wazero-cache 0700
directory) cause an explicit smoke test failure instead of being silently
swallowed by the framework's continue-on-error on artifact upload.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 14, 2026 21:33
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a readability check step to the smoke-copilot workflow so restrictive file permissions under /tmp/gh-aw/mcp-logs/ (e.g. the 0700 wazero-cache directory) surface as explicit test failures rather than being silently swallowed by the framework's continue-on-error artifact upload.

Changes:

  • Adds step 6 "Artifact Readability Testing" that runs find /tmp/gh-aw/mcp-logs/ -not -readable and fails the test if any output is produced.
Show a summary per file
File Description
.github/workflows/smoke-copilot.md Adds new test step 6 to detect unreadable files/dirs in mcp-logs prior to artifact upload.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants