Skip to content

fix(contests): feature Audius-hosted and verified contests in the list - #1085

Merged
dylanjeffers merged 1 commit into
mainfrom
fix/contest-list-featured-hosts
Nov 13, 2026
Merged

dylanjeffers merged 1 commit into
mainfrom
fix/contest-list-featured-hosts

Conversation

@dylanjeffers

Copy link
Copy Markdown
Contributor

Michael noticed the new Audius contest (0 entries) sits at the bottom of the open contests on the Contests page, and expected verified or high-standing accounts to rank higher.

Cause

  • The list has a featured group (hosts the Audius account follows) that sorts ahead of everyone else, but the Audius account does not follow itself, so its own contests were never in it.
  • `featuredAudienceUserId` is not in the prod Pulumi config, so the group appears to be empty in prod and the list is ordered by entry count alone.

Change

  • A host is featured if it is verified, is the Audius account, or is followed by the Audius account.
  • `FeaturedAudienceUserID` defaults to the Audius account (51) in prod. The env var still overrides it.

Order within each group is unchanged: entries, then soonest ending.

Testing

New `TestRemixContestsFeaturesAudiusAndVerifiedHosts`; existing contest tests pass.

🤖 Generated with Claude Code

The featured sort group only held hosts the Audius account follows, so the
Audius account's own contests fell in with everyone else and sorted by
entries. featuredAudienceUserId was also never set in prod, so the group was
empty there. Count verified hosts and the Audius account itself, and default
the account id in prod.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@dylanjeffers
dylanjeffers merged commit d7ef75c into main Nov 13, 2026
2 checks passed
@dylanjeffers
dylanjeffers deleted the fix/contest-list-featured-hosts branch November 13, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant