Skip to content

fix: suppress hook locale warnings#38

Merged
intel352 merged 1 commit into
mainfrom
fix/hook-locale-json
May 26, 2026
Merged

fix: suppress hook locale warnings#38
intel352 merged 1 commit into
mainfrom
fix/hook-locale-json

Conversation

@intel352
Copy link
Copy Markdown
Contributor

Summary

  • normalize unavailable C.UTF-8 locale values in the shared hook wrapper before launching hook scripts
  • add a wrapper-level hook contract regression proving valid JSON with no stderr under C.UTF-8 env vars
  • bump plugin metadata and release notes to 6.0.3

Verification

  • ./tests/hook-contracts.sh
  • for t in tests/*.sh; do printf '== %s ==\n' ""; ""; done

Note: local direct-hook tests still print ambient shell locale warnings before the wrapper is involved; the new regression captures the actual plugin wrapper path and asserts its stderr is empty.

@intel352 intel352 merged commit 6f8a6d0 into main May 26, 2026
5 checks passed
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.

1 participant