Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] streaming behavior inconsistent with multiple of the same validator #1118

Open
dtam opened this issue Oct 7, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@dtam
Copy link
Contributor

dtam commented Oct 7, 2024

Describe the bug
two of the same validator on different stream validation cadences results in inconsistent chunk validation and fixing

To Reproduce
Steps to reproduce the behavior:
create a guard with use many and detect pii, set its streaming strategy to sentence and word. run validation

Expected behavior
validated stream chunks are at the speed of the slower cadance

Actual behavior
chunks are emitted on a per word basis every 2 words

Library version:
Version (e.g. 0.1.5)

Additional context
this is an issue in sequential_validation_service and how it buffers chunks not on a per validator basis

@dtam dtam added the bug Something isn't working label Oct 7, 2024
Copy link

github-actions bot commented Nov 7, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 14 days.

@github-actions github-actions bot added the Stale label Nov 7, 2024
@dtam dtam removed the Stale label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant