-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Re-architect openlibrary.solr / update_work for easier expansion #8618
Merged
mekarpeles
merged 28 commits into
internetarchive:master
from
cdrini:refactor/update-work
Dec 14, 2023
Merged
Re-architect openlibrary.solr / update_work for easier expansion #8618
mekarpeles
merged 28 commits into
internetarchive:master
from
cdrini:refactor/update-work
Dec 14, 2023
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
- Reduce cyclic imports - Put utils into separate file
- Remove unused resolve_redirects param
Copilot tweaked some of the inputs while I was rewriting the tests -_-
cdrini
force-pushed
the
refactor/update-work
branch
from
December 14, 2023 11:03
ef89973
to
1725ebc
Compare
cdrini
changed the title
Reorganize update_work for easier expansion
Re-architect openlibrary.solr / update_work for easier expansion
Dec 14, 2023
cdrini
force-pushed
the
refactor/update-work
branch
from
December 14, 2023 11:19
eb09199
to
5aaed5e
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8618 +/- ##
=======================================
Coverage 16.68% 16.68%
=======================================
Files 88 88
Lines 4680 4680
Branches 835 835
=======================================
Hits 781 781
Misses 3383 3383
Partials 516 516 ☔ View full report in Codecov by Sentry. |
cdrini
force-pushed
the
refactor/update-work
branch
from
December 14, 2023 13:17
08d93ed
to
3baf93d
Compare
Merged
lgtm, it's possible things will come up during testing, @cdrini and I ran through the code architecture and it looks like a great step in the right direction. |
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.
Re-architect the openlibrary.solr.
Important
Highly recommend going commit-by-commit on this one for review. A lot of the commits will be smoother sailing of moving things around.
AbstractSolrBuilder
classes ; classes that use@property
's to convert db objects to solr objects.openlibrary.solr.updater.AbstractSolrUpdater
classes that fetch various adjacent data before passing to the solr builders.Note:
Technical
Possible risks:
Testing
Screenshot
Stakeholders