- There are some updates in service-template-node. Bring those into the recommendation API repository.
- Setting up queries in the config is not a good thing to do. These are not configurable parameters, these are a part of the application. These have to be transferred into the code.
- config.prod.yaml is not needed
- T210460 - sorry it has not been done in template yet
- the README is inaccurate. The route to test is not looking as it is written there now, with no MySQL the service will not even operate correctly. I have followed the instructions of the readme to test - one failed.
- Given that you're hosting the project on Gerrit, .tavis.yaml is not needed
- There is no CI for the service AFAIK. RelEng should be able to help setting it up - this deserves a subtask.
-
(optional) It would still be interesting to try removing the dependency on WDQS. There's only one query and it doesn't seem impossible to replace with API request and some filtering. Captured here: T216750. - The article.creation.morelike - good article title test fails if there's no mysql, so the CI will probably fail too. I would suggest mocking MySQL for that test instead of depending on a real thing.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Stalled | None | T203041 Output 2.1: An improved task recommendation API | |||
Resolved | • bmansurov | T213222 Recommendation API improvements |
Event Timeline
Change 483211 had a related patch set uploaded (by Bmansurov; owner: Bmansurov):
[mediawiki/services/recommendation-api@master] Update to service-template-node v0.5.8
Change 483211 merged by Ppchelko:
[mediawiki/services/recommendation-api@master] Update to service-template-node v0.5.8
Change 483218 had a related patch set uploaded (by Bmansurov; owner: Bmansurov):
[mediawiki/services/recommendation-api@master] Remove unneded files and update README
Change 483218 merged by Ppchelko:
[mediawiki/services/recommendation-api@master] Remove unneded files and update README
Change 483225 had a related patch set uploaded (by Bmansurov; owner: Bmansurov):
[integration/config@master] Add npm job for recommendation-api service
Change 483287 had a related patch set uploaded (by Bmansurov; owner: Bmansurov):
[mediawiki/services/recommendation-api@master] Remove queires configuration optional
Change 483486 had a related patch set uploaded (by Bmansurov; owner: Bmansurov):
[mediawiki/services/recommendation-api@master] Mock MySQL in failing tests
Change 483287 merged by Ppchelko:
[mediawiki/services/recommendation-api@master] Remove queires configuration option
Change 483486 merged by Ppchelko:
[mediawiki/services/recommendation-api@master] Mock MySQL in failing tests
Change 483503 had a related patch set uploaded (by Bmansurov; owner: Bmansurov):
[mediawiki/services/recommendation-api@master] Add .eslintignore
Change 483503 merged by Ppchelko:
[mediawiki/services/recommendation-api@master] Add .eslintignore
@hashar can you pelase review https://gerrit.wikimedia.org/r/c/integration/config/+/483225
Change 483225 merged by jenkins-bot:
[integration/config@master] Add npm job for recommendation-api service