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

server,sql: increase redaction coverage of diagnostics tests #139062

Merged

Conversation

dhartunian
Copy link
Collaborator

This change adds test coverage to the diagnostic reporter that's meant to catch situations where schema or statement scrubbing is accidentally turned off.

In the course of adding tests for SQL Stats it was discovered that the diagnostics reporter would include statements that were in internal applications ($ internal prefix) so a change was made to omit those from the reports.

Resolves: #134450

Release note: None

@dhartunian dhartunian requested a review from a team as a code owner January 14, 2025 19:20
@cockroach-teamcity
Copy link
Member

This change is Reviewable

This change adds test coverage to the diagnostic reporter that's
meant to catch situations where schema or statement scrubbing is
accidentally turned off.

In the course of adding tests for SQL Stats it was discovered that the
diagnostics reporter would include statements that were in internal
applications (`$ internal` prefix) so a change was made to omit those
from the reports.

Resolves: cockroachdb#134450

Release note: None
@dhartunian dhartunian force-pushed the diagnostics-test-increase-coverage branch from ca3a33a to f876eb6 Compare January 15, 2025 18:28
@dhartunian
Copy link
Collaborator Author

TFTR!

bors r=angles-n-daemons

@craig craig bot merged commit 286abc2 into cockroachdb:master Jan 17, 2025
22 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.

diagnostics: add datadriven testing to diagnostics output to detect regressions/changes
3 participants