Skip to content

[VAULT-34754] Add a concurrency test to the regexp module #166

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kubawi
Copy link
Contributor

@kubawi kubawi commented Jun 18, 2025

Adds a little test that stresses the new interned regexp library by compiling and accessing the same pattern from a hundred goroutines.

PCI review checklist

  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.

  • If applicable, I've worked with GRC to document the impact of any changes to security controls.

    Examples of changes to controls include access controls, encryption, logging, etc.

  • If applicable, I've worked with GRC to ensure compliance due to a significant change to the in-scope PCI environment.

    Examples include changes to operating systems, ports, protocols, services, cryptography-related components, PII processing code, etc.

@kubawi kubawi self-assigned this Jun 18, 2025
guygrigsby
guygrigsby previously approved these changes Jun 18, 2025
Copy link
Member

@guygrigsby guygrigsby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

raskchanky
raskchanky previously approved these changes Jun 18, 2025
Copy link

@raskchanky raskchanky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

…exercise MustCompileInterned; fixed a typo in the godoc comment
@kubawi kubawi dismissed stale reviews from raskchanky and guygrigsby via 3c26b08 June 18, 2025 23:29
@kubawi kubawi requested a review from raskchanky June 18, 2025 23:33
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.

3 participants