Skip to content

Conversation

Copy link

Copilot AI commented Dec 12, 2025

The integration test job fails on Linux with "Permission denied" when executing xUnit v3 test apphosts. The find command that sets execute permissions on test binaries was using -maxdepth 1, preventing it from locating executables nested in subdirectories.

Change

Removed -maxdepth 1 from the find command in .github/workflows/ci-pipeline.yml:

- find . -path "*/bin/${{ matrix.configuration }}/net*/*" -maxdepth 1 -type f -name "*Tests*" -print || true
+ find . -path "*/bin/${{ matrix.configuration }}/net*/*" -type f -name "*Tests*" -print || true

This allows the command to recursively search and properly set execute permissions on test binaries regardless of nesting depth.

Original prompt

Why is this repo failing in GitHub Actions when the merged PR to this main worked flawlessly, e.g. this branch: https://github.com/codebeltnet/cuemon/tree/v10.1.1/service-update


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@coderabbitai
Copy link

coderabbitai bot commented Dec 12, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Remove -maxdepth 1 from find command to ensure test executables are found
regardless of directory nesting depth. The -maxdepth 1 option was preventing
the find command from locating test executables in subdirectories under
the bin/{configuration}/net* path, causing "Permission denied" errors when
xUnit v3 tried to execute the test apphosts on Linux.

Co-authored-by: gimlichael <[email protected]>
Copilot AI changed the title [WIP] Investigate failure in GitHub Actions for service update branch Fix xUnit v3 test apphost permissions on Linux Dec 12, 2025
Copilot AI requested a review from gimlichael December 12, 2025 15:50
@gimlichael gimlichael closed this Dec 12, 2025
@gimlichael gimlichael deleted the copilot/investigate-github-actions-failure branch December 12, 2025 22:55
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