Conversation
f18430a to
b975b8e
Compare
misaniwere
reviewed
Feb 5, 2025
ncloudioj
reviewed
Feb 6, 2025
ca2687b to
0cedcab
Compare
ncloudioj
reviewed
Feb 6, 2025
misaniwere
reviewed
Feb 6, 2025
misaniwere
reviewed
Feb 6, 2025
b72fc31 to
9c206a6
Compare
9c206a6 to
31448f3
Compare
Contributor
|
LGTM, let's confirm a few things before the merge.
|
mmiermans
reviewed
Feb 7, 2025
Collaborator
mmiermans
left a comment
There was a problem hiding this comment.
Only have some questions related to testing. The rest looks good. Thanks for making this change! 👍
tests/integration/api/v1/curated_recommendations/test_curated_recommendations.py
Show resolved
Hide resolved
tests/integration/api/v1/curated_recommendations/test_curated_recommendations.py
Outdated
Show resolved
Hide resolved
Collaborator
We set the expectation that adding attributes is not a breaking change, but that clients (Desktop and Android for now) will be notified of any changes regardless, to avoid surprises. If they're not already aware, could you send them a Slack message before merging this? |
31448f3 to
6eb12b9
Compare
mmiermans
approved these changes
Feb 7, 2025
|
|
||
| @pytest.fixture(autouse=True) | ||
| def setup_providers(corpus_provider): | ||
| def setup_suggest_providers(corpus_provider): |
Collaborator
There was a problem hiding this comment.
Suggested change
| def setup_suggest_providers(corpus_provider): | |
| def setup_curated_recommendations_provider(corpus_provider): |
This file contains hidden or 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
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.
References
JIRA:
Description
Enriching the
/curated-recommendationsendpoint with aiconUrlfield for each article recommendation. TheiconUrlis aHttpUrl, taken from theManifestprovider, and if the favicon for the domain is available, we attach it to a recommendation. Otherwise, we return an empty string.In the background, the
Manifestis updated once a week, and therefore the icons will be updated in this interval. Which means newly added domains to theManifestwill be available to this endpoint at that time.PR Review Checklist
Put an
xin the boxes that apply[DISCO-####], and has the same title (if applicable)[load test: (abort|skip|warn)]keywords are applied to the last commit message (if applicable)