Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Check ignore value for legacy configuration#812

Open
quinnmil wants to merge 2 commits into
master from
811-backwards-compatible-ignore
Open

Check ignore value for legacy configuration #812
quinnmil wants to merge 2 commits into
master from
811-backwards-compatible-ignore

Conversation

@quinnmil

@quinnmil quinnmil commented May 6, 2025

Copy link
Copy Markdown
Contributor

Changes

  • Fixes a bug where if the only sampling configuration set was the ignore value, we weren't checking for this in the any_sampling check.
  • Adds a test for this case.

@quinnmil quinnmil force-pushed the 811-backwards-compatible-ignore branch from 1145c19 to 5e62200 Compare May 6, 2025 19:46

quinnmil commented May 6, 2025

Copy link
Copy Markdown
Contributor Author

Realized that the changes here are redundant. This has already been supported via this:

 self.ignore_endpoints = set(
 config.value("ignore_endpoints") + config.value("ignore")
 )

So we're removing extra logic, but leaving in the new test.

@quinnmil quinnmil force-pushed the 811-backwards-compatible-ignore branch from 5e62200 to c85f0be Compare May 6, 2025 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Retain backwards compatibility with "ignore" configuration option.

1 participant

AltStyle によって変換されたページ (->オリジナル) /