Fail victory config when paths violate the asset policy #308

Closed
github-bot wants to merge 1 commit from github-bot/gh-308 into rx9070xt AGit
Owner

@⁠hajduzsolt on GitHub · 2026-11-26 19:39 UTC · original
fix/config-policy-exit → rx9070xt · +40 −1 · 2 files · 1 commits · closed without merging

victory config now exits with a failure status when a configured path violates the asset policy. The resolved settings still go to stdout, and every rejected path goes to stderr.

Closes #301.

Validation: the Windows CLI test checks success with valid paths and confirms that two rejected paths produce separate stderr messages and a nonzero exit code. The staged asset-policy hook passed.

AI assistance: ChatGPT 6.2 Sol Extra High.

**@⁠hajduzsolt** on GitHub · 2026-11-26 19:39 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/308) `fix/config-policy-exit` → `rx9070xt` · +40 −1 · 2 files · 1 commits · closed without merging `victory config` now exits with a failure status when a configured path violates the asset policy. The resolved settings still go to stdout, and every rejected path goes to stderr. Closes #301. Validation: the Windows CLI test checks success with valid paths and confirms that two rejected paths produce separate stderr messages and a nonzero exit code. The staged asset-policy hook passed. AI assistance: ChatGPT 6.2 Sol Extra High.
Report every rejected path on stderr and leave the resolved configuration on stdout. Add a CLI regression for two violations in one invocation.

Refs #301

AI-Assisted-By: ChatGPT 6.2 Sol Extra High
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 19:49:16 +00:00
github-bot closed this pull request 2026-11-26 20:44:48 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.