-
Notifications
You must be signed in to change notification settings - Fork 537
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
Add support for soft/hard block in upload_to_mllf_to_remote_settings cron #22885
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KevinMind
changed the base branch from
soft-block-bloom-filter-filter
to
master
November 22, 2024 17:09
KevinMind
changed the title
Soft-block-cron-job
Add support for soft/hard block in upload_to_mllf_to_remote_settings cron
Nov 22, 2024
KevinMind
force-pushed
the
soft-block-cron-job
branch
2 times, most recently
from
November 22, 2024 17:35
6884583
to
32b86be
Compare
KevinMind
force-pushed
the
soft-block-cron-job
branch
from
November 22, 2024 17:43
32b86be
to
7ad8894
Compare
5 tasks
willdurand
reviewed
Nov 25, 2024
KevinMind
force-pushed
the
soft-block-cron-job
branch
from
November 25, 2024 12:34
7ad8894
to
118357c
Compare
KevinMind
force-pushed
the
soft-block-upload-task
branch
2 times, most recently
from
November 25, 2024 14:33
2488f60
to
9efc622
Compare
KevinMind
force-pushed
the
soft-block-cron-job
branch
from
November 25, 2024 14:35
118357c
to
7ce011d
Compare
KevinMind
force-pushed
the
soft-block-upload-task
branch
from
November 25, 2024 15:02
9efc622
to
256e667
Compare
KevinMind
force-pushed
the
soft-block-cron-job
branch
from
November 25, 2024 16:04
7ce011d
to
c182794
Compare
KevinMind
force-pushed
the
soft-block-cron-job
branch
2 times, most recently
from
November 25, 2024 16:43
4b1719c
to
d8a5812
Compare
…cron: - adds support to process fort blocks in the cron - does not actually support soft blocks, we skip them always - adds test proving we always skip them This commit makes actually adding them more clear and easier to grok
KevinMind
force-pushed
the
soft-block-cron-job
branch
from
November 25, 2024 16:49
c7b11c2
to
3032f48
Compare
willdurand
requested changes
Nov 25, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some preliminary (minor) feedback, this looks good.
Co-authored-by: William Durand <[email protected]> Update src/olympia/blocklist/cron.py Co-authored-by: William Durand <[email protected]> Update src/olympia/blocklist/cron.py Co-authored-by: William Durand <[email protected]> Update src/olympia/blocklist/cron.py Co-authored-by: William Durand <[email protected]> Update src/olympia/blocklist/cron.py Co-authored-by: William Durand <[email protected]> Update src/olympia/blocklist/cron.py Co-authored-by: William Durand <[email protected]> Update src/olympia/blocklist/tests/test_cron.py Co-authored-by: William Durand <[email protected]>
KevinMind
force-pushed
the
soft-block-cron-job
branch
from
November 25, 2024 18:18
ef1cd49
to
29949e2
Compare
KevinMind
force-pushed
the
soft-block-cron-job
branch
from
November 25, 2024 18:37
8c7f026
to
ac83d58
Compare
willdurand
approved these changes
Nov 25, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r+wc, thanks
This looks good, especially when we do not enable the soft-blocking switch, haha
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Relates to: mozilla/addons#15014
Description
Context
This commit makes actually adding them more clear and easier to grok
Testing
Test exactly the same as #22828
Adding hard or soft blocks should produce only hard block filter/stash regardless of the soft block change count or the
enable-soft-blocking
waffle_switch.Checklist
#ISSUENUM
at the top of your PR to an existing open issue in the mozilla/addons repository.