Skip to content

fix: log warning on unmask regex compile failure (v2.6.5)#38

Merged
click0 merged 1 commit into
mainfrom
claude/refactor-data-masking-lIcWN
Jun 28, 2026
Merged

fix: log warning on unmask regex compile failure (v2.6.5)#38
click0 merged 1 commit into
mainfrom
claude/refactor-data-masking-lIcWN

Conversation

@click0

@click0 click0 commented Jun 28, 2026

Copy link
Copy Markdown
Owner

The v2.6.4 fallback from the combined alternation regex to the per-mask scan was silent. Now logs a WARNING with the regex error and mask count, since the fallback is significantly slower on large files.

+1 test: monkeypatched compile failure → warning emitted + correct result via fallback.

434 tests pass.

https://claude.ai/code/session_01XT6iUWaQgahXDB9TWX9Bq7


Generated by Claude Code

The v2.6.4 fallback to the per-mask scan was silent. Now logs a warning
with the regex error and mask count, since the fallback is much slower
on large files. +1 test (monkeypatched compile failure -> warning + fallback).

https://claude.ai/code/session_01XT6iUWaQgahXDB9TWX9Bq7
@click0 click0 merged commit 5732bf3 into main Jun 28, 2026
1 check passed
@click0 click0 deleted the claude/refactor-data-masking-lIcWN branch June 29, 2026 14:40
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.

2 participants