-
Notifications
You must be signed in to change notification settings - Fork 21
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
Mobile Config filter Boosted Hexes #801
Merged
michaeldjeffrey
merged 8 commits into
mj/hip-109-boost-by-device-type
from
mj/mobile-config-filter-boosted-hexes
May 8, 2024
Merged
Mobile Config filter Boosted Hexes #801
michaeldjeffrey
merged 8 commits into
mj/hip-109-boost-by-device-type
from
mj/mobile-config-filter-boosted-hexes
May 8, 2024
Commits on May 7, 2024
-
Refactor to use BoostedHexes methods
Making the internal member hexes private will make it easier to change the implementation when device type is introduced.
Configuration menu - View commit details
-
Copy full SHA for c896a82 - Browse repository at this point
Copy the full SHA c896a82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b558ca - Browse repository at this point
Copy the full SHA 2b558caView commit details -
refactor metadata_db tests to make test clearer
also makes it easier to add new tests
Configuration menu - View commit details
-
Copy full SHA for 8091ceb - Browse repository at this point
Copy the full SHA 8091cebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8767a15 - Browse repository at this point
Copy the full SHA 8767a15View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb80d44 - Browse repository at this point
Copy the full SHA fb80d44View commit details -
optimize by computing end_ts in db query
Thanks for the query help Brian! By precomputing the end timestamp of a boosted hex, we can not have to stream all the hexes out of the db just to throw them away.
Configuration menu - View commit details
-
Copy full SHA for dde0707 - Browse repository at this point
Copy the full SHA dde0707View commit details -
- remove unused imports - remove old refactor return types
Configuration menu - View commit details
-
Copy full SHA for 18fc99a - Browse repository at this point
Copy the full SHA 18fc99aView commit details -
make boosted hex test function more explicit
If the expired check had been made a global check, the ability to use BoostedHexes for modified hexes would have broken at runtime. The attempt here is to make very explicit during testing how to meet the same contract as the database queries for boosted hexes. I think there are still some cracks, but we can narrow in on those as we find them. For now, I think naming test constructor functions is a good start.
Configuration menu - View commit details
-
Copy full SHA for 66b36d8 - Browse repository at this point
Copy the full SHA 66b36d8View commit details
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.