Repository navigation
fix(reports): say why the default report directory was refused and how to choose another - #541
Merged
Merged
Conversation
…w to choose another When neither `reports/` nor `<skill>-reports/` can be claimed, validate stopped with "Cannot safely reserve default report output directory: <dir>" and no next step. That state is easy to reach when the ownership key changes between runs, for example containers that each start with a fresh home directory: the third run in one working folder fails. Keep the refusal, which protects folders SkillEvaluator cannot prove it created, and add the reason and the fix to the message: pass -o/--output-dir. Document the case in docs/reports.mdx. Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
chrisknvidia
requested review from
mosheabr,
rmalani-nv and
rng1995
as code owners
November 14, 2026 02:08
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.
Summary
When neither
reports/nor<skill>-reports/can be claimed,validatestopped with only:That state is easy to reach when the ownership key changes between runs, for example containers that each start with a fresh home directory. The first run writes
reports/, the second relocates to<skill>-reports/, and the third fails with no hint.The refusal is on purpose (it protects folders SkillEvaluator cannot prove it created) and stays. The message now gives the reason and the way out:
docs/reports.mdxnow says what happens when the sibling folder is unowned too, and that ownership is tied to a key in the home directory.Verification
validatethree times with three ownership keys, checks the third run fails with the hint and changes no file, then passes with-o.tests/test_commands.py,tests/test_cli.py,tests/test_base_install.pyand the docs tests: 531 passed.ruff checkandruff format --checkpass.Release Impact
CHANGELOG.mdanddocs/reports.mdx.