Add debug step to investigate missing results artifacts - #51
Closed
adityamandaleeka wants to merge 1 commit into
Closed
Add debug step to investigate missing results artifacts#51adityamandaleeka wants to merge 1 commit into
adityamandaleeka wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a dedicated debugging step in the evaluation GitHub Actions workflow to help diagnose cases where the expected results.json artifact isn’t being produced or uploaded.
Changes:
- Introduces a new “Debug results dir” step that always runs to print the working directory, locate
results.json, and list.skill-validator-results/.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| if: always() | ||
| run: | | ||
| echo "cwd: $(pwd)" | ||
| find . -path './.git' -prune -o -name 'results.json' -print |
There was a problem hiding this comment.
find . will traverse nested .git dirs (e.g., .skill-validator/.git) and potentially large trees like .skill-validator/node_modules, which can add avoidable overhead/noisy logs on every run. Consider pruning all .git dirs (-name .git -prune) and/or limiting the search scope (e.g., search under .skill-validator-results or add -maxdepth / prune */node_modules).
Suggested change
| find . -path './.git' -prune -o -name 'results.json' -print | |
| find .skill-validator-results -name 'results.json' -print |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.