Repository navigation
v0.4.1 — validate-mode fail-safe
Hardens validation-mode resolution so a misconfigured prod environment cannot start crashing the host.
uv add "git+https://github.com/collide-ai/collide-logging-py.git@v0.4.1"Fixed
- Unrecognized
COLLIDE_LOG_VALIDATEvalues fail safe tolenient(#37). Previously only the literal"lenient"enabled lenient mode; any other set value (a typo likeleniant, stray whitespace, or empty string) silently fell through toraisemode, where a schema violation throwsEventValidationErrorinto the host — defeating v0.4.0's "never crashes in prod" guarantee. The var is now normalized (whitespace stripped, case-insensitive); unrecognized set values resolve tolenientwith a one-timecollide_logging.invalid_validate_modewarning carrying the offending value.
Behavior note: COLLIDE_LOG_VALIDATE="" now resolves to lenient (was raise-mode). Leave the var unset for raise-mode.