Skip to content
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

[C-4277] Prevent empty albums in feed #8444

Merged
merged 3 commits into from
May 17, 2024

Conversation

dylanjeffers
Copy link
Contributor

Description

Fixes issue where albums with no tracks and albums with all hidden/deleted tracks appear on the feed.

How Has This Been Tested?

Reintroduced and added new feed_es tests

Copy link

changeset-bot bot commented May 11, 2024

⚠️ No Changeset found

Latest commit: e50db62

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Member

@raymondjacobson raymondjacobson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

insane! nice work

@@ -241,6 +241,9 @@ services:
audius_elasticsearch_url: 'http://discovery-provider-elasticsearch:9200'
volumes:
- ${PROJECT_ROOT}/packages/discovery-provider:/audius-discovery-provider
- ${PROJECT_ROOT}/packages/es-indexer:/app/packages/discovery-provider/es-indexer
- ${PROJECT_ROOT}/node_modules:/app/node_modules
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow local modules work? sometimes they don't b/c of arch

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh interesting, yeah it worked in this case for running the tests

{"term": {"track_ids": False}},
{"script": {
"script": {
"source": "doc[''].size() > 0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool! TIL

@dylanjeffers dylanjeffers merged commit fdc248d into main May 17, 2024
10 of 12 checks passed
@dylanjeffers dylanjeffers deleted the dj-c-4277-prevent-albums-in-feed branch May 17, 2024 17:16
audius-infra pushed a commit that referenced this pull request May 20, 2024
[981954f] ddex yaml time (#8515) Steve Perkins
[692e5cb] [PROTO-1690] Elasticsearch cluster health check (#8548) Danny
[bebe484] mediorum: in memory image cache (#8544) Steve Perkins
[5a7f3e3] Tighter over-replication threshold (#8539) Steve Perkins
[fdc248d] [C-4277] Prevent empty albums in feed (#8444) Dylan Jeffers
[c7ec583] Local development fixes (lint, compose, deps) (#8486) Danny
[ba67563] Fix CRM log message (#8507) Raymond Jacobson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants