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

Log flag_pattern_matching usage #524

Merged
merged 1 commit into from
Feb 24, 2025
Merged

Conversation

Swatinem
Copy link
Contributor

There is the old substring match behavior, and the new exact match one. We do get logs for mismatches, but usage of the old behavior depends on a config flag which we are not logging yet.

There is the `old` substring match behavior, and the new exact match one.
We do get logs for mismatches, but usage of the old behavior depends on a config flag which we are not logging yet.
@Swatinem Swatinem requested a review from a team February 24, 2025 08:25
@Swatinem Swatinem self-assigned this Feb 24, 2025
Copy link

codspeed-hq bot commented Feb 24, 2025

CodSpeed Performance Report

Merging #524 will create unknown performance changes

Comparing swatinem/log-pattern-mismatch (4580478) with main (c3a2f78)

Summary

⚠️ No benchmarks were detected in both the base of the PR and the PR.\

@Swatinem Swatinem enabled auto-merge February 24, 2025 08:32
@@ -194,8 +196,15 @@ def _calculate_sessionids_to_include(self):
report_flags=sorted(self.report.flags.keys()),
),
)
if get_config("compatibility", "flag_pattern_matching", default=False):
return old_style_sessions
if get_config("compatibility", "flag_pattern_matching", default=False):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

change in indentation is intended. previously we would check the flag and return old even if old == new.

@Swatinem Swatinem added this pull request to the merge queue Feb 24, 2025
Merged via the queue into main with commit aa576eb Feb 24, 2025
8 checks passed
@Swatinem Swatinem deleted the swatinem/log-pattern-mismatch branch February 24, 2025 09:52
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